function initView() {
	$(".button:not(.highlight)").hover(buttonRolloverHandler,buttonRolloutHandler)
				.mousedown(buttonMousedownHandler)
				.css({cursor:"pointer"});
	$(".highlight").css({backgroundImage:"url(\"/images/layout/nav_button-active.png\")"});
	$("#map_link").click(popOut).attr("title","Open a map of San Joaquin County in a new window");
	$("img[src$='png'],#header,#footer .right,.photo").supersleight({shim:'/images/layout/x.gif'});
}

/* Navigation rollover functions */
function buttonRolloverHandler() {
	$(this).css({backgroundImage:"url(\"/images/layout/nav_button-highlight.png\")"});
}
function buttonRolloutHandler() {
	$(this).css({backgroundImage:"none"});
}
function buttonMousedownHandler() {
	$(this).css({backgroundImage:"url(\"/images/layout/nav_button-active.png\")"});
}

function popOut() {
	window.open(this.href,"Airpark599","status=0,toolbar=0,location=0,menubar=0,directories=0,resizable=1,width=800,height=600");
	return false;
}

// ------------------ VALIDATE FORM ------------------- //
function ValidateForm() {
	if (document.forms['contact'].elements['first_name'].value == "" || document.forms['contact'].elements['last_name'].value == "" || document.forms['contact'].elements['email'].value == "") {
		alert('Please fill in all required fields');
		return false;
	}
	return true;
}









