function enable_menu(name, href,menu_name, alttext) {
	document.write("<div  >");
	document.write("<a href='" + href + "' title='" + alttext + "s'>");
	document.write("<div class='menu_icon'>" + menu_name + "</div>");
	document.write("</a>");
	document.write("<div>");
	document.write("<a href='" + href + "' title='" + alttext + " '>");
	document.write("<img name='" + name + "' id='foot_welcome' src='images/singlefoot.png' ");
	document.write("alt='" + alttext + "' ");
	document.write("onmouseover=\"document.images['" + name + "'].src='images/singlefoot-hover.png'\" ");
	document.write("onmouseout=\"document.images['" + name + "'].src='images/singlefoot.png'\" />");
	document.write("</a>");
	document.write("</div>");
}

function check_fields() {
	if (document.getElementById("Contact_Name").value == "") {
		alert("Please Enter Your Contact Name");
		document.getElementById("Contact_Name").focus();
		return (false);
	}

	if (document.getElementById("mainContactNo").value == "") {
		alert("Please Enter Your Phone Number");
		document.getElementById("mainContactNo").focus();
		return (false);
	}

	if (document.getElementById("Email").value == "") {
		alert("Please Enter Your Email Address");
		document.getElementById("Email").focus();
		return (false);
	}

	document.contactForm.submit();
	
	return (true);
}

function renderSubmitBtns () {
	document.write('<input type="submit" name="Submit" value="Send" class="button"' +
							'onclick="check_fields(contactForm);return false;" />&nbsp;' + 
	            '<input type="reset" name="Reset" value="Clear Form" class="button" />');
}