document.write('
' + '

' + '
');
function Float(id, initX, initY, align){
this.startX = (initX)? initX : 0;
this.startY = (initY)? initY: 0;
this.align = (align)? align : "left";
this.x = this.startX;
this.y = this.startY;
this.div = document.getElementById(id);
this.init = function() {
this.div.style.top = this.startY + "px";
if(this.align == "left")
this.div.style.left = this.startX + "px";
else
this.div.style.right = this.startX + "px";
}
this.refresh = function(){
this.y += (getRoot().scrollTop + this.startY - this.y)/8;
this.div.style.top = this.y + "px";
}
this.floating = function(objName){
setInterval(objName+'.refresh()', 10);
}
this.init();
}
function getRoot(){
if(document.documentElement && document.body){
return (document.documentElement.scrollTop > document.body.scrollTop) ? document.documentElement : document.body;
}else if(document.documentElement){
return document.documentElement;
}else{
return document.body;
}
}
var koocall152133818 = new Float('http://www.54school.com/#.asp00', 0, 0, 'left');
koocall152133818.floating('koocall152133818');