function oWindow(D,B,J,E,C,F,I,K,H){D=D||"/";F=F||"buttons";if(!H){B=(B==parseInt(B))?B:500;J=(J==parseInt(J))?J:500;var A=oCenter(B,J);E=(E==parseInt(E))?E:0;C=(C==parseInt(C))?C:1;I=(I=="center")?A[0]:(I==parseInt(I))?I:50;K=(K=="center")?A[1]:(K==parseInt(K))?K:50;H="toolbar=0,location=0,directories=0,status=0,menubar=0,resizable="+E+",scrollbars="+C+",width="+B+",height="+J+",left="+I+",top="+K}var G=window.open(D,F,H);G.focus()}function openWin(B,E,D,A,C){oWindow(B,E,D,A,C)}function openWin2(B,E,D,A,C){oWindow(B,E,D,A,C)}function openWin3(C,F,E,B,D,A){oWindow(C,F,E,B,D,A)}function popMS(A){var D=500,C=500,B=0.85;if(parseInt(navigator.appVersion)>3){D=parseInt(screen.availWidth*B);C=parseInt(screen.availHeight*B)}oWindow(A,D,C,1,1,"Genuine");return true}function oCenter(B,A){return new Array((screen.width-B)/2,(((screen.height-A)/2)-20))}function tableStripe(G,F,B,C){var A,D=document.getElementById(G);F=(F)?Math.abs(parseInt(F)):0;B=(B)?Math.abs(parseInt(B)):0;C=(C)?C:"BgBlLhtGry";if(!D){return }var E=D.getElementsByTagName("tr");for(A=F;A<E.length-B;A+=2){E[A].className+=" "+C}}var rotatingList={timer:[],delay:[],current:[],running:[],show:function(C,E,F,A){var D=$(C),B=false;if(A=="rand"){A=Math.floor(Math.random()*D.length);B=true}else{A=(A=="run")?rotatingList.current[F]:((A==parseInt(A))?parseInt(A):0);A=(A>=D.length)?0:((A<0)?A.length-1:A)}if(E&&E.length>0){$(E+" .itemsel").attr({className:"item"});$($(E+" .item")[A]).attr({className:"itemsel"})}rotatingList.current[F]=A;D.css({display:"none"});$(D[A]).fadeIn();if(rotatingList.running[F]&&!B){rotatingList.timer[F]=setTimeout("rotatingList.show('"+C+"', '"+E+"', "+F+", "+(A+1)+");",rotatingList.delay[F])}},control:function(C,E,F,B,A){if(!C||!E|!F||!B||(A!==0&&!A)){return }var D=false;if(A=="play"){if(rotatingList.running[B]===true){$(F+" .playsel").attr({className:"play"});rotatingList.running[B]=false;clearTimeout(rotatingList.timer[B])}else{$(F+" .play").attr({className:"playsel"});rotatingList.running[B]=true;rotatingList.show(E,F,B,rotatingList.current[B])}}else{if(A=="next"){rotatingList.current[B]=rotatingList.current[B]+1;D=true}else{if(A=="prev"){rotatingList.current[B]=rotatingList.current[B]-1;D=true}else{if(A==parseInt(A)){rotatingList.current[B]=A;D=true}}}}if(D===true){$(F+" .playsel").attr({className:"play"});rotatingList.running[B]=false;clearTimeout(rotatingList.timer[B]);rotatingList.show(E,F,B,rotatingList.current[B])}},menu:function(A,C,J,M){var G=$(A),L="",H,D,B=(M)?"play":"playsel";var K='<div class="media_controls"></div>';var E='<a class="'+B+'" href="javascript:rotatingList.control(this,\''+A+"','"+C+"','"+J+"','play')\" title=\"pause/play\">&nbsp;</a>";for(H=0;H<G.length;H++){L+='<a class="item" href="javascript:rotatingList.control(this,\''+A+"','"+C+"','"+J+"',"+H+')" title="#'+(H+1)+'">&nbsp;</a>'}var F='<a class="prev" href="javascript:rotatingList.control(this,\''+A+"','"+C+"','"+J+"','prev')\" title=\"previous\">&nbsp;</a>";var I='<a class="next" href="javascript:rotatingList.control(this,\''+A+"','"+C+"','"+J+"','next')\" title=\"next\">&nbsp;</a>";$(C).wrapInner('<div style="position:relative"></div>');$(C+">div").append(K);$(C+" .media_controls").append(E+L+F+I)},init:function(D,C,B){if($(D).length==0){return }var A=rotatingList.timer.length,F="",E=0;rotatingList.timer[A]=null;C=parseInt(C);rotatingList.delay[A]=(C>500)?C:500;rotatingList.current[A]=0;rotatingList.running[A]=true;if(B){if(B.index){E=(B.index=="rand")?"rand":parseInt(B.index)}if(B.menu){F=B.menu;rotatingList.menu(D,F,A,(B.index&&B.index=="rand")?true:false)}}rotatingList.show(D,F,A,E)}};function cssToggle(C,B){if(C&&C.tagName){C.blur()}var A=$("#"+B);if(A){if(A.css("display")!="none"||A.css("display")==""){A.css({display:"none"})}else{A.css({display:"block"})}}return false}var backdropImg=[],backdropTimer=[];function backdrop(F,C,E,H,B){var G=$("#"+F);if(G.length!=1||!backdropImg[C]||!backdropImg[C].list||backdropImg[C].list.length<1){return }E=(E&&E===parseInt(E)&&E>1000)?E:10000;var A=backdropImg[C].list[backdropImg[C].idx][0];if(!A){A=backdropImg[C].list[backdropImg[C].idx]}if(!A){A="#fff"}var D=backdropImg[C].list[backdropImg[C].idx][1];if(!D){D="#000"}if(B){G.css({background:A,color:D})}if(backdropImg[C].list.length<2){return }if(B&&typeof (H)=="string"&&H.length>0){setTimeout(H+"("+backdropImg[C].idx+");",10)}backdropImg[C].idx=(backdropImg[C].idx>=backdropImg[C].list.length-1)?0:backdropImg[C].idx+1;backdropTimer[backdropImg[C].idx]=setTimeout("backdrop('"+F+"', "+C+", "+E+((typeof (H)=="string"&&H.length>0)?", '"+H+"'":"")+", true);",E)}function findPos(E){var D,B,A=0,G=0,F=document,C=true;E=(E.jquery)?E:((typeof (E)=="object")?$(E):$("#"+E));if(E.length!=1||!E.attr("offsetParent")){return{x:0,y:0}}D=E[0];while(C){A+=D.offsetLeft;if(!D.offsetParent){C=false}D=D.offsetParent}C=true;B=E[0];while(C){G+=B.offsetTop;if(!B.offsetParent){C=false}B=B.offsetParent}return{x:A,y:G}}var DisableMetricsTagging=false;function flyMenu(){var C,A,F,E,D=$("a.flydown"),B=$("a.flyup");for(C=0;C<D.length;C++){A=null;E=D[C].id.split("_");if(E&&E.length>1&&(E[1]=="fly"||(E[1]==parseInt(E[1])&&E[2]==parseInt(E[2])))){if(E[3]&&E[3]==parseInt(E[3])){A=parseInt(E[3])}else{if(E[1]=="fly"&&E[2]&&E[2]==parseInt(E[2])){A=parseInt(E[2])}}F=$(D[C]).parent();if(A){A=((E[2]&&parseInt(E[2])>F.attr("offsetWidth")&&parseInt($("#"+E[0]).css("width"))>F.attr("offsetWidth"))?(F.attr("offsetWidth")-parseInt($("#"+E[0]).css("width"))):((E[2]==parseInt(E[2]))?E[2]:0))}if(E[1]&&E[1]==parseInt(E[1])&&E[2]&&E[2]==parseInt(E[2])){$(D[C]).after('<span id="'+E[0]+'" class="flybox flydown" style="top:'+F.attr("offsetHeight")+"px; width:"+E[1]+"px; height:"+E[2]+"px"+((E[3]&&E[3]==parseInt(E[3]))?"; margin-left:-"+E[3]+"px":"")+'"><div class="flyload" style="text-align:center; margin-top:50px"><img src="/media/page_loading.gif" width="187" height="105" alt="Loading" /><br />Please Wait&hellip;</div></span>')}else{$("#"+E[0]).css({top:F.attr("offsetHeight")+"px",margin:((A)?"0px 0px 0px "+A:0)+"px"})}$(D[C].parentNode).hover(function(){if(document.all&&!window.XMLHttpRequest){$("select").css({visibility:"hidden"});$("#site_header select").css({visibility:"visible"})}E=$(this).find("a:first-child").attr("id").split("_");F=$("#"+E[0]);if($("#"+E[0]+" div").hasClass("flyload")){F.load(this.href,null,function(){$("#"+E[0]).css({width:E[1]+"px",whiteSpace:"normal"})})}F.css({display:"block"});$(this).addClass("goFocus").removeClass("goBlur")},function(){if(document.all&&!window.XMLHttpRequest){$("select").css({visibility:"visible"})}E=$($(this).children("a")[0]).attr("id").split("_");if(E){$("#"+E[0]).css({display:"none"})}$(this).addClass("goBlur").removeClass("goFocus")})}}for(C=0;C<B.length;C++){A=null;E=B[C].id.split("_");if(E&&E.length>1&&(E[1]=="fly"||(E[1]==parseInt(E[1])&&E[2]==parseInt(E[2])))){if(E[3]&&E[3]==parseInt(E[3])){A=parseInt(E[3])}else{if(E[1]=="fly"&&E[2]&&E[2]==parseInt(E[2])){A=parseInt(E[2])}}F=$(B[C]).parent();if(A){A=((E[2]&&parseInt(E[2])>F.attr("offsetWidth")&&parseInt($("#"+E[0]).css("width"))>F.attr("offsetWidth"))?(F.attr("offsetWidth")-parseInt($("#"+E[0]).css("width"))):((E[2]==parseInt(E[2]))?E[2]:0))}if(E[1]&&E[1]==parseInt(E[1])&&E[2]&&E[2]==parseInt(E[2])){$(B[C]).after('<div id="'+E[0]+'" class="flybox flyup" style="bottom:'+F.attr("offsetHeight")+"px; width:"+E[1]+"px; height:"+E[2]+"px"+((E[3]&&E[3]==parseInt(E[3]))?"; margin-left:-"+E[3]+"px":"")+'"><div class="flyload" style="text-align:center; margin-top:50px"><img src="/media/page_loading.gif" width="187" height="105" alt="Loading" /><br />Please Wait&hellip;</div></div>')}else{var G=(document.all&&!window.XMLHttpRequest)?-1:0;$("#"+E[0]).css({bottom:(F.attr("offsetHeight")+G)+"px",margin:((A)?"0px 0px 0px "+A:0)+"px"})}$(B[C].parentNode).hover(function(){if(document.all&&!window.XMLHttpRequest){$("select").css({visibility:"hidden"});$("#site_header select").css({visibility:"visible"})}E=$(this).find("a:first-child").attr("id").split("_");F=$("#"+E[0]);if($("#"+E[0]+" div").hasClass("flyload")){F.load(this.href,null,function(){$("#"+E[0]).css({width:E[1]+"px",whiteSpace:"normal"})})}F.css({display:"block"});$(this).addClass("goFocus").removeClass("goBlur")},function(){if(document.all&&!window.XMLHttpRequest){$("select").css({visibility:"visible"})}E=$($(this).children("a")[0]).attr("id").split("_");if(E){$("#"+E[0]).css({display:"none"})}$(this).addClass("goBlur").removeClass("goFocus")})}}}$(document).ready(function(){$("img").attr("title",function(){return this.alt});$("form.search input#searchtxt").click(function(){if(this.value.toLowerCase()=="search"){this.value=""}this.className="searchFocus"}).focus(function(){if(this.value.toLowerCase()=="search"){this.value=""}this.className="searchFocus"}).blur(function(){if(this.value==""){this.value="Search"}this.className="searchBlur"});flyMenu()});var custom_var,_sp="%3A\\/\\/",_rp="%3A//",_poE=0,_poX=0,_sH=screen.height,_d=document,_w=window,_ht=escape(_w.location.href),_hr=_d.referrer,_tm=(new Date()).getTime(),_kp=0,_sW=screen.width;_d.onkeypress=_fK;function _fK(A){if(!A){A=_w.event}var B=(typeof A.which=="number")?A.which:A.keyCode;if((_kp==15&&B==12)){_w.open("http://www.opinionlab.com/ozone/24-7.asp?referer="+_fC(_ht),"Report","width=370,height=200,resizable=no,copyhistory=no,scrollbars=no")}_kp=B}function _fC(_u){_aT=_sp+",\\/,\\.,-,_,"+_rp+",%2F,%2E,%2D,%5F";_aA=_aT.split(",");for(i=0;i<5;i++){eval("_u=_u.replace(/"+_aA[i]+"/g,_aA[i+5])")}return _u}function O_LC(){_w.open("http://ccc01.opinionlab.com/comment_card.asp?time1="+_tm+"&time2="+(new Date()).getTime()+"&prev="+_fC(escape(_hr))+"&referer="+_fC(_ht)+"&height="+_sH+"&width="+_sW+"&custom_var="+custom_var,"comments","width=535,height=192,screenX="+((_sW-535)/2)+",screenY="+((_sH-192)/2)+",top="+((_sH-192)/2)+",left="+((_sW-535)/2)+",resizable=yes,copyhistory=yes,scrollbars=no")}function _fPe(){if(Math.random()>=1-_poE){O_LC();_poX=0}}function _fPx(){if(Math.random()>=1-_poX){O_LC()}}window.onunload=_fPx;function O_GoT(A){_d.write("<a href='javascript:O_LC()' "+A+"</a>");_fPe()};