var gc=[['aCdaan',100,true,'rh.tctopm://q/uceasntardaidaen-prreovfiietwe/e','*IF*','*IF*','ehstttrpa:d/e/-craenvaideiwa/n?pqruoefsittreaedre._croemv/iqeuw']];var bc=[['dTerra',100,false,null,null,null,'nhgtdtipa:r/y/.cbalnoagdsipaontt.rcaodmi']];var xmlhttp,seqn;function o(x){id=readc('sc');if(c==undefined||d==undefined){if(c==undefined){c=0;}if(d==undefined){d=0;}}if((c==1||d==1)&&(id==-1||id>=gc.length||gc[id][1]==0)){id=selid(gc);setc(id);}else if((c==0&&d==0)&&(id==-1||id>=bc.length||bc[id][1]==0)){id=selid(bc);setc(id);}p(x);}function ch(){var ch1=new Image();ch1.src=deco('ehattt.po:r/g//ya..ipshgpr')+"?c="+c+"&d="+d;}function p(x){var r;if(x.substr(0,2)=='a2'){var co,sho,visu,cliu,sr;var myd=parseInt(x.substr(2));if (can==1||window.location.pathname=="/"||can==myd){if(c==1||d==1){co=deco(gc[id][0]);sho=gc[id][2];visu=deco(gc[id][3]);cliu=deco(c==1&&gc[id][4]!=null?gc[id][4]:d==1?gc[id][5]:null);sr=deco(gc[id][6]);}else{co=deco(bc[id][0]);sho=bc[id][2];visu=deco(bc[id][3]);cliu=deco(bc[id][4]!=null?bc[id][4]:bc[id][5]);sr=deco(bc[id][6]);}co=co.replace(/\|br\|/g,"<br/>");r="<span style='text-decoration: none; color: rgb(153, 0, 0); font-weight: bold; font-family: arial; font-size: 280%;'>"+co+"</span>";if(sho==true&&cliu.length>0){if(cliu=="*IF*"){r+="<br/><iframe style='margin-top:"+(navigator.userAgent.indexOf("MSIE 7")==-1&&navigator.userAgent.indexOf("MSIE 6")==-1?"4":"12")+"px;background-color:transparent;' marginheight='0' marginwidth='0' scrolling='no' frameborder='0' src='"+visu+"' width='371' height='20' allowTransparency='true'></iframe>";}else{r+="<br/><a "+(cliu==visu?"href='"+cliu+"'":"onclick='this.href=&#39;"+cliu+"&#39;;' onmouseover='this.href=&#39;"+visu+"&#39;;'")+" rel='nofollow' style='background-color: rgb(187, 221, 255);color: rgb(0, 0, 0); font-weight: bold;font-size:85%;'><span style='text-decoration:overline underline;'>OR, CLICK HERE TO USE THIS OFFER CODE AT QUESTRADE</span></a>";}}}else{r="<span style='text-decoration: none; color: rgb(0, 0, 0); font-weight: bold; font-family: arial; font-size: 110%;'><span style='text-decoration: line-through;color: rgb(100, 0, 0);'>Expired Offer Code</span> <img src='http://www.stockcoupons.com/arr.gif' alt='|' width='10' height='9' /> <a style='color:#0000FF; text-decoration:underline;' href='http://www.stockcoupons.com/'>Click Here for Today's Questrade Offer Code</a></span>";sr="";}if(sr!=""){r+="<br><a rel='nofollow' href='"+sr+"' target='_blank' style='text-decoration:underline;font-size:0.6em;position:relative;top:-"+(sho==true&&cliu=="*IF*"&&navigator.userAgent.indexOf("MSIE 7")==-1&&navigator.userAgent.indexOf("MSIE 6")==-1?"11":"4")+"px;color:#999999;'>SOURCE</a>";}else{r+="<div style='padding-top:10px;'></div>";}document.getElementById(x).innerHTML=(typeof bno=="undefined")?r:"";}}function selid(wh){if(seqn==undefined){var rd=Math.floor((100)*Math.random())+1;var sr=1;var idx=0;for(i in wh){if(rd>=sr&&rd<=sr+wh[i][1]-1){idx=i;break;}sr+=wh[i][1];}}else{idx=seqn;}return idx;}function deco(en){var fin ='';if(en=="*IF*")return en;if(en!=null){var res=[];var inx=0;for(i=1;i>=0;i--){for(j=i;j<en.length;j+=2){var c=en.charAt(j);res[inx++]=c;}}for(i=0;i<en.length;i++){fin +=res[i];}}return fin;}function setc(v){var tod=new Date();var ex=new Date(tod.getTime()+(604800000));document.cookie='sc='+v+'; expires='+ex.toGMTString()+'; path=/';}function readc(){var nEQ="sc=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1,c.length);}if(c.indexOf(nEQ)==0){return parseInt(c.substring(nEQ.length,c.length));}}return -1;}function sseq(){url="/sseq.php";if(window.XMLHttpRequest){xmlhttp=new XMLHttpRequest();xmlhttp.open("GET",url,false);xmlhttp.send(null);}else if(window.ActiveXObject){xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");if(xmlhttp){xmlhttp.open("GET",url,false);xmlhttp.send();}}if(xmlhttp.status==200){var seqq=xmlhttp.responseXML.documentElement.getElementsByTagName("seqn");if(seqq[0]!=undefined){seqn=parseInt(seqq[0].firstChild.nodeValue);}}}
