// workaround for absence of target attributes in xhtml strict

function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}


// Obfuscate email
function obfuscate(type) {
var obfuscated = '';

if (type == 'contact')
	obfuscated = String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,97,100,109,105,110,64,97,112,115,103,114,111,117,112,46,99,111,109,46,115,103,34,62,97,100,109,105,110,64,97,112,115,103,114,111,117,112,46,99,111,109,46,115,103,60,47,97,62)
	
if (type == 'corporatesales')
	obfuscated = String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,99,111,114,112,111,114,97,116,101,115,97,108,101,115,64,98,114,101,97,100,116,97,108,107,46,99,111,109,34,62,99,111,114,112,111,114,97,116,101,115,97,108,101,115,64,98,114,101,97,100,116,97,108,107,46,99,111,109,60,47,97,62)

document.write(obfuscated);
}


/*
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
*/


function loadAll() {
   externalLinks();
}
window.onload = loadAll;
