<!--
/*
form_pop_submit.js
 
loads into pages which load into iframe
*/
function over_submit(which_cell)
{
	changer = document.getElementById(which_cell);
	changer.style.backgroundColor = "#6FB7CE";
}

function off_submit(which_cell)
{
	changer = document.getElementById(which_cell);
	changer.style.backgroundColor = "#B8D8D7";
}

function sendForm(whichForm)
{
	switch(whichForm)
	{
	case "tellaForm":
		document.tellaForm.submit();
		break;
	case "callBackForm":
		document.callBackForm.submit();
		break;
	case "enquireForm":
		document.enquireForm.submit();
		break;
	case "makeOverForm":
		document.makeOverForm.submit();
		break;
	case "appraisalForm":
		document.appraisalForm.submit();
		break;
	case "programForm":
		document.programForm.submit();
		break;
	case "contactForm":
		document.contactForm.submit();
		break;
	}
}

function resetForm(whichForm)
{
	switch(whichForm)
	{
	case "tellaForm":
		document.tellaForm.reset();
		break;
	case "callBackForm":
		document.callBackForm.reset();
		break;
	case "enquireForm":
		document.enquireForm.reset();
		break;
	case "makeOverForm":
		document.makeOverForm.reset();
		break;
	case "appraisalForm":
		document.appraisalForm.reset();
		break;
	case "programForm":
		document.programForm.reset();
		break;
	case "contactForm":
		document.contactForm.reset();
		break;
	}
}
// -->
