<!--Begin
if(window!=top){top.location.href=location.href}
window.onload=load; window.onresize=fixes;
var objMSIE=navigator.userAgent.indexOf("MSIE")!=-1; 
var objSafari=navigator.userAgent.indexOf("Safari")!=-1; 
function fixes(){
 if(objMSIE){fixSize();return true;} 
 if(objSafari){fixFooter();return true;}
}
function links(){
 var excludedomains=["zielkelaw.com","analogueweb.com"];var excludedomains=excludedomains.join("|");rexcludedomains=new RegExp(excludedomains,"i")
 for (var i=0;i<=(document.links.length-1);i++){
 if(document.links[i].hostname.search(rexcludedomains)==-1&&document.links[i].href.indexOf("http:")!=-1){document.links[i].target="_blank";document.links[i].title="Link opens in new window";}}
}
function menu(){
 if(document.all&&document.getElementById){navRoot=document.getElementById("menu");
 for(var i=0; i<navRoot.childNodes.length; i++){ node=navRoot.childNodes[i];
 if(node.nodeName=="LI"){node.onmouseover=function(){this.className+=" hover";};node.onmouseout=function(){this.className=this.className.replace(" hover", "");}}}}
}
function load(){
 fixes();menu();links();
}
function fixFooter(){
 if(document.getElementById){var winHeight=getHeight();
 if(winHeight>0){var contentHeight=document.getElementById('body').offsetHeight;var footerElement=document.getElementById('footer');var footerHeight=footerElement.offsetHeight;
 if(winHeight-(contentHeight+footerHeight)>=0){footerElement.style.position='relative';footerElement.style.top=(winHeight-(contentHeight+footerHeight))+'px';}
 else{footerElement.style.position='static';}}}
}
function fixSize(){
 if(document.getElementById){var winWidth=getWidth();var winHeight=getHeight();
 if(winWidth<=770){document.getElementById('body').style.width='770px';}
 else{document.getElementById('body').style.width='100%';}
 if (winHeight<=445){ document.getElementById('body').style.height='445px';}
 else{document.getElementById('body').style.height='100%';}}
}
function getHeight(){
 var winHeight=0;if(typeof(window.innerHeight)=='number'){winHeight=window.innerHeight;}
 else{if(document.documentElement&&document.documentElement.clientHeight){winHeight=document.documentElement.clientHeight;}
 else{if(document.body&&document.body.clientHeight){winHeight=document.body.clientHeight;}}}
 return winHeight;
}
function getWidth(){
 var winWidth=0;if(typeof(window.innerWidth)=='number'){winWidth=window.innerWidth;}
 else{if(document.documentElement&&document.documentElement.clientWidth){winWidth=document.documentElement.clientWidth;}
 else{if(document.body&&document.body.clientWidth){winWidth=document.body.clientWidth;}}}
 return winWidth;
}
function contact(){
 window.open('/email.asp','email','height=550,width=450,location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes');
}
function newsletter(){
 window.open('/subscribe.asp','subscribe','height=550,width=450,location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes');
}
// End-->