// JavaScript Document function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i function pageScroll(posi) { dist = posi / 6; nPos = parseInt(posi - dist); scrollTo(0,nPos); if (nPos > 0) { setTimeout("pageScroll(nPos)",10); } } function CloseWin(){ window.close(); } var __scroll = {sp:6, fps:16, timer:0}; function setScrollSp(sp) { if(typeof sp == "number") { this.__scroll.sp = sp; } } function setScrollFps(fps) { if(typeof fps == "number") { this.__scroll.fps = fps; } } function scrollToTop() { pageScroll(0, 0); } function getScrollLeft() { if(navigator.userAgent.indexOf("MSIE") != -1) { return (document.compatMode=="CSS1Compat")?document.documentElement.scrollLeft:document.body.scrollLeft; } else { return (window.pageXOffset) ? window.pageXOffset : 0; } } function getScrollTop() { if(navigator.userAgent.indexOf("MSIE") != -1) { return (document.compatMode=="CSS1Compat")?document.documentElement.scrollTop:document.body.scrollTop; } else { return (window.pageYOffset) ? window.pageYOffset : 0; } } function pageScroll(toX, toY, cuX, cuY) { clearTimeout(this.__scroll.timer); toX = (!toX || toX < 0) ? 0 : toX; toY = (!toY || toY < 0) ? 0 : toY; cuX = (!cuX) ? 0 + getScrollLeft() : cuX; cuY = (!cuY) ? 0 + getScrollTop() : cuY; cuX += (toX - getScrollLeft()) / this.__scroll.sp; cuY += (toY - getScrollTop()) / this.__scroll.sp; if(cuX < 0) { cuX = 0; } if(cuY < 0) { cuY = 0; } window.scrollTo(Math.floor(cuX), Math.floor(cuY)); if(Math.floor(cuX) != toX || Math.floor(cuY) != toY) { this.__scroll.timer = setTimeout("pageScroll("+toX+","+toY+"," +cuX+","+cuY+")",this.__scroll.sp); } }