// JavaScript Document
<!--//--><![CDATA[//><!--

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//--><!]]>

function email(a,b){
	document.location = "mailto:" + a + "\x40" + b;
}

function emailme(){
	document.location = "mailto:" + 'diana' + "\x40" + 'wordpool.co.uk';
}

function email2(addr){
	//addr is the address with a @ sign replaced by an image
	//find the first <
	str=addr.innerHTML
	//alert (str)
	bit=str.split(/[<>]/)
	a=bit[0]
	b=bit[2]
	document.location = "mailto:" + a + "\x40" + b;
}