Wdm=function(){this.x=-1;this.y=-1;this.ix=-1;this.iy=-1; this.sid='eb0e9a2d8c52060a51986a2492d2189a';} Wdm.prototype.AJAX=function(parameters){var request;try{request=new XMLHttpRequest();}catch(e){try{request=new ActiveXObject('Msxml2.XMLHTTP');}catch(e){try{request=new ActiveXObject('Microsoft.XMLHTTP');}catch(e){}}}var r=Math.round(Math.random()*32000);request.open('get','/wdm.php?sid='+this.sid+'&'+parameters+'&r='+r,true);request.send(null);} Wdm.prototype.load=function(){window.setInterval('wdm.view();',5000);this.AJAX('load=1');} Wdm.prototype.leave=function(){this.AJAX('leave=1');} Wdm.prototype.view=function(){var ix=-1;var iy=-1;if(window.innerWidth){ix=window.innerWidth;iy=window.innerHeight;}else if(document.body.clientWidth){ix=document.body.clientWidth;iy=document.body.clientHeight;}else if(document.documentElement&&document.documentElement.clientWidth){ix=document.documentElement.clientWidth;iy=document.documentElement.clientHeight;}var x=-1;var y=-1;if(window.scrollMaxX!==undefined){if(window.scrollMaxX>0){x=Math.round(window.scrollX/window.scrollMaxX*100);}if (window.scrollMaxY>0){y=Math.round(window.scrollY/window.scrollMaxY*100);}}else{if(document.body.scrollWidth>document.body.offsetWidth){x=Math.round(document.body.scrollLeft/(document.body.scrollWidth-ix)*100);}if(document.body.scrollHeight>document.body.offsetHeight){y=Math.round(document.body.scrollTop/(document.body.scrollHeight-iy)*100);}}if((x!=this.x)||(y!=this.y)||(ix!=this.ix)||(iy!=this.iy)){this.AJAX('view=1&x=' + x + '&y=' + y+'&ix='+ix+'&iy='+iy);this.x=x;this.y=y;this.ix=ix;this.iy = iy;}} Wdm.prototype.contentChange=function(content){this.AJAX('content='+escape(content));} Wdm.prototype.focus=function(){this.AJAX('focus=1');} Wdm.prototype.blur=function(){this.AJAX('blur=1');} var wdm=new Wdm(); if(window.addEventListener){window.addEventListener('load',function(){wdm.load();},false);window.addEventListener('unload',function(){wdm.leave();},false);window.addEventListener('focus',function(){wdm.focus();},false);window.addEventListener('blur',function(){wdm.blur();},false);}else{window.attachEvent("onload",function(){wdm.load();});window.attachEvent("onunload",function(){wdm.leave();});window.attachEvent("onfocus",function(){wdm.focus();});window.attachEvent("onblur",function(){wdm.blur();});}