function switchState(state) {
	switch (state) {
		case 'residential':
			$("#content_residential").show();
			$("#content_customization").hide();
			$("#content_commercial").hide();
			$("#title_residential").attr({src:"/images/highlight/residential_on.gif"});
			$("#title_commercial").attr({src:"/images/highlight/commercial.gif"});
			$("#title_customization").attr({src:"/images/highlight/customization.gif"});
		break;
		case 'commercial':
			$("#content_residential").hide();
			$("#content_customization").hide();
			$("#content_commercial").show();
			$("#title_residential").attr({src:"/images/highlight/residential.gif"});
			$("#title_commercial").attr({src:"/images/highlight/commercial_on.gif"});
			$("#title_customization").attr({src:"/images/highlight/customization.gif"});
		break;
		case 'customization':
			$("#content_residential").hide();
			$("#content_customization").show();
			$("#content_commercial").hide();
			$("#title_residential").attr({src:"/images/highlight/residential.gif"});
			$("#title_commercial").attr({src:"/images/highlight/commercial.gif"});
			$("#title_customization").attr({src:"/images/highlight/customization_on.gif"});
		break;
	}
}

$(document).ready(function() {
	$(".unitslist").hover(function () {$("#full_unit").show();}, function () {$("#full_unit").hide();});
	$(".helplist").hover(function () {$("#full_help").show();}, function () {$("#full_help").hide();});
	$(".serviceslist").hover(function () {$("#full_service").show();}, function () {$("#full_service").hide();});
	$(".quotelist").hover(function () {$("#full_quote").show();}, function () {$("#full_quote").hide();});
	$("input#mail-email").focus(function(){
		if ($(this).val()=='Enter Your Email Here') {$(this).val('');}
	}).blur(function(){
		if ($(this).val()=='' || $(this).val()=='Enter Your Email Here') {$(this).val('Enter Your Email Here');}
	});
	$("form#mailing-form").submit(function(e){
		if ($("input#mail-email").val()=='Enter Your Email Here') {alert('You must enter a valid email address.');e.preventDefault();}
	});
});