window.onerror = null;
window.defaultStatus ="";
// that sets the status bar to "" and disables error reporting.

function myScroll(){
setTimeout('MoveLayer("main",-1026);',0);
setTimeout('MoveLayer("main",-2034);',5000);
setTimeout('MoveLayer("main",-3045);',10000);
}


flag = true;

function MoveLayer(n,Xf){
if(document.images && flag == true){
flag = false;
if (document.layers){
Xs = parseInt(document.layers[n].left);
setTimeout("flag = true;",31*30);
for(I = 1; I <= 50; I++){
Xp = Xs+((Xf-Xs)*I/50); 
window.status = Xp;
setTimeout("document.layers."+n+".left = '"+Xp+"'", I*30);
}
}

else if (document.all){
Xs = parseInt(document.all[n].style.left);
setTimeout("flag = true;",31*30);
for(I = 1; I <= 60; I++){
Xp = Xs+((Xf-Xs)*I/60); 

setTimeout("document.all['"+n+"'].style.left = '"+Xp+"px'", I*30);

}
}

else if (document.getElementById &&! document.all){
Xs = parseInt(document.getElementById(n).style.left);
setTimeout("flag = true;",31*60);
for(I = 1; I <= 30; I++){
Xp = Xs+((Xf-Xs)*I/30); 

setTimeout("document.getElementById('"+n+"').style.left = '"+Xp+"px'", I*60);
}
}

flag 
}
}



// window.onload = new Function("if(document.images) myScroll();");