var fromurl = window.location.href;document.writeln('
'); if(typeof(DivHid) == 'undefined'){ window.DivHid = function(id){ if(document.getElementById(id)) document.getElementById(id).style.display = 'none'; } } if(typeof(DivFloat) == 'undefined'){ window.DivFloat = { interval: 0, divs: {}, dom: (document.compatMode == 'CSS1Compat' ? document.documentElement : document.body), render : function(){ for(var id in DivFloat.divs){ var div = document.getElementById(id); if(div.style.display == 'none') continue; var top = (DivFloat.divs[id] == undefined)? -1 : DivFloat.divs[id] y = top; if(top == -2){ y = Math.floor((DivFloat.dom.clientHeight-div.offsetHeight)/2); }else if(top < 0){ y = DivFloat.dom.clientHeight-div.offsetHeight; } div.style.top = DivFloat.dom.scrollTop + y +50 + 'px'; } }, add: function(id, top){ DivFloat.divs[id] = top; return this; }, remove:function(id){ delete DivFloat.divs[id]; }, startFloat:function(){ DivFloat.interval = setInterval(DivFloat.render, 10); return this; }, stopFloat:function(){ clearInterval(DivFloat.interval); return this; } }; DivFloat.startFloat(); DivFloat.add('float_div_1237874225864_679507137', 0); }else{ DivFloat.add('float_div_1237874225864_679507137', 0); }