if(!window.popundersON){window.popundersON='enabled'}function popup(id,width,height){if(!width)width=900;if(!height)height=400;var page_str='';if(typeof(page)!='undefined'){page_str='&page='+page}var base='';try{var baseTag=document.getElementsByTagName('base');if(baseTag&&baseTag[0]){base=baseTag[0].href}}catch(e){};flash=window.open(base+'popup_'+id+'?v=2&popup='+id+page_str,'flash','width='+width+',height='+height+',top='+(screen.height-400)/2+',left='+(screen.width-650)/2+',alwaysRaised=1,location=0,scrollbars=1,resizable=1');flash.focus()}function changeLocation(url){if(window.popundersAccepted){window.popUn=popunder()}window.location.href=getLocation()+url}function getLocation(){var base=document.getElementsByTagName('base');return((base&&base[0])?(base[0].href.substr(0,base[0].href.lastIndexOf("/"))+"/"):'')}function showErrorOnLoad(){if(window.error_msg){alert(window.error_msg)}}showErrorOnLoad();var popunder;var popunderWinName="ExitActionPopunder";popunder=function(){function pageWidth(){var rez=window.innerWidth!=null?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body!=null?(document.body.offsetWidth||document.body.clientWidth):(window.screen&&window.screen.availWidth)?window.screen.availWidth:750;return rez}function pageHeight(){var rez=(window.screen&&window.screen.availHeight)?window.screen.availHeight:window.innerHeight!=null?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body!=null?(document.body.offsetHeight||document.body.clientHeight):600;return rez}function posLeft(){return typeof window.pageXOffset!='undefined'?window.pageXOffset:document.documentElement&&document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft?document.body.scrollLeft:0}function posTop(){return typeof window.pageYOffset!='undefined'?window.pageYOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop?document.body.scrollTop:0}var options='toolbar=1,directories=0,menubar=1,scrollbars=1,resizable=1,width='+pageWidth()+',height='+pageHeight()+'screenX='+posLeft()+',screenY='+posTop();var w=open(getLocation()+"ExitAction",popunderWinName,options);if(w){w.resizeTo(pageWidth(),pageHeight())};w.blur();window.focus();return w};var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.OS=this.searchString(this.dataOS)||"an unknown OS"},searchString:function(data){for(var i=0;i<data.length;i++){var dataString=data[i].string;var dataProp=data[i].prop;this.versionSearchString=data[i].versionSearch||data[i].identity;if(dataString){if(dataString.indexOf(data[i].subString)!=-1)return data[i].identity}else if(dataProp)return data[i].identity}},searchVersion:function(dataString){var index=dataString.indexOf(this.versionSearchString);if(index==-1)return;return parseFloat(dataString.substring(index+this.versionSearchString.length+1))},dataBrowser:[{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};BrowserDetect.init();window.popundersAccepted=((window.popundersON=='enabled')&&(BrowserDetect.browser!='Chrome'));