var WOXCntdiv;
WOXCntHide();
function WOXCntShow(e) {
if (WOXCntdiv == null ) {
WOXCntdiv = document.createElement('div');
WOXCntdiv.id = "week";
WOXCntdiv.innerHTML = '';
WOXCntdiv.style.color = '#000000';
WOXCntdiv.style.position = 'absolute';
WOXCntdiv.style.margin = '0px';
WOXCntdiv.style.padding = '1px';
if ( document.body.firstChild ) {
document.body.insertBefore(WOXCntdiv, document.body.firstChild);
} else {
document.body.appendChild(WOXCntdiv);
}
}
WOXCntdiv.style.display = '';
WOXCntdiv.style.zIndex = 10000;
var CntH=document.images.counter_image.height;
var X,Y,L,T,W,H;
if (document.all&&!window.opera) {
// IE
var csscompat=((document.compatMode||"").indexOf("CSS")!=-1);
var b=(csscompat?document.documentElement:document.body);
X = b.scrollLeft;
Y = b.scrollTop+15;
L = (e.clientX - e.offsetX - 2 + X);
T = (e.clientY - e.offsetY - 2 + Y);
W = b.clientWidth - 16;
H = b.clientHeight - 16;
} else {
// NN, Firefox ,Opera
X = window.pageXOffset;
Y = window.pageYOffset;
L = e.pageX;
T = e.pageY;
W = window.innerWidth - 16;
H = window.innerHeight - 16;
}
T += CntH;
if ( W > 0 && L + WOXCntdiv.width > X + W ) { L = X + W - WOXCntdiv.width };
if ( L < X ) L = X;
if ( H > 0 && T + WOXCntdiv.height > Y + H ) { T = Y + H - WOXCntdiv.height };
if ( T < Y ) T = Y;
WOXCntdiv.style.left = L + 'px';
WOXCntdiv.style.top = T + 'px';
}
function WOXCntHide(){
if (WOXCntdiv != null) {
WOXCntdiv.style.display = 'none';
}
}
document.writeln('');