//Javascript

//This function is used instead of "mailto:" in an anchor to allow the use of obscured addresses so spammers don't find these addresses.
function email(address){document.location.href="mailto:"+address}

function redirect(url){
   //if(url.substring(url.length-4)!=".pdf")
      if(document.location.href.indexOf("webfyre")==-1)
         if(parseInt(navigator.appVersion)>=4 || typeof(window.location.replace)!="undefined")
            window.location.replace(url)
}

/*function redirect(url){
   if(document.location.href.indexOf("webfyre")==-1&&(parseInt(navigator.appVersion)>=4||typeof(window.location.replace)!="undefined"))window.location.replace(url)
}*/
