function writeScroll() {
document.write('
');
}
// resize automatique
window.onresize = reloadScroller;
// création du scroller
var myScroller = new Scroller(0, 0, 133, 110, 0, 4, "center");
myScroller.setColors("#000000", "none", "#D8D8D8");
// ajout des informations
myScroller.addItem('
Modification itinéraire ligne Jouques -Aix en Provence');
function startScroll() {
var InfoLayer;
var lx, ly;
// Locate placeholder layer so we can use it to position the scrollers.
InfoLayer = getLayer("bandeau");
lx = getAbsX(InfoLayer);
ly = getAbsY(InfoLayer);
if (isIE)
ly+=8;
// décalages MAC
if (isIE && isMac) {
lx += 10;
ly += 15;
} else if (isSF) {
lx += 8;
ly += 8;
}
// Create the first scroller and position it.
myScroller.create();
myScroller.hide();
myScroller.moveTo(lx, ly);
myScroller.setzIndex(100);
myScroller.show();
}
function reloadScroller() {
// Locate new placeholder layer so we can use it to position the scrollers.
var InfoLayer = getLayer("bandeau");
lx = getAbsX(InfoLayer);
ly = getAbsY(InfoLayer);
if (isIE)
ly+=8;
// décalages MAC
if (isIE && isMac) {
lx += 10;
ly += 15;
} else if (isSF) {
lx += 8;
ly += 8;
}
// Move the scroller
myScroller.moveTo(lx, ly);
}