function doFeedback()
{
	if ((document.feedback.FullName.value == "") || (document.feedback.FullName.value == " "))
	{
		alert("All fields are mandatory inorder to help us get in touch with you.");
		document.feedback.FullName.focus();
		return false;
	}
	if (document.feedback.Organisation.value == "")
	{
		alert("All fields are mandatory inorder to help us get in touch with you.");
		document.feedback.Organisation.focus();
		return false;
	}
	if (document.feedback.Address1.value == "")
	{
		alert("All fields are mandatory inorder to help us get in touch with you.");
		document.feedback.Address1.focus();
		return false;
	}
	if (document.feedback.Address2.value == "")
	{
		alert("All fields are mandatory inorder to help us get in touch with you.");
		document.feedback.Address2.focus();
		return false;
	}
	if (document.feedback.Telephone.value == "")
	{
		alert("All fields are mandatory inorder to help us get in touch with you.");
		document.feedback.Telephone.focus();
		return false;
	}
	if (document.feedback.Fax.value == "")
	{
		alert("All fields are mandatory inorder to help us get in touch with you.");
		document.feedback.Fax.focus();
		return false;
	}
	if (document.feedback.EmailId.value == "")
	{
		alert("All fields are mandatory inorder to help us get in touch with you.");
		document.feedback.EmailId.focus();
		return false;
	}
	if (document.feedback.Comments.value == "")
	{
		alert("All fields are mandatory inorder to help us get in touch with you.");
		document.feedback.Comments.focus();
		return false;
	}
return true;
}

function doFaq()
{
	if (document.faq.Name.value == "")
	{
		alert("All fields are mandatory");
		document.faq.Name.focus();
		return false;
	}
	if (document.faq.EmailId.value == "")
	{
		alert("All fields are mandatory");
		document.faq.EmailId.focus();
		return false;
	}
	if (document.faq.Question.value == "")
	{
		alert("All fields are mandatory");
		document.faq.Question.focus();
		return false;
	}
return true;
}

function fnComplain()
{
	if (document.complain.Tenant.value == "" || document.complain.Tenant.value == " ")
	{
		alert("Please enter tenant name");
		document.complain.Tenant.focus();
		return false;
	}
	if (document.complain.Office.value == "" || document.complain.Office.value == " ")
	{
		alert("Please enter office details");
		document.complain.Office.focus();
		return false;
	}
	if (document.complain.Email.value == "" || document.complain.Email.value == " ")
	{
		alert("Please enter email id");
		document.complain.Email.focus();
		return false;
	}
	if (document.complain.ComplainDetails.value == "" || document.complain.ComplainDetails.value == " ")
	{
		alert("Please enter complain details");
		document.complain.ComplainDetails.focus();
		return false;
	}

return true;
} 

function doMap()

{
	window.open("location_map.asp","lcMap","width=750, height=550, left=100+', top=100");
		
}
function doFloorDetails(a)
{
	window.open("floor_details.asp?id=" + a ,"","width=400, height=350, left=100+', top=100");
}
function doInfo()
{
	if (document.info.Company.value == "" || document.info.Company.value == " ")
	{
		alert("Please enter Company Name");
		document.info.Company.focus();
		return false;
	}
	if (document.info.Name.value == "" || document.info.Name.value == " ")
	{
		alert("Please enter Name");
		document.info.Name.focus();
		return false;
	}
	if (document.info.Email.value == "" || document.info.Email.value == " ")
	{
		alert("Please enter Email");
		document.info.Email.focus();
		return false;
	}
	if (document.info.Telephone.value == "" || document.info.Telephone.value == " ")
	{
		alert("Please enter Telephone");
		document.info.Telephone.focus();
		return false;
	}
	
return true;
}