<!--//


	function validateform(f){
		var fname	= f.f_name.value; 
		var lname	= f.l_name.value; 
		if(fname.length <=2) { alert("Oops!   You haven't provided your first name!"); return document.valid = false; }
		if(lname.length <=2) { alert("Oops!   You haven't provided your last name!"); return document.valid = false; }
		var tel		= f.telephone.value;
		var email	= f.mail.value; 
		var add = f.address1.value;
		var post = f.postcode.value;
		if(add == "" || add.length < 5) { alert("Oops!   You haven't supplied enough address information!"); return document.valid = false;}
		if(post =="" || post.length < 6){ alert("Oops!   You must supply your full post code!"); return document.valid = false; }
		var emailvalid = (email.indexOf("@") > 1 && email.indexOf(".") > 1)? true: false;
		if(!emailvalid) { alert("Oops!   You haven't provided a valid E-mail Address!");  return document.valid = false; }
		if(tel.length <=10){ alert("Oops! You must provide a Telephone Number on which we can contact you!"); return document.valid = false;}
		// got this far -- basic form check says that the form is ok
		return document.valid = true;
	}
	
	function golink(url)
	{
		document.location = url;
		return true;
	}
	
	var rollovers = new Array();
	rollovers[0] = "#FFFFFF";
	rollovers[1] = "#FEFEFF";
	
	function swapcolours(colour, id)
	{
		//alert(document.getElementById(id));
		alert(document.getElementById(id).style.bgcolor);
		document.getElementById(id).bgcolor = "#000000";
		return true;
	}
	
//-->