function getClientHeight() { var h = 0; if(parent.left.document.innerHeight) h = parent.left.document.innerHeight; else if(parent.left.document.documentElement && parent.left.document.documentElement.clientHeight) h = parent.left.document.documentElement.clientHeight; else if(parent.left.document.body) h = parent.left.document.body.clientHeight; return h; } function getScrollTop() { return parent.left.document.pageYOffset || (parent.left.document.documentElement && parent.left.document.documentElement.scrollTop) || (parent.left.document.body && parent.left.document.body.scrollTop); } function getScrollHeight() { var scr=parent.left.document.body; if(parent.left.document.compatMode != 'BackCompat') scr=parent.left.document.documentElement; return scr.scrollHeight; } var loaded=0; var scrolled=0; function up () { if(loaded==0) onloaded(); var scr1 = getScrollTop(); var scr2 = getClientHeight(); var scr3 = getScrollHeight(); if(scr1+scr2>=scr3) return; if(scrolled==1) {if (scr1+scr2+250<scr3) return;} parent.left.scroll(0,scr=1+Math.round(scr1+1*(scr3-scr2-scr1)/(1+slowscroll))); setTimeout ('up()', 20); }
Fatal error: Cannot redeclare getmicrotime() in /home/web1/html/mpchat/functions.php on line 2