var no = 5; var ns4up = (document.layers) ? 1 : 0; var ie4up = (document.all) ? 1 : 0; if (ns4up) { doc_width = self.innerWidth; if (self.outerHeight>self.innerHeight) doc_height = self.outerHeight; else doc_height = self.innerHeight; } else if (ie4up) { doc_width = document.body.clientWidth; if (document.body.scrollHeight>document.body.clientHeight) doc_height = document.body.scrollHeight; else doc_height = document.body.clientHeight; } if (ns4up) { document.write("清屏 极大 关闭"); } else if (ie4up) { document.write("
清屏 极大 关闭
"); } function movebar() { if ((self.innerWidth+self.pageXOffset-document.layers['bar0'].left)>170){document.layers['bar0'].left=document.layers['bar0'].left+10} else if ((self.innerWidth+self.pageXOffset-document.layers['bar0'].top)<150){document.layers['bar0'].left=document.layers['bar0'].left-10} else {document.layers['bar0'].left=self.innerWidth+self.pageXOffset-160} if ((document.layers['bar0'].top-self.pageYOffset)<0){document.layers['bar0'].top=document.layers['bar0'].top+10} else if ((document.layers['bar0'].top-self.pageYOffset)>20){document.layers['bar0'].top=document.layers['bar0'].top-10} else {document.layers['bar0'].top=self.pageYOffset+10} } function movebar() { if ((document.body.clientWidth+document.body.scrollLeft-document.all['bar0'].style.pixelLeft)>170){document.all['bar0'].style.pixelLeft=document.all['bar0'].style.pixelLeft+10} else if ((document.body.clientWidth+document.body.scrollLeft-document.all['bar0'].style.pixelLeft)<150){document.all['bar0'].style.pixelLeft=document.all['bar0'].style.pixelLeft-10} else {document.all['bar0'].style.pixelLeft=document.body.clientWidth+document.body.scrollLeft-160} if ((document.all["bar0"].style.pixelTop-document.body.scrollTop)<0){document.all["bar0"].style.pixelTop=document.all["bar0"].style.pixelTop+10} else if ((document.all["bar0"].style.pixelTop-document.body.scrollTop)>20){document.all["bar0"].style.pixelTop=document.all["bar0"].style.pixelTop-10} else {document.all["bar0"].style.pixelTop=document.body.scrollTop+10} }