if(!String.prototype.oo_replace){String.prototype.oo_replace=function(o){return this.replace(/\{([^{}]*)\}/g,function(a,b){var r=o[b];r=(typeof r==='number')?r.toString():r;return typeof r==='string'?r:a;});};}
/**
* OnlineOpinion (S3tS v3.1)
* S3tS is OnlineOpinion (S3tS v3.1) encapsulated into an object
* Encapsulated at TAIS by Clark Christensen 2009-05-04
* OnlineOpinion (S3tS v3.1) and other products of OpinionLab, Inc. are protected by U.S. Patent No. 6606581, 6421724, 6785717 B1 and other patents pending.
* Copyright (C) 2008-2009
**/
var S3tS={custom_var:undefined,_aA:undefined,_poE:0.0,_poX:0.0,_sH:screen.height,_d:document,_w:window,_ht:escape(window.location.href),_hr:document.referrer,_tm:(new Date()).getTime(),_kp:0,_sW:screen.width,_fC:function(_u){var reC=/([-:._\/])/g;return(!_u)?'':unescape(_u).replace(reC,function(r,m){return'%'+m.charCodeAt(0).toString(16).toUpperCase();});},O_LC:function(){var url,data,opts;data={time1:this._tm,time2:new Date().getTime(),prev:this._fC(escape(this._hr)),referer:this._fC(this._ht),height:this._sH,width:this._sW,custom_var:(this.custom_var||''),screenX:parseInt((this._sW-535)/2,10),screenY:parseInt((this._sH-192)/2,10),top:parseInt((this._sH-192)/2,10),left:parseInt((this._sW-535)/2,10)};url='https://secure.opinionlab.com/ccc01/comment_card.asp?time1={time1}&time2={time2}&prev={prev}&referer={referer}&height={height}&width={width}&custom_var={custom_var}'.oo_replace(data);opts='width=535,height=192,screenX={screenX},screenY={screenY},top={top},left={left},resizable=yes,copyhistory=yes,scrollbars=no'.oo_replace(data);this._w.open(url,'comments',opts);},_fPe:function(){if(Math.random()>=1.0-this._poE){this.O_LC();this._poX=0.0;}},_fPx:function(){if(Math.random()>=1.0-this._poX){this.O_LC();}},O_GoT:function(_p,_class){return'<a href="javascript:S3tS.O_LC()" class="{css}">{p}</a>'.oo_replace({p:_p,css:(_class||'footerLink')});},customLink:function(_p,css){this._d.write(this.O_GoT(_p,(css||'')));this._fPe();},footerLink:function(_p){this._d.write(this.O_GoT(_p,'footerLink'));this._fPe();},headerLink:function(_p){this._d.write(this.O_GoT(_p,'headerLink'));this._fPe();}};window.onunload=S3tS._fPx;