w=window;d=document;function addfav(t,u){var sc="CTRL-D";var ua=navigator.userAgent.toLowerCase();if(ua.substr(ua.indexOf("opera")+6,1)<9)sc="CTRL-T";if(d.all)w.external.addfavorite(u,t);else alert("Press "+sc+" to bookmark this page.");}var popwin;pu=(w.location.href);pt=(w.d.title);pu=pu.replace("index"+"."+"htm","");pu=pu.replace("index"+"."+"php","");while(pt.indexOf("&")>-1)pt=pt.replace("&","and");function popup(s){popwin=w.open(s+"?ref="+pu+"&title="+pt,'popup','height=450,width=570');if(w.focus){popwin.focus()}};function popimg(s,url,tt,ht,wh,wn){popwin=w.open(s+"?url="+url+"&title="+tt+"&height="+ht+"&width="+wh,wn,'height='+ht+',width='+wh);if(w.focus){popwin.focus()}};aT=new Array('1','2','3','4','5','6');function tab(strTabName,TabLmt){for(var i=0;i<aT.length&&i<TabLmt;i++){var oC=d.getElementById("tabcontent-"+aT[i]);var oT=d.getElementById("tab-"+aT[i]);if(aT[i]==strTabName){oC.style.display="block";oT.className="active"}else{oC.style.display="none";oT.className=""}}}function nw(){if(!d.links){d.links=d.getElementsByTagName('a');}for(var t=0;t<d.links.length;t++){var xt=d.links[t];if(xt.href.search(/http/)!=-1){if(xt.href.search('/www.shopturbo..*/go/')!=-1){xt.setAttribute('target','_blank');}}if(xt.href.search(/^http/)!=-1){if(xt.href.search('^http://www.shopturbo.')==-1){xt.setAttribute('target','_blank');}}}}w.onload=function(e){nw();};