// Contact Form Validation
function validateContact()
{
	fv = new formValidator();
	
	if (fv.isEmpty("your_name"))
		fv.raiseError("Please specify your name.");
	
	if (fv.isEmpty("your_email"))
		fv.raiseError("Please specify your email.");
	else
	{
		if (!fv.isEmailAddress("your_email"))
			fv.raiseError("Please specify a your valid email address.");
	}
		
	if (fv.isEmpty("your_comments"))
		fv.raiseError("Please specify your comments / query.");

	if (fv.numErrors() > 0)
	{
		fv.displayErrors();
		return false;
	}
	else
		return true;	
}

function openPop(prefix, picUrl) 
{
	window.open(prefix+"pic-pop.shtml?"+picUrl, "pops", "resizable=1,height=400,width=480,Left=20%,Top=20%");
}

function showMap() 
{
	window.open("map.html", "map", "resizable=0,height=600,width=670");
}

