function go_form(formid)
{
		if(formid == "friendform")
		{
			var rx = /^[\w\.-]+@[\w\.-]+\.\w+$/i;
			var em1 = rx.test($("to").value);
			var em2 = rx.test($("from").value);
			if(em1 && em2 && $("myname").value != "")
				$(formid).submit();
			else
				alert("please fill out out fields on this form");
				
		}
		else
			$(formid).submit();
}

function add_testimonial()
{
	url='addtestimonial.php';
	newwindow = window.open(url,'name','height=400,width=400');
	if (window.focus) {newwindow.focus()}
	return false;	
}
