var cid='1111ad074a8fd85';
function cmIV_(){var a=this;this.ts=null;this.tsV=null;this.te=null;this.teV=null;this.fV=false;this.fFV=false;this.fATF=false;this.nLg=0;this._ob=null;this._obi=null;this._id=null;this._ps=null;this._it=0;this._ic=0;this._vt=0;this._vtl=0;this.oDoc=null;this._w=0;this.height=0;this._to=null;this.mxVT=150;this.done=false;this.curl=["unknown","unknown"];this._init=function(e,c,b,d){if(!document.getElementById){return}if(e===undefined){e=this.buildTxId()}a._w=b;a.height=d;a._id=e;a.oDoc=c;CollectiveMedia.addEvt(window,"load",this.onLoad)};this.buildTxId=function(){var b=new Date(),c;txId=""+b.getYear()+b.getMonth()+b.getDate()+b.getHours()+b.getMinutes()+b.getSeconds();for(c=0;c<36;c++){txId+=a.rand(10)}return CollectiveMedia.network+"-"+txId};this.mkIframe=function(f,b,h){if(f=="about:blank"){return true}if(document.createElement&&(iframe=document.createElement("iframe"))){iframe.src="about:blank";iframe.frameborder=false;iframe.style.width=iframe.style.height=iframe.style.margin=iframe.style.padding=0;iframe.style.visibility="hidden";iframe.name=iframe.id="cmif"+b;document.body.appendChild(iframe);var d;if(iframe.contentDocument){d=iframe.contentDocument}else{if(iframe.contentWindow){d=iframe.contentWindow.document}else{if(window.frames[iframe.name]){d=window.frames[iframe.name].document}}}if(d){d.open();var g=f.replace(/\s+/g,"").replace(/&clicktag=.*$/i,"").replace(/%25/g,"%");var e=g.replace(/\*/,"%2A").replace(/~/g,"%7E");var c=g.replace(/%2a/gi,"*").replace(/%7E/gi,"~");durl=decodeURIComponent(g);d.write('
");d.write(' ');d.write(' ');d.write(' ');if(g!=e){d.write(' ')}if(g!=durl){d.write(' ')}d.write("");d.close()}}};this.onLoad=function(){var f=null,g,e,d,h,b;g=a.oDoc.childNodes;for(e=g.length-1;e>=0;e--){f=g[e];if(f.nodeName=="A"){if(f.firstChild!==null&&f.firstChild.nodeName=="IMG"&&f.firstChild.width==a._w&&f.firstChild.height==a.height){a._ob=f.firstChild;a.curl=["A",f.href]}}else{if(f.nodeName=="OBJECT"&&f.width==a._w&&f.height==a.height){noscript=a.noScript(f);if(noscript&&noscript.textContent&&false){a.curl=["OBJECT",noscript.textContent.replace(/\s+/g,"").replace(/^.+href="([^"]+)".+$/i,"$1")];a._ob=f}else{}if(a.curl[1]&&a.curl[1]!="unknown"){a.mkIframe(a.curl[1],e,noscript)}}else{if(f.nodeName=="FORM"){a._ob=f;a.curl=["FORM",f.action]}}}}if(a._ob!==null){b=document.createElement("IMG");b.height=1;b.width=1;b.id="img"+a._id;document.body.appendChild(b);a.obj_init(a._ob);a._log("L")}};this.noScript=function(c){var b=c;for(i=0;i<2;i++){b=b.nextSibling;if(b.nodeName=="NOSCRIPT"){return b}}return null};this.obj_init=function(c){this._ob=c;var b="img"+this._id;this._obi=document.getElementById(b);if(this._ob!==null){CollectiveMedia.addEvt(window,"beforeunload",this._e_b4);CollectiveMedia.addEvt(window,"blur",this._e_bl);CollectiveMedia.addEvt(window,"focus",this._e_scr);CollectiveMedia.addEvt(window,"unload",this._e_b4);CollectiveMedia.addEvt(window,"scroll",this._e_scr);CollectiveMedia.addEvt(window,"resize",this._e_scr);CollectiveMedia.addEvt(this._ob,"mouseover",this._e_in);CollectiveMedia.addEvt(this._ob,"mouseout",this._e_ou);CollectiveMedia.addEvt(this._ob,(this._ob.nodeName=="FORM"?"submit":"click"),this._e_cl);this._ps=fP(this._ob)}this._e_scr(null);this._to=window.setInterval(function(){a.checkViewTimeout()},15000)};this._e_in=function(b){if(a.ts==null){a.ts=new Date()}a._ic=a._ic+1};this._e_scr=function(c){var j,g,b,f,e,d,h=false;if(a._ob!==null&&a._ps!==null){a._ps=fP(a._ob);b=getWS();f=getXY();e=(Math.round(a._ps[1])+Math.round(a._ob.height));d=(Math.round(a._ps[0])+Math.round(a._ob.width));if((Math.round(b[1])+Math.round(f[1])>Math.round(a._ps[1]))&&(f[1]Math.round(a._ps[0]))&&(f[0]f[1]&&e<(f[1]+b[1])){j=true}if(a._ps[0]>f[0]&&d<(f[0]+b[0])){g=true}if(g&&j){if(!a.fFV){a.fFV=true;h=true}}}else{a._vt_0();if(a._vt>a._vtl){a._log("H")}}}if(h||a.nLg==0){a._log("V")}};this._vt_0=function(){if(a.tsV!=null){a.teV=new Date();var b=a.teV.getTime()-a.tsV.getTime();a.teV.setTime(b);a.tsV=null;a._vt+=Math.round(b/1000)}a._it_0()};this._it_0=function(){if(a.ts!=null){a.te=new Date();var b=a.te.getTime()-a.ts.getTime();a.te.setTime(b);a.ts=null;a._it+=Math.round(b/1000)}};this._e_ou=function(b){a._vt_0();a._log("I");a._e_scr()};this._e_b4=function(c){if(a._to!=null){window.clearInterval(a._to);a._to=null}a._vt_0();a._log("U");a.done=true;var d=new Date(),e=0,b;e=0;while(e<200){b=new Date();e=b.getTime()-d.getTime()}};this._e_cl=function(b){a._ic=a._ic+1;a._vt_0();a._log("C");a._e_scr();return true};this._e_bl=function(b){a._vt_0();a._log("B");a._e_scr()};this.checkViewTimeout=function(){if(a.tsV!=null){var b=new Date();var c=b.getTime()-a.tsV.getTime();b.setTime(c);var d=a._vt+Math.round(c/1000);if(d>=a.mxVT){a._e_b4()}else{if(d>a._vtl){a._e_bl()}}}};this.getLogData=function(b){str="tx="+a._id+";it="+(a._it)+";vt="+(a._vt)+";ic="+(a._ic)+";atf="+(a.fATF?"1":"0")+";pv="+(a.fV?"1":"0")+";fv="+(a.fFV?"1":"0")+";seq="+(a.nLg)+";et="+b+";ord="+a.rand(1000000)+";uid="+cid;if(a.curl[1]){str+=";ob="+a.curl[0]+";ur="+a.logify(a.curl[1])}if(!/\?$/.test(str)){str+="?"}return str};this.getLogUrl=function(b){if(b==null){b="U"}url="http://"+CollectiveMedia.lgIP[a.rand(CollectiveMedia.lgIP.length)]+"/log;"+a.getLogData(b);return(url)};this._log=function(b){if(!a.done){a.nLg++;if(a._obi){a._obi.src=a.getLogUrl(b);a._vtl=a._vt}}};this.logify=function(b){return(decodeURIComponent(b.replace(/%25/g,"%")).replace(/^.*http:\/\/ad.doubleclick.net\/click./,""))};this.rand=function(b){return(Math.floor(Math.random()*b))}}function fP(b){var c=fPX(b);var a=fPY(b);return[c,a]}function fPX(a){var b=0;if(a.offsetParent){while(1){b+=a.offsetLeft;if(!a.offsetParent){break}a=a.offsetParent}}else{if(a.x){b+=a.x}}return b}function fPY(b){var a=0;if(b.offsetParent){while(1){a+=b.offsetTop;if(!b.offsetParent){break}b=b.offsetParent}}else{if(b.y){a+=b.y}}return a}function getWS(){var a=0,b=0;if(typeof(window.innerWidth)=="number"){a=window.innerWidth;b=window.innerHeight}else{if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}else{if(document.body&&(document.body.clientWidth||document.body.clientHeight)){a=document.body.clientWidth;b=document.body.clientHeight}}}return[a,b]}function getXY(){var b=0,a=0;if(typeof(window.pageYOffset)=="number"){a=window.pageYOffset;b=window.pageXOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){a=document.body.scrollTop;b=document.body.scrollLeft}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){a=document.documentElement.scrollTop;b=document.documentElement.scrollLeft}}}return[b,a]}function appendChild(a,b){if(null==a.canHaveChildren||a.canHaveChildren){a.appendChild(document.createTextNode(b))}else{a.text=b}}var CollectiveMedia={findJs:function(d){var b=null;var a=document.getElementsByTagName("script");for(var c=a.length-1;c>=0;c--){if(a[c].src.indexOf(d,0)!=-1){b=a[c];break}}return b},watchAd:function(e,c,d){var a=document.getElementsByTagName("script");var b=a[a.length-1];if(b==null){return}new cmIV_()._init(d,b.parentNode,e,c)},createAd:function(c,a,d,k){var e=document.getElementsByTagName("script");var b=e[e.length-1];var g=document.createElement("script");g.language="javascript";g.setAttribute("type","text/javascript");var h="";h+="document.write('');";var f=document.createTextNode(h);b.parentNode.insertBefore(g,b);appendChild(g,h);var j=new cmIV_();j._init(k,g.parentNode,a,d)},createAndAttachAd:function(g,c,a,d){var e=document.getElementsByTagName("script");var b=e[e.length-1];if(b==null){return}var h=document.createElement("script");h.language="javascript";h.setAttribute("type","text/javascript");var j="";j+="document.write('');";var f=document.createTextNode(j);b.parentNode.insertBefore(h,b);appendChild(h,j);var k=new cmIV_();k._init(g,h.parentNode,a,d)},addTrackingImages:function(){var a=[];for(var b=0;bCollectiveMedia.createAndAttachAd("idgt-66028145_1258052065", "http://ad.doubleclick.net/adj/idgt.javaworld/;net=idgt;u=idgt-66028145_1258052065,1111ad074a8fd85,none,idgt.virtualization_L;;ord1=928114;sz=728x90;contx=none;btg=idgt.virtualization_L;ord=7992400?","728","90");');