//POP UP PAGE 'javascript:gallerypop("XXX.htm")'
function gallerypop(imagename) {
popwin = this.open(imagename, "gallery", "width=600,height=470,left = 0,top = 0, toolbar=no,menubar=no,location=no,scrollbars=yes,status=no,resize=no,noresize");
}
//RESERVATION FORM
function checkData()
{
	var correct = true
	
	if (document.Form1.Name.value == "") {correct = false; alert("Please enter your name.")
			document.Form1.Name.focus()
			return false}
	if (document.Form1.company_name.value == "") {correct = false; alert("Please enter your company name.")
			document.Form1.company_name.focus()
			return false}  
	if (document.Form1.AreaCode.value == "") {correct = false; alert("Please enter your contact number.")
			document.Form1.AreaCode.focus()
			return false}
}
function DatePopUp(oForm)
{
	var sPage = "datepicker_2.php?PickedDate=" + oForm.value+ "&FormName=" + oForm.name;
	var x=350;
	var y=250;
	var x_offset = document.width/2;
	var y_offset = document.height/2;
	
	var windetails = "width=" + x + ",height=" + y + ",toolbar=0,scrollbars=0,resizable=1,screenX=" + x_offset + ",screenY=" + y_offset;  
	win = window.open(sPage,"DatePicker", windetails);
}
//EMAIL SPAM javascript:hideml();
function hideml(path1, path2, path3)
{
 path = 'mailto:fire'
 path += 'hallpizza@'
 path += 'rogers.com'
 location.href = path;
}