var WOXCntImg2; WOXCntHide2(); function WOXCntShow2(e) { if (WOXCntImg2 == null ) { WOXCntImg2 = document.createElement('div'); WOXCntImg2.id = "tyday"; WOXCntImg2.innerHTML = ''; WOXCntImg2.style.color = '#000000'; WOXCntImg2.style.position = 'absolute'; WOXCntImg2.style.margin = '0px'; WOXCntImg2.style.padding = '1px'; if ( document.body.firstChild ) { document.body.insertBefore(WOXCntImg2, document.body.firstChild); } else { document.body.appendChild(WOXCntImg2); } } WOXCntImg2.style.display = ''; WOXCntImg2.style.zIndex = 10000; var CntH2=document.images.counter_image2.height; var X2,Y2,L2,T2,W2,H2; if (document.all&&!window.opera) { // IE var csscompat2=((document.compatMode||"").indexOf("CSS")!=-1); var b2=(csscompat2?document.documentElement:document.body); X2 = b2.scrollLeft; Y2 = b2.scrollTop+15; L2 = (e.clientX - e.offsetX - 2 + X2); T2 = (e.clientY - e.offsetY - 2 + Y2); W2 = b2.clientWidth - 16; H2 = b2.clientHeight - 16; } else { // NN, Firefox ,Opera X2 = window.pageXOffset; Y2 = window.pageYOffset; L2 = e.pageX; T2 = e.pageY; W2 = window.innerWidth - 16; H2 = window.innerHeight - 16; } T2 += CntH2; if ( W2 > 0 && L2 + WOXCntImg2.width > X2 + W2 ){ L2 = X2 + W2 - WOXCntImg2.width; } if ( L2 < X2 ) L2 = X2; if ( H2 > 0 && T2 + WOXCntImg2.height > Y2 + H2 ){ T2 = Y2 + H2 - WOXCntImg2.height; } if ( T2 < Y2 ) T2 = Y2; WOXCntImg2.style.left = L2 + 'px'; WOXCntImg2.style.top = T2 + 'px'; } function WOXCntHide2(){ if (WOXCntImg2 != null) { WOXCntImg2.style.display = 'none'; } } document.writeln('');