var s100 = "s100"; var s200 = "s200"; if (!document.layers){ document.write('
');
if (!document.layers) document.write('<\/div>');
function setDivPos() {
var initX = document.body.scrollWidth/2-375;
var initY = 185;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
var layerPos;
function ml(id) {
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
if (d.layers) {
el.style=el;
}
el.sP=function(x,y) {
try{
this.style.left=x + 'px';
this.style.top=y + 'px';
}
catch(e){
this.style.left=x;
this.style.top=y;
}
};
el.x = initX;
el.y = initY;
return el;
}
window.remainInPosition=function() {
layerPos.x = document.body.scrollWidth/2-375;
var pY = ns ? pageYOffset : document.documentElement.scrollTop; //document.body.scrollTop
if(pY==0) pY=document.body.scrollTop;
layerPos.y += (pY + initY - layerPos.y)/5;
//alert(layerPos.x);
//document.title = "y="+pY;
layerPos.sP(layerPos.x, layerPos.y);
setTimeout("remainInPosition()", 60);
}
layerPos = ml("bonusGr");
remainInPosition();
}
setDivPos();