if(typeof EAC=='undefined'||EAC.Version.major<3)throw"eac_scripts version 3 or higher required";if(EAC.defaults)EAC.defaults.trans_sid="";EAC.FW={CompanyID:"EAO",ProductID:"EAO",CompanyName:"The EarthAsylum Leadership Circle",CompanyDomain:"EarthAsylum.org",isNewSession:true,isInternalIP:false,isTestMode:false,SessionID:"ac3accb6328d1b0d1ebbcf59f8b3f5cb",Sourcing:{urlkey:"",altkey:"0",KeyCode:"00001",Source:"EAO00001",Medium:"direct",Campaign:"",Creative:"",Segment:"",TagCode:"",Tracking:"1",Description:"Default source code",Referral:"",Keywords:"",urlverb:"key",gaCampaign:"EAO00001 [Default source code] (campaign not set)"}}
EAC.Framework=EAC.FW;EAC.altContent=function(element,content){if(!element)return;var keyid=EAC.FW.Sourcing.urlkey||EAC.FW.Sourcing.KeyCode;var x=new Ajax.Updater(element,'altContent.php',{parameters:{key:keyid,content:content,keyfileid:EAC.FW.Sourcing.KeyFileID||'(none)'},evalScripts:true});}
window['altContent']=EAC.altContent;EAC.getUTMValue=function(utmName,cookie){if(utmName){if(utmName!='gclid')utmName='utm_'+utmName;var re=new RegExp('(\\?|&)('+utmName+')=([^&]+)','i');var searchq=re.exec(document.location.search);if(searchq)return searchq[3];}
var utmz=EAC.cookie.get('__utmz');if(cookie&&utmz){var re=new RegExp('(\\.|\\|)('+cookie+')=([^&]+)','i');var searchq=re.exec(utmz);if(searchq)return searchq[3];}
return null;}
EAC.trigger_gaSupport=function(onLoad_or_path){if(document.getElementById('eac_ga_iframe'))return;if(document.cookie.indexOf('__utmc')==-1)EAC.FW.isNewSession=true;EAC.FW.gaAccount1="UA-485996-3";EAC.FW.gaAccount2="UA-485996-3";EAC.FW.gaAccount3="";var utm_source,utm_medium,utm_campaign,utm_content,utm_term;var url=EAC.defaults.homePath+'eac_scripts.ga.html?eac=t';if(document.location.search.indexOf('gclid=')!=-1){url+='&gclid='+EAC.getUTMValue('gclid');}else if(document.location.search.indexOf('utm_')!=-1){utm_source=EAC.getUTMValue('source');utm_medium=EAC.getUTMValue('medium');utm_campaign=EAC.getUTMValue('campaign');utm_content=EAC.getUTMValue('content');utm_term=EAC.getUTMValue('term');}else{if(EAC.FW.isNewSession||document.cookie.indexOf('__utmz')==-1||document.location.search.indexOf(EAC.FW.Sourcing.urlverb+'=')!=-1){if(EAC.FW.Sourcing.Referral)
var utm_source=EAC.FW.Sourcing.Referral;else
var utm_source=(document.referrer&&EAC.FW.Sourcing.Medium!='direct')?EAC.parseURL(document.referrer)['domain']:document.location.host||document.location.hostname;utm_medium=EAC.FW.Sourcing.Medium;utm_campaign=encodeURIComponent(EAC.FW.Sourcing.gaCampaign);utm_content=EAC.FW.Sourcing.Creative;if(utm_medium!='direct'&&utm_medium!='organic'&&utm_medium!='ppc'&&utm_medium!='cpc'&&document.referrer&&!EAC.FW.Sourcing.Creative)
utm_content=EAC.parseURL(document.referrer)['path'];if(EAC.FW.Sourcing.Keywords){utm_term=encodeURIComponent(unescape(EAC.FW.Sourcing.Keywords));}else{var re=/(\?|&)(q|p|query|encquery|qt|terms|rdata|qs|wd|text|szukaj|k|searchExpr|search_for|string|search_query|searchfor)=([^&]+)/;var searchq=re.exec(document.referrer);if(searchq)utm_term=encodeURIComponent(unescape(searchq[3]));}
EAC.cookie.erase('__utmz','__utmv');}
if(!EAC.FW.Sourcing.gaCampaign){utm_campaign=utm_content=null;}}
if(utm_source)url+='&utm_souce='+utm_source;if(utm_medium)url+='&utm_medium='+utm_medium;if(utm_campaign)url+='&utm_campaign='+utm_campaign;if(utm_content)url+='&utm_content='+utm_content;if(utm_term)url+='&utm_term='+utm_term;url+=(typeof onLoad_or_path=='string')?'#'+onLoad_or_path:'#'+document.location.pathname;if(document.getElementById('eac_ga_support'))onLoad_or_path=true;if(onLoad_or_path===true){var d=document.getElementById('eac_ga_support')||document.body||document.getElementsByTagName("body")[0];var e=document.createElement("iframe");e.setAttribute("id",'eac_ga_iframe');e.setAttribute("src",url);e.setAttribute("width","0");e.setAttribute("height","0");e.setAttribute("frameborder","0");e.style.visiblity='hidden';d.appendChild(e);}else{document.write("<iframe id='eac_ga_iframe' style='width:0px;height:0px;visibility:hidden;' src='"+url+"'></iframe>");}
EAC.console.log('GA Triggered '+url);EAC.trigger_gaSupport=function(){};}
document.observe('dom:loaded',function(evt){EAC.trigger_gaSupport(true);});document.fire('EAC:FW.load');if(typeof Event!="undefined"){Event.observe(window,"load",function(event){if(document.getElementById('MainHead-date'))
document.getElementById('MainHead-date').innerHTML="Sunday, September 5, 2010";});}
if(typeof EAC!='undefined'){var inwindow=EAC.inWindow;var onThisPage=EAC.onThisPage;var elementIsVisible=EAC.elementIsVisible;var effectHide=EAC.effectHide;var effectShow=EAC.effectShow;var effectToggle=EAC.effectToggle;var ToggleEffect=EAC.effectToggle;var inlineHide=EAC.inlineHide;var inlineShow=EAC.inlineShow;var inlineToggle=EAC.inlineToggle;var ToggleSpan=EAC.inlineToggle;var blockHide=EAC.blockHide;var blockShow=EAC.blockShow;var blockToggle=EAC.blockToggle;var ToggleDiv=EAC.blockToggle;}
var minWidthRC=915;function ToggleRightCol(w){if(typeof w=='number')minWidthRC=w;var wsize=EAC.getWindowSize();if(wsize.x<minWidthRC){blockHide('RightColumn');}else{blockShow('RightColumn');}}
function PageLoad(w){if(EAC.getElement('RightColumn')){ToggleRightCol(w);window.onresize=ToggleRightCol;}
return true;}