<!--
/*
formpop
for the forms
callback.html 
enquire.html 
tella.html
 
the div size stays the same
the z index changes
 
the frame source changes and set to blank on closing to prevent showing through
*/
function showform(which_form)
{
	// set zindex
	thisbit = document.getElementById("forms");
	thisbit.style.zIndex = "20";

	switch(which_form)
	{
	case "callback":
		//alert("line 23 " + areWeIn);
		if (areWeIn == "yes")
		{
			thisbit.innerHTML = "<iframe id = \"frameforms\" src = \"http://redcetera.com/forms/callbackIn.php\" style = \"width:610px; height:600px; background-color:#B8D8D7\" frameborder=\"0\"></iframe>";
		}
		else
		{
			thisbit.innerHTML = "<iframe id = \"frameforms\" src = \"http://redcetera.com/forms/callbackOut.php\" style = \"width:610px; height:600px; background-color:#B8D8D7\" frameborder=\"0\"></iframe>";

		}
		break;
	case "sendemail":
		thisbit.innerHTML = "<iframe id = \"frameforms\" src = \"http://redcetera.com/forms/enquire.php\" style = \"width:580px; height:590px; background-color:#B8D8D7\"\" frameborder=\"0\"></iframe>";
		break;
	case "tella":
		thisbit.innerHTML = "<iframe id = \"frameforms\" src = \"http://redcetera.com/forms/tella.html\" style = \"width:580px; height:590px; background-color:#B8D8D7\"\" frameborder=\"0\"></iframe>";
		break;
	}
}
function hideform()
{
	thisbit = document.getElementById("forms");
	thisbit.style.zIndex = "-1";
	thisbit.innerHTML = "";
}
// -->
