/*PointRoll©2009 v16*/var priw,prih,prz=0,przo=0,prsw=0,prrv=0,prpi=0,prtg=0,prta=1,prpc='',prpf,prcw,prad=0,prca=0,prff=0,prmh=0,prup=0,proto,proto2,prbf=0,proo=0,prgo=1,prpot=0;function prHide(v,h,ff){var i,j,t,u,e,d=document,ta=new Array();if((ff==1)||(h.indexOf('a')>=0)){if(h.indexOf('s')>=0){ta[ta.length]='SELECT'}if(h.indexOf('t')>=0){ta[ta.length]='INPUT'}if(h.indexOf('i')>=0){ta[ta.length]='IFRAME'}if(h.indexOf('o')>=0){ta[ta.length]='OBJECT'}if(h.indexOf('e')>=0){ta[ta.length]='EMBED'}for(i=0;i0){clearTimeout(prto)}prto=setTimeout('prTease()',Math.abs(prtd))}else{setTimeout('prBegin()',100)}}function prTease(){if(prta==1){prtg=2;prPanel(0,prtz,prbg,prbs,prbo,prtit,prtc,priw,prih,1,1,praa,prpid,prpo,prao,prcs);prtg=1;if(prtd<0){prmh=praa}if(prtt>0){setTimeout('prEnd()',prtt)}else{setTimeout('prtg=0;prta=1;prtz=0;prmh=0;',2000)}}}function prEnd(){if(prtg>0){prad=0;if(proo==0){prNoDisp(1)}prtg=0;prta=1;prtz=0;}}function prInit(z,bg,bs,bo,t,c,w,h,i,a,po,ao,td,tt,s,cs){if(typeof(prpsi)!='undefined'){clearInterval(prpsi)}if(prta==1){prup=0}if(prxx.indexOf(z)<0){prxx+=(z+',');if(s!=''){prCache(s)}}if((td!=0)&&(prtz==0)){prtz=z;prbg=bg;prbs=bs;prbo=bo;prtit=t;prtc=c;priw=w;prih=h;prpid=i;praa=a;prpo=po;prao=ao;prtd=td;prtt=tt;prcs=cs;prBegin()}else if(td<0){prBUp(z,'visible')}} function prPanel(r,z,bg,bs,bo,ti,txt,iw,ih,np,pp,adid,pid,pop,aop,cs,ce,mw,mh){if((prgo==1)&&(prmh!=adid)){prad=1;if((prup!=pid)||(prz!=z)){var n=aop.length,d=parseInt(aop.substr(n-1,1)),o=aop.substr(n-2,1),e='1',q='pi',u=0;if(n>2){e=aop.substr(0,1)}priw=parseInt(iw);prih=parseInt(ih);prz=przo;if(prup!=0){if(prz==z){q='pr';u=prup;if((u<0)&&(prmh<0)){pid=-pid}prNoDisp(0)}else{prNoDisp(1)}}if(prids.indexOf(',')>=0){var ids=prids.split(',');for(var i=0;i0){if((o==0)&&(prbf==0)){proo=o;clearTimeout(proto);proto=setTimeout("prRoll()",250)}else{prbf=1;proo=1;clearTimeout(proto2);proto2=setTimeout("prbf=0;proo="+o.toString(),150)}prad=0}else{proo=o;if(o==0){clearTimeout(proto);proto=setTimeout("prRoll()",250)}}}function prBUp(z,v){var f=document.getElementById('prflsh'+z);if(typeof(f)!='undefined'){f.style.visibility=v}}function prBOut(e){prad=0;clearTimeout(proto);proto=setTimeout("prRoll()",250)}function prBOver(z){if(prz!=z){clearTimeout(proto);prRoll()}prad=1;prz=z}function prBExit(e){prad=0;clearTimeout(proto);proto=setTimeout("prRoll()",250)}function prNoDisp(t,o){if((prsw==1)||(o)){var z=prz;if(typeof(prpsi)!='undefined'){clearInterval(prpsi)}var v,m=document,p=m.getElementById('prf'+z),y=p.style;prsw=0;prmh=0;prBUp(z,'visible');y.visibility='hidden';eval("if(typeof(prHide)=='function'){prHide('visible',prhd"+z+",prff)}");p.innerHTML='';p.style.clip='';if(t>0){prz=z;pr_trk('pu',prup,0)}prtg=0;prup=0;if(prpc=='2'){prClBtn(0)}}} function prDo(r,z,bg,bs,bo,ti,txt,np,pp,pe,d,o,e,cs,mw,mh){var s;if(bg=='$NONE$'){bg='';prff=1}else{bg=' BGCOLOR='+bg;prff=0}s='
';if((bg!='')||(bs>0)){s=s+'
'+txt+'
'}else{s=s+txt}s=s+'
';var i,fw,fh,m=document,v=m.getElementById('prf'+z);eval("if(typeof(przz"+z+")=='number'){v.style.zIndex=przz"+z+"}");eval("if(typeof(prHide)=='function'){prHide('hidden',prhd"+z+",prff)}");v.innerHTML=s;i=m.getElementById('prinner'+z);v.style.left='-400px';v.style.top='-400px';fw=i.offsetWidth;fh=i.offsetHeight;if(fw==0)fw=i.offsetWidth;if(v.style.clip!=''){v.style.clip='rect(0,'+fw+','+fh+',0)'}ppos='prPos('+r+',"'+z+'",'+np+','+pp+',"'+pe+'",'+fw+','+fh+','+d+','+o+','+e+','+cs+');';prPos(r,z,np,pp,pe,fw,fh,d,o,e,cs);prsw=1;} function prPos(r,z,np,pp,pe,fw,fh,d,o,e,cs){var m=document,opl=0,opt=0,bb=false,op='a',fb=0,a=m.getElementById('pradi'+z);try{if(a.offsetParent.id=='prtrans'){fb=1}while(!bb){op=op+'.offsetParent';bb=eval(op+".tagName=='BODY'");if((fb==0)||(!bb)){eval('opl+='+op+'.offsetLeft');eval('opt+='+op+'.offsetTop');}}}catch(e){}var p=m.getElementById('prf'+z).style,oL=a.offsetLeft+opl,oT=a.offsetTop+opt,iw=priw,ih=prih;var dh,dw,cT,cL,s1,s2,sA,sB,q,t,t1,t2,ti,tp,w1=0,w2=0,wb,hb,aL=oL,aT=oT,jst=0,z=0,k=0,sx='no',fx=prpf.charAt(0),fy;dh=window.innerHeight;hb=dh-17;dw=window.innerWidth;wb=dw-17;cT=m.body.scrollTop;cL=m.body.scrollLeft;if(d<4){s1=aT-cT;s2=dh-s1-ih;sA=aL-cL;sB=dw-sA-iw;q=ih}else{s1=aL-cL;s2=dw-s1-iw;sA=aT-cT;sB=dh-sA-ih;q=iw}if(o=='1'){if(d<4){aT=aT+ih;q=(-ih)}else{aL=aL+iw;q=(-iw)}}else{if(fw<=iw){wb=dw}if(fh<=ih){hb=dh}}if(d<4){t=aL;ti=iw;tp=fw}else{t=aT;ti=ih;tp=fh}if(typeof(cs)!='undefined'){t1=t+cs;}else{t1=t+((ti/np)*(pp-1))}if(e=='4'){t=t1}else{t2=t+ti;if(tp>ti){jst=((e=='3')?((sA>sB)?2:1):(parseInt(e)))}else if((t1+tp)>t2){jst=2}if(jst==0){t=t1}else if(jst==2){t=t2-tp}}if(d<4){aL=t;k=5;if(((d==1)&&(s1>s2))||(d==3)){aT=aT-fh+q;z=1;k=4}}else{aT=t;k=6;if(((d==4)&&(s1>s2))||(d==6)){aL=aL-fw+q;z=1;k=7}}if((prpf!='')&&(fx!=' ')){fy=prpf.charAt(1);var xx=(((wb/5)*(parseInt(fx)-1))+((wb/5)/2))-(fw/2)+cL;var yy=(((dh/5)*(parseInt(fy)-1))+((dh/5)/2))-(fh/2)+cT;if((fx==1)||(fx==5)){if(xx-cL<2){xx=cL+2}else if((xx+fw)>((dw+cL)-24)){xx=(dw+cL)-fw-24}}if((fy==1)||(fy==5)){if(yy-cT<2){yy=cT+2}else if((yy+fh)>((dh+cT)-24)){yy=(dh+cT)-fh-24}}aL=xx;aT=yy;}if((prup<0)||(prpc=='1')){if(typeof(window.onresize)=='undefined'){window.onresize=prAutoSize}if((typeof(prajx)=='undefined')||(prajx==0)){if(typeof(prpsi)!='undefined'){clearInterval(prpsi)}prpsi=setInterval(ppos,50)}}p.left=aL+'px';p.top=aT+'px';p.visibility='visible';}function prAutoSize(){eval(ppos);} function prReveal(o,w,h,x,y,a){var v,l,t,i,r=w,b=h;if(x){l=x;r+=l}else{l=0}if(y){t=y;b+=t}else{t=0}document.getElementById('prf'+prz).style.clip='rect('+t+'px '+r+'px '+b+'px '+l+'px)';if(typeof(a)=='undefined'){a=o}if(o){prrv=1;v='hidden';i=8999}else{prrv=0;v='visible';i=8998}if(a){prActivity(i)}eval("if(typeof(prHide)=='function'){prHide('"+v+"',prhd"+prz+",prff)}");}function prClose(){setTimeout('prNoDisp(1)',100)}function prPin(){prpc='1'}function prUnPin(){prpc='0'}function prDelayedPin(a){if(a){prActivity(a)}setTimeout('prPin()',1000);}function prRoll(e){if((prsw)&&(prpc=='0')&&(prad!=1)){if(proo==0){prNoDisp(1)}}}if(!window.prRefs){window.prRefs={}}function prSet(n,v){if((typeof(n)!='undefined')&&(typeof(v)!='undefined')){window.prRefs[n]=v}}function prGet(n){if(typeof(window.prRefs[n])!='undefined'){return window.prRefs[n]}else{return null}} function prOpenPanel(p,a){var mo,co,ro=document.getElementById('p'+prz+p+'prareaid');if(ro){prpot=0;if(typeof(ro)!='undefined'){mo=(ro.onmouseover);co=(ro.onclick);if((mo!=null)&&(typeof(mo)!='undefined')){ro.onmouseover()}else if((co!=null)&&(typeof(co)!='undefined')){ro.onclick()}}}else if(prpot<3){setTimeout('prOpenPanel('+p+','+a+')',200);prpot++;}}function prGoPanel(p,a){var po,mo,co,r="document.getElementById('p"+prz+p+"prareaid')";eval('po=typeof('+r+')');if((po!='undefined')&&(prup!=0)){if(a>0){pr_trk('pa',1,a)}if(a<0){prmh=-1}else{prmh=0}eval('mo=('+r+'.onmouseover)');eval('co=('+r+'.onclick)');if((mo!=null)&&(typeof(mo)!='undefined')){setTimeout(r+'.onmouseover();prad=0;',100)}else if((co!=null)&&(typeof(co)!='undefined')){setTimeout(r+'.onclick();prad=0;',100)}}}function prBeacon(s){var bc=new Image(1,1);bc.src=s}function prActivity(a){pr_trk('pa',1,a)}function prTrackActivity(a,iid,p,ba,n){var q='pa',c=a,nn='',z=iid.substr(0,8)+'-'+iid.substr(8,4)+'-'+iid.substr(12,4)+'-'+iid.substr(16,4)+'-'+iid.substr(20,12);if(ba==1){q='ba'}if(typeof(n)!='undefined'){nn='&n='+n}prz=iid;try{var prtr=new Image(1,1);prtr.src="http://t.pointroll.com/PointRoll/Track/?q="+q+"&i="+z+"&o=1&c="+c+"&p="+eval('prpi'+prz)+"&u="+p+nn+"&r="+Math.random();if(a>=0){prRetar(q,iid)}if(typeof(pr_trk.callback) == "function"){pr_trk.callback(q, 1, prz, c);}}catch(e){}}function pr_trk(q,o,c,x,n){if(o!=0){var p=prup,nn='',z=prz.substr(0,8)+'-'+prz.substr(8,4)+'-'+prz.substr(12,4)+'-'+prz.substr(16,4)+'-'+prz.substr(20,12);if(typeof(n)!='undefined'){nn='&n='+n}try{var prtr=new Image(1,1);prtr.src="http://t.pointroll.com/PointRoll/Track/?q="+q+"&i="+z+"&o="+o+"&c="+c+"&p="+eval('prpi'+prz)+"&u="+p+nn+"&r="+Math.random();if(c>=0){prRetar(q,prz)}if(typeof(pr_trk.callback) == "function"){pr_trk.callback(q, o, prz, c);}}catch(e){}if((x!=1)&&((q=='pc')||(q=='ac'))){setTimeout('prNoDisp(0)',500)}}}function prRetar(q,z){var hi,ex,cm,e='';eval('hi=typeof(prhi'+z+')');if(hi!='undefined'){eval('hi=prhi'+z);if((hi==0)&&((q=='pi')||(q=='pu')||(q=='pa')||(q=='ba'))){e='3';}else if((q=='pc')||(q=='ac')){e='4';}if(e!=''){eval('prhi'+z+'=1');eval('ex=typeof(prrtex'+z+')');if(ex!='undefined'){eval('ex=prrtex'+z);eval('cm=prcm'+z);var tpx=new Image(1,1);tpx.src='http://ads.pointroll.com/Retarget/?campid='+cm+'&exp='+ex+'&evtid='+e+'&r='+Math.random();}}}}if(typeof(prPost)=="function"){prPost();}