////////////////////////////////////////////////////// // Interpolls Banner Unit // Size: 160x600 // Type: in-page // Base: 1.2 // Category: Telecommunications // // Copyright (c) 2008 Interpolls All rights reserved. // var rndStr = Math.random()*1000000000000000000+""; cmp_id = "tmobile/coverage/160"; _ipGObj = window.ipollGObj; adPanelId=_ipGObj[cmp_id]; adUID=adPanelId.queue.pop(); adObj113360z857=adPanelId[adUID]; adObj113360z857.adObj113360z857Str="window.ipollGObj['"+cmp_id+"']."+adUID; if(parseInt(adObj113360z857.c) == "NaN") { adObj113360z857.c = 15; }else{ adObj113360z857.c=parseInt(adObj113360z857.c); } adObj113360z857.inited=false; adObj113360z857.envDivName = "envIpoll"+adUID; adObj113360z857.expDivName = "expIpoll"+adUID; adObj113360z857.preDivName = "preIpoll"+adUID; adObj113360z857.shmDivName = "shmIpoll"+adUID; adObj113360z857.bseDivName = "bseIpoll"+adUID; adObj113360z857.scrId = "ipollUnit_"+adUID; adObj113360z857.clipParamsO = ["0px","0px","0px","0px"]; adObj113360z857.clipParamsC = ["0px","0px","0px","0px"]; // [width, height] or [top, left] adObj113360z857.envSize = [160, 600]; adObj113360z857.envPositions = [0, 0]; adObj113360z857.expSize = [0, 0]; adObj113360z857.expPositions = [0, 0]; adObj113360z857.preSize = [0, 0]; adObj113360z857.prePositions = [0, 0]; adObj113360z857.shmSize = [0, 0]; adObj113360z857.shmPositions = [0, 0]; adObj113360z857.bseSize = [160, 600]; adObj113360z857.bsePositions = [0, 0]; if (!_ipGObj.browser.is_ie) { adObj113360z857.doOnResize_prev = window.onresize; window.onresize = function () { if (typeof(adObj113360z857.doOnResize_prev) == "function") { try { adObj113360z857.doOnResize_prev(); } catch (e) {} } _ipGObj.util.doAttach(adObj113360z857.envDivName, adObj113360z857.expDivName, adObj113360z857); return;} } adObj113360z857.init = function () { if (this.inited) return; var target=_ipGObj.util.getObj(adObj113360z857.scrId); if (target) { if (!_ipGObj.browser.is_ie) { var rng=document.createRange(); rng.selectNode(document.body); document.body.appendChild(rng.createContextualFragment(adObj113360z857.expDiv)); _ipGObj.util.doAttach(this.envDivName, this.expDivName, this); } if (_ipGObj.browser.is_valid) { var pObj = _ipGObj.util.getObj(this.preDivName); if (pObj) { pObj.innerHTML = preStr; } } var eObj = _ipGObj.util.getObj(this.expDivName); if (eObj) { eObj.innerHTML = this.expStr; } if (this.onReadyStateTimer) clearInterval(this.onReadyStateTimer); this.inited = true; } } adObj113360z857.initTimer = function() { this.onReadyStateTimer = setInterval(this.adObj113360z857Str+".init()",100); } adObj113360z857.expTimer=null; adObj113360z857.expStatus=0; adObj113360z857.expStatus_opened=0; adObj113360z857.oExpDiv = function () { this.expStatus=1; } adObj113360z857.oExpDiv_cond = function () { if(this.expStatus_opened) { this.expStatus=1; } } adObj113360z857.cExpDiv = function () { this.expStatus=0; } adObj113360z857.cExpDiv_forc = function () { this._clExpDiv(); this.expStatus=0; this.expStatus_opened = 0; } adObj113360z857._opExpDiv = function () { if (this.expStatus_opened) return; if (!_ipGObj.browser.is_ie) _ipGObj.util.doAttach(this.envDivName, this.expDivName, this); _ipGObj.util.getZeroZObj(this.envDivName); var tObj=_ipGObj.util.getObj(this.expDivName); if (tObj) { if (_ipGObj.browser.is_ie) { var sObj=_ipGObj.util.getObj(this.shmDivName); sObj.style.clip = "rect("+this.clipParamsO[0]+" "+this.clipParamsO[1]+" "+this.clipParamsO[2]+" "+this.clipParamsO[3]+")"; } tObj.style.clip = "rect("+this.clipParamsO[0]+" "+this.clipParamsO[1]+" "+this.clipParamsO[2]+" "+this.clipParamsO[3]+")"; } // _ipGObj.util.swImpTrk(adObj113360z857, 56238, this.c, PANEL_NUMBER, PANEL_NUMBER_FIRST); // _ipGObj.util.evtTrk(adObj113360z857, 56238, this.c, PANEL_NUMBER, EVENT_ID, EVENT_ID_FIRST); } adObj113360z857._clExpDiv = function (inVar) { if (!this.expStatus_opened) return; _ipGObj.util.setZeroZObj(); var tObj=_ipGObj.util.getObj(this.expDivName); if (tObj) { tObj.style.clip = "rect("+this.clipParamsC[0]+" "+this.clipParamsC[1]+" "+this.clipParamsC[2]+" "+this.clipParamsC[3]+")"; if (_ipGObj.browser.is_ie) { var sObj=_ipGObj.util.getObj(this.shmDivName); sObj.style.clip = "rect("+this.clipParamsC[0]+" "+this.clipParamsC[1]+" "+this.clipParamsC[2]+" "+this.clipParamsC[3]+")"; } } // _ipGObj.util.swImpTrk(adObj113360z857, 56238, this.c, PANEL_NUMBER, PANEL_NUMBER_FIRST); // _ipGObj.util.evtTrk(adObj113360z857, 56238, this.c, PANEL_NUMBER, EVENT_ID, EVENT_ID_FIRST); } adObj113360z857.checkExp = function () { if (this.expStatus) { this._opExpDiv(); this.expStatus_opened=1; } else { this._clExpDiv(); this.expStatus_opened=0; } } adObj113360z857.expTimer= function () { setInterval( this.adObj113360z857Str+".checkExp()", 50 ); } adObj113360z857.expTimer(); adObj113360z857.UR = function ( inVar ) { this.cv = inVar; return; } function ipoll_fexp113360z857() { adObj113360z857.oExpDiv(); return; } function ipoll_fcol113360z857() { // setTimeout("adObj113360z857.cExpDiv();",1000); adObj113360z857.cExpDiv(); return; } // Base Ad Unit Layout adObj113360z857.target=adObj113360z857.link2+adObj113360z857.preTarget+"http://sw.interpolls.com/cache/tmobile/coverage/poster_o.poll?a=56238&p=113360&c="+adObj113360z857.c+"&b="+escape(adObj113360z857.bumper)+"&u="; adObj113360z857.postF = function () { if (typeof(this.cv)=="undefined") { this.cv=0; } randvar=window.open(this.target+this.cv,"","width=600,height=530,toolbars=0,scrollbars=0,location=0,statusbars=0,menubars=0,resizable=0,top=100,left=100"); randvar.focus(); return; } var defaultSty="margin:0px!important;padding:0px!important;background:none!important;border:0px!important; border-collapse:collapse!important; border-spacing:0px!important; list-style:none!important; background:none!important;"; var onepxSty="line-height:1px!important; vertical-align: middle;"+defaultSty; var ipollStyRadio="text-align:right!important; border:none!important; margin:0; margin-right:3px!important; padding:0!important;"; var imgSty="display:block!important;vertical-align:baseline!important;"+defaultSty; var qSty="font-family:arial,helvetica,sans-serif; font-weight:bold; font-size:12px; line-height:14px; color:#000000;"; var cSty="font-family:arial,helvetica,sans-serif; font-weight:normal; font-size:12px; line-height:14px; color:#000000;"; adObj113360z857.targeturl="http://www.sticktogether.com/coverage"; /************************************* Tracking *****************************************/ var configArr = ["50","51","52","53","54","55","56","57","58","77"]; // Config Set Array var trkEsArr = ["Orbitz.com/B2921780.40","IAC/B2921780.57","IAC/B2921780.71","Gawker/B2921780.100","Gawker/B2921780.94","iVillage.com/B2921780.101","Orbitz.com/B2921780.34","sports_illustrated/B2921780.59","Technorati/B2921780.47","Gawker/B2921780.70"]; // Impression string Array var trkTrgArr = ["27390693;c?","27393936;f?","27393958;j?","27392994;i?","27392969;k?","27449971;g?","27390685;d?","27502513;o?","27391901;v?","27392909;e?"]; // Target Url if(adObj113360z857.c){ for (var i = 0; i < configArr.length; i++){ if (configArr[i] == adObj113360z857.c){ var trkEsId = trkEsArr[i]; var trkTrgId = trkTrgArr[i]; adObj113360z857.es2="http://ad.doubleclick.net/ad/N3671."+trkEsId+";sz=1x1;ord="+rndStr; adObj113360z857.targeturl="http://ad.doubleclick.net/clk;204072108;"+trkTrgId+"http://www.sticktogether.com/coverage"; } } } if (typeof(adObj113360z857.es2) == "undefined") adObj113360z857.es2 = ""; if (adObj113360z857.es2 != "" && adObj113360z857.es2.toLowerCase().substring(0,7) == "http://") { adObj113360z857.es2 = ""; } else { adObj113360z857.es2 = ""; } if (typeof(adObj113360z857.es) == "undefined") adObj113360z857.es = ""; if (adObj113360z857.es != "" && adObj113360z857.es.toLowerCase().substring(0,7) == "http://") { adObj113360z857.es = ""; } else { adObj113360z857.es = ""; } // Escape function for Evite adObj113360z857.assignTarget = function() { if ((this.c == 52) && (this.link2.length>15)) { if (this.link_g.length > 15) { this.targeturl = this.link2+this.link_g+escape(this.targeturl); } else { this.targeturl = this.link2+this.link_y+escape(this.targeturl); } } else { if (this.link_g.length > 15) { this.targeturl = this.link2+this.link_g+escape(this.targeturl); } else { this.targeturl = this.link2+this.link_y+this.targeturl; } } } adObj113360z857.assignTarget(); //Flash declare try { ipollDocDomain=document.location.host; } catch (e) { } if (ipollDocDomain.length > 6) { ipollDocDomain="&inD="+ipollDocDomain; } else { ipollDocDomain = ""; } adObj113360z857.bgPath = "3/7/xjd.gif"; adObj113360z857.flashPath = "1/c/xn9.swf"; adObj113360z857.replPath = "f/6/xjf.jpg"; adObj113360z857.flashSource=_ipGObj.util.crUrl+adObj113360z857.flashPath+"?inA=56238&inC="+adObj113360z857.c+"&inP=1"+ipollDocDomain+"&inU=113360z857"; adObj113360z857.flashTBase=_ipGObj.util.swDom+"redir.poll?c="+adObj113360z857.c+"&p=113360&i="; adObj113360z857.flashTarget="ipollTarget1="+escape(adObj113360z857.flashTBase+"43465&t="+escape(adObj113360z857.bumper+adObj113360z857.targeturl)); adObj113360z857.expDiv="
"; adObj113360z857.expStr=""; adObj113360z857.preDiv="
"; adObj113360z857.preStr=""; adObj113360z857.outStr="
"; adObj113360z857.outStr+=""; if (_ipGObj.browser.is_ie) { adObj113360z857.outStr+=adObj113360z857.expDiv; adObj113360z857.outStr+="
"; } adObj113360z857.outStr+="
"; adObj113360z857.outStr+="
"; if (_ipGObj.browser.is_valid) { adObj113360z857.outStr+=""; } else { adObj113360z857.outStr+=""; } //QUESTION & CHOICE TABLE (STRAIGHT) adObj113360z857.outStr+=""; adObj113360z857.outStr+="
"; adObj113360z857.outStr+=""; adObj113360z857.outStr+="
What do you consider most when signing up for a new cell phone service?
"; adObj113360z857.outStr+=""; var as113360z857 = new Array(); as113360z857[0] = "Coverage"; as113360z857[1] = "Cost"; as113360z857[2] = "Quality of service"; var idx = 0; for (var ac=0;ac"; as113360z857[idx] = "ztk"; } } adObj113360z857.outStr+=""; adObj113360z857.outStr+="
"+as113360z857[idx]+"
"; adObj113360z857.outStr+="
"; _ipGObj.util.displayUnit(adObj113360z857); adObj113360z857.initTimer();