if (document.images) {
	// List images
	preloadImage = new Image();
	preloadImage.src = "/img/arrow_blue.gif";
	preloadImage = new Image();
	preloadImage.src = "/img/arrow_white.gif";
}

function checkform(volform){
	if(volform.fullname.value==""|volform.fullname.value=="full name"){
		volform.fullname.focus();
		volform.fullname.className="alert";
		return false;
	}else{
		volform.fullname.className="normal";
	}
	
	if(volform.address.value==""|volform.address.value=="address"){
		volform.address.focus();
		volform.address.className="alert";
		return false;
	}else{
		volform.address.className="normal";
	}

	if(volform.postcode.value==""|volform.postcode.value=="postcode"){
		volform.postcode.focus();
		volform.postcode.className="alert";
		return false;
	}else{
		volform.postcode.className="normal";
	}

	var re = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,})+$/;
	if(!re.test(volform.email.value)){
		volform.email.focus();
		volform.email.className="alert";
		return false;
	}else{
		volform.email.className="normal";
	}

	if(volform.interested.value==""|volform.interested.value=="interested in volunteering as"){
		volform.interested.focus();
		volform.interested.className="alert";
		return false;
	}else{
		volform.interested.className="normal";
	}
}

function addresser(username,domain,title,word){
	var atsign = "&#64;";
	var addr = username + atsign + domain;
	document.write("<"+"a"+" "+"href="+"mail"+"to:"+addr+" onmouseover=\"rolloveremail('"+addr+"','"+title+"'); return true\" onmouseout=\"rolloff(); return true\" title=\""+title+"\">"+word+"<\/a>");
}