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 koocall152134159 = new Float('http://www.54school.com/##.asp00', 0, 0, 'right'); koocall152134159.floating('koocall152134159');