/*<![CDATA[*/
function IEHoverPseudo() {

	var navItems = document.getElementById("primary-nav").getElementsByTagName("li");
	
	for (var i=0; i<navItems.length; i++) {
		if(navItems[i].className == "menuparent") {
			navItems[i].onmouseover=function() { this.className += " over"; }
			navItems[i].onmouseout=function() { this.className = "menuparent"; }
		}
	}

}
window.onload = IEHoverPseudo;
/*]]>*/


function JSEncrypt(str,strPwd) {
    var returnstr = "";
    var c = 0;
    for (var i=1;i<str.length + 1;i++) {
         c = str.charCodeAt(i - 1);
         c += strPwd.charCodeAt(i % strPwd.length);
         returnstr += String.fromCharCode(c & 255);
    }
    return returnstr;
}
function JSDecrypt(str,strPwd) {
    var returnstr = "";
    var c = 0;
    for (var i=1;i<str.length + 1;i++) {
         c = str.charCodeAt(i - 1);

         c -= strPwd.charCodeAt(i % strPwd.length);

         returnstr += String.fromCharCode(c & 255);
    }
    return returnstr;
} 
function sendmail(str) {
 epost = JSDecrypt(str,"sss");

u = window.location;
top.window.location="mailto:"+epost;
}