var browserName=navigator.appName,browserVer=parseInt(navigator.appVersion),version="",msie4=(browserName=="Microsoft Internet Explorer"&&browserVer>=4);if((browserName=="Netscape"&&browserVer>=3)||msie4||browserName=="Konqueror"||browserName=="Opera"){version="n3"}else version="n2"
function blurLink(theObject){if(msie4)theObject.blur()}
function decryptCharcode(n,start,end,offset){n=n+offset;if(offset>0&&n>end){n=start+(n-end-1)}else if(offset<0&&n<start)n=end-(start-n-1);return String.fromCharCode(n)}
function decryptString(enc,offset){var dec="",len=enc.length;for(var i=0;i<len;i++){var n=enc.charCodeAt(i);if(n>=0x2B&&n<=0x3A){dec+=decryptCharcode(n,0x2B,0x3A,offset)}else if(n>=0x40&&n<=0x5A){dec+=decryptCharcode(n,0x40,0x5A,offset)}else if(n>=0x61&&n<=0x7A){dec+=decryptCharcode(n,0x61,0x7A,offset)}else dec+=enc.charAt(i)};return dec}
function linkTo_UnCryptMailto(s){location.href=decryptString(s,-3)};
var gmsGAOptState='undefined',expdate=new Date(),_showDebug=true;expdate.setDate(expdate.getDate()+365)
function gmsDummyTracker(){this._trackPageview=function(s){};this._trackEvent=function(a,b,c,d){};this._addTrans=function(a,b,c,d,e,f,g,h){};this._addItem=function(a,b,c,d,e,f){};this._trackTrans=function(){};this._link=function(a,b){};this._linkByPost=function(a,b){};this._setAllowHash=function(a){};this._setAllowLinker=function(a){};this._setCookiePath=function(a){};this._setDomainName=function(a){};this._cookiePathCopy=function(a){};this._getLinkerUrl=function(a,b){};this._deleteCustomVar=function(a){};this._getAccount=function(){};this._getVersion=function(){};this._getVisitorCustomVar=function(a){};this._initData=function(){};this._addVar=function(a){};this._setCookiePersistence=function(a){};this._setCustomVar=function(a,b,c,d){};this._setSampleRate=function(a){};this._setSessionTimeout=function(a){};this._setAllowAnchor=function(a){};this._setCampContentKey=function(a){};this._setCampMediumKey=function(a){};this._setCampNameKey=function(a){};this._setCampNOKey=function(a){};this._setCampSourceKey=function(a){};this._setCampTermKey=function(a){};this._setCampaignTrack=function(a){};this._setCookieTimeout=function(a){};this._setReferrerOverride=function(a){};this._addIgnoredOrganic=function(a){};this._addIgnoredRef=function(a){};this._addOrganic=function(a,b,c){};this._clearIgnoredOrganic=function(){};this._clearIgnoredRef=function(){};this._clearOrganic=function(){};this._getClientInfo=function(){};this._getDetectFlash=function(){};this._getDetectTitle=function(){};this._setClientInfo=function(){};this._setDetectFlash=function(){};this._setDetectTitle=function(){};this._getLocalGifPath=function(){};this._getServiceMode=function(){};this._setLocalGifPath=function(a){};this._setLocalRemoteServerMode=function(){};this._setLocalServerMode=function(){};this._setRemoteServerMode=function(){}}
function getCookie(value){var dc=document.cookie,prefix=value+"=",begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return null}else begin+=2;var end=document.cookie.indexOf(";",begin);if(end==-1)end=dc.length;return dc.substring(begin+prefix.length,end)}
function gmsSwitchGAActive(s,domain){if(s==true){document.cookie='gmsGAOptOut=false;expires='+expdate.toGMTString()+';path=/'+((domain)?";domain="+domain:"")}else{document.cookie='gmsGAOptOut=true;expires='+expdate.toGMTString()+';path=/'+((domain)?";domain="+domain:"");try{pageTracker._trackEvent('SwitchTracking','Off',document.URL)}catch(err){}};return true}
function gmsGATrackingActive(){if(gmsGAOptState=="undefined"){var gmsGAOptOut=getCookie("gmsGAOptOut");if((gmsGAOptOut!=null)&&(gmsGAOptOut=='true')){gmsGAOptState='disabled'}else gmsGAOptState='active'};return(gmsGAOptState!='disabled')}
function gmsInitGASwitch(s,domain){var cbox=null;if(s!="")cbox=document.getElementById(s);if(cbox!=null){cbox.checked=gmsGATrackingActive();cbox.onclick=function(){gmsSwitchGAActive(this.checked,domain)};return true}};

