function kashmirheader()
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td colspan="2" align="right"><table border="0" cellpadding="0" cellspacing="1" width="60%"><tr height=4>');
   	document.write('<td width="22%" bgcolor="#56758B"></td><td width="25%" bgcolor="#FF9751"></td><td width="25%" bgcolor="#1BB885"></td>');
   	document.write('<td width="28%" bgcolor="#E9617C"></td></tr><tr height=20>');
	document.write('<td width="22%" id=ho><p align="center"><a href=index.html class=home onMouseOver = "ho.bgColor=\'#56758B\'" onMouseOut = "ho.bgColor=\'#FFFFFF\'">Home</a></p></td><td width="25%" id=ja><p align="center"><a href=jammu.html class=home onMouseOver = "ja.bgColor=\'#FF9751\'" onMouseOut = "ja.bgColor=\'#FFFFFF\'">Jammu</font></p>');
	document.write('</td><td width="25%" bgColor=#1BB885><p align="center"><a href=kashmir.html class=link>Kashmir</a></p></td><td width="28%" id=la><p align="center"><a href=ladakh.html class=home onMouseOver = "la.bgColor=\'#E9617C\'" onMouseOut = "la.bgColor=\'#FFFFFF\'">Ladakh</a></p></td></tr></table></td></tr>');
}
function jammuheader()
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td colspan="2" align="right"><table border="0" cellpadding="0" cellspacing="1" width="60%"><tr height=4>');
   	document.write('<td width="22%" bgcolor="#56758B"></td><td width="25%" bgcolor="#FF9751"></td><td width="25%" bgcolor="#1BB885"></td>');
   	document.write('<td width="28%" bgcolor="#E9617C"></td></tr><tr height=20>');
	document.write('<td width="22%" id=ho><p align="center"><a href=index.html class=home onMouseOver = "ho.bgColor=\'#56758B\'" onMouseOut = "ho.bgColor=\'#FFFFFF\'">Home</a></p></td><td width="25%" id=ja bgColor=#FF9751><p align="center"><a href=jammu.html class=link>Jammu</font></p>');
	document.write('</td><td width="25%" id=ka><p align="center"><a href=# class=home onMouseOver = "ka.bgColor=\'#1BB885\'" onMouseOut = "ka.bgColor=\'#FFFFFF\'">Kashmir</a></p></td><td width="28%" id=la><p align="center"><a href=ladakh.html class=home onMouseOver = "la.bgColor=\'#E9617C\'" onMouseOut = "la.bgColor=\'#FFFFFF\'">Ladakh</a></p></td></tr></table></td></tr>');
}
function ladakhheader()
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td colspan="2" align="right"><table border="0" cellpadding="0" cellspacing="1" width="60%"><tr height=4>');
   	document.write('<td width="22%" bgcolor="#56758B"></td><td width="25%" bgcolor="#FF9751"></td><td width="25%" bgcolor="#1BB885"></td>');
   	document.write('<td width="28%" bgcolor="#E9617C"></td></tr><tr height=20>');
	document.write('<td width="22%" id=ho><p align="center"><a href=index.html class=home onMouseOver = "ho.bgColor=\'#56758B\'" onMouseOut = "ho.bgColor=\'#FFFFFF\'">Home</a></p></td><td width="25%" id=ja><p align="center"><a href=jammu.html class=home onMouseOver = "ja.bgColor=\'#FF9751\'" onMouseOut = "ja.bgColor=\'#FFFFFF\'">Jammu</font></p>');
	document.write('</td><td width="25%" id=ka><p align="center"><a href=kashmir.html class=home onMouseOver = "ka.bgColor=\'#1BB885\'" onMouseOut = "ka.bgColor=\'#FFFFFF\'">Kashmir</a></p></td><td width="28%" id=la bgcolor=#E9617C><p align="center"><a href=ladakh.html class=link>Ladakh</a></p></td></tr></table></td></tr>');
}
function homeheader()
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td colspan="2" align="right"><table border="0" cellpadding="0" cellspacing="1" width="60%"><tr height=4>');
   	document.write('<td width="22%" bgcolor="#56758B"></td><td width="25%" bgcolor="#FF9751"></td><td width="25%" bgcolor="#1BB885"></td>');
   	document.write('<td width="28%" bgcolor="#E9617C"></td></tr><tr height=20>');
	document.write('<td width="22%" id=ho bgColor=#56758B><p align="center"><a href=index.html class=link>Home</a></p></td><td width="25%" id=ja><p align="center"><a href=jammu.html class=home onMouseOver = "ja.bgColor=\'#FF9751\'" onMouseOut = "ja.bgColor=\'#FFFFFF\'">Jammu</font></p>');
	document.write('</td><td width="25%" id=ka><p align="center"><a href=kashmir.html class=home onMouseOver = "ka.bgColor=\'#1BB885\'" onMouseOut = "ka.bgColor=\'#FFFFFF\'">Kashmir</a></p></td><td width="28%" id=la><p align="center"><a href=ladakh.html class=home onMouseOver = "la.bgColor=\'#E9617C\'" onMouseOut = "la.bgColor=\'#FFFFFF\'">Ladakh</a></p></td></tr></table></td></tr>');
}

/***
function header()
{
	document.write('<tr><td width="179"><img border="0" src="images/logo.gif" width="179" height="59"></td><td width="193" valign="top"><table width=97%><tr><td width=100% align=right><a href=booktour.html class=toplink>Book a tour</a></td></tr><tr><td width=100% align=right><a href=contactus.html class=toplink>Contact us</a></td></tr></table></td></tr></table>');
}***/

function footer()
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="750"><tr><td width="70%"><p align="right"><font size="1" face="Verdana"><br>');
	document.write('© Copyright <a href="http://www.kashmirmart.com" target="_blank">kasmirmart.com</a> &nbsp;&nbsp;&nbsp;Powered By <a href=http://emavens.com target="_blank">eMaven Solutions</a></font></td><td align=right><font size="1" face="Verdana"><br><a href=ouraffiliates.html>Links</a></font></tr></table>');
}
function validForm()
{
	if(document.frm.name.value=='')
	{
		alert("Please enter name");
		document.frm.name.focus();
		return false;
	}
	if(document.frm.email.value=='')
	{
		alert("Please enter Email Id");
		document.frm.email.focus();
		return false;
	}
	
	if(document.frm.phone.value=='')
	{
		alert("Please enter your contact no.");
		document.frm.phone.focus();
		return false;
	}
	if(isNaN(document.frm.phone.value))
	{
		alert("Contact No. is not valid");
		document.frm.phone.focus();
		return false;
	}
	if(document.frm.country.value=='')
	{
		alert("Please enter your country.");
		document.frm.country.focus();
		return false;
	}
	if(document.frm.day.value==0)
	{
		alert("Please enter date of birth");
		document.frm.day.focus();
		return false;
	}
	if(document.frm.month.value==0)
	{
		alert("Please enter month of birth");
		document.frm.month.focus();
		return false;
	}
	if(document.frm.year.value==0)
	{
		alert("Please enter year of birth");
		document.frm.year.focus();
		return false;
	}
	if(document.frm.month.value==4 || document.frm.month.value==6 || document.frm.month.value==9 || document.frm.month.value==11)
	{
		if(document.frm.day.value==31)
		{
			alert("Please enter coorect date");
			document.frm.day.focus();
			return false;
		}
	}
	if(document.frm.month.value==2)
	{
		if(document.frm.year.value%4==0)
		{
			if(document.frm.day.value>29)
			{
				alert("Please enter coorect date");
				document.frm.day.focus();
				return false;
			}
		}
		else
		{
			if(document.frm.day.value>28)
			{
				alert("Please enter coorect date");
				document.frm.day.focus();
				return false;
			}
		}		
	}	
	

	if(document.frm.duration.value=='')
	{
		alert("Please enter Duration of travel");
		document.frm.duration.focus();
		return false;
	}
	if(isNaN(document.frm.duration.value))
	{
		alert("Duration of travel is not valid");
		document.frm.duration.focus();
		return false;
	}
	if(document.frm.message.value=='')
	{
		alert("Please enter your message");
		document.frm.message.focus();
		return false;
	}
}
