// JavaScript Document

/* Dynamic Forms */

function toggleLayer(whichLayer, whichLayer2, whichLayer3, whichLayer4, showLayer)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		var style2 = document.getElementById(whichLayer).style;
		if(showLayer == "Enquiry"){
			style2.display = "block";
		}
		else{
			style2.display = "";
		}
		
		
		// this is the way the standards work
		var style2 = document.getElementById(whichLayer2).style;
		if(showLayer == "Corporate Package"){
			style2.display = "block";
		}
		
		else{
			style2.display = "";
		}
		
		// this is the way the standards work
		var style2 = document.getElementById(whichLayer3).style;
		if(showLayer == "Special Occasion"){
			style2.display = "block";
		}
			
		else{
			style2.display = "";
		}
		
		// this is the way the standards work
		var style2 = document.getElementById(whichLayer4).style;
		if(showLayer == "Wedding Package"){
			style2.display = "block";
		}

		else{
			style2.display = "";
		}
	}
}


