startList = function() {

      if (document.all&&document.getElementById) {
            LI = document.getElementById("nav").getElementsByTagName('LI');
            
            for (i=0; i < LI.length; i++) {
                LI[i].onmouseover=function() {
					this.className+=" act";
                }
                LI[i].onmouseout=function() {
					this.className=this.className.replace(" act", "");
                }
            }
      }
}

function doM(s, shift)	{
	location.href="mailto:" + getM(s, shift);
}

function getM(s, shift)
{
	shift = shift;
	var n=0;
	var r="";
	for(var i=0;i<s.length;i++) { 
		n=s.charCodeAt(i); 
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(shift)); 
	}
	return r;
}

function showM(s, shift, d)	{
	var d;
	if (d) { d = d; } else { d = s; }
	document.write("<a href=\"javascript:doM('" + s + "', " + shift + ");\">" + getM(d,shift) + "</a>");	
}

function printM(s, shift)
{
	document.write(getM(s,shift));
}
