var aj_ka_tarikh;
                            monthName = new Array(12)
					monthName[0] = 'January';
					monthName[1] = 'February';
					monthName[2] = 'March';
					monthName[3] = 'April';
					monthName[4] = 'May';
					monthName[5] = 'June';
					monthName[6] = 'July';
					monthName[7] = 'August';
					monthName[8] = 'September';
					monthName[9] = 'October';
					monthName[10] = 'November';
					monthName[11] = 'December';
                 			today =new Date();
aj_ka_tarikh=("<font face=tahoma size=2px color=#ffffff>"+today.getDate()+ " " +monthName[today.getMonth()]
+" "+today.getFullYear()+"</font>");

function show5(){
if (!document.layers&&!document.all&&!document.getElementById)
return;

 var d=new Date()
 var hours=d.getHours()
 var minutes=d.getMinutes()
 var seconds=d.getSeconds()

var dn="PM"
if (hours<12)
dn="AM"
if (hours>12)
hours=hours-12
if (hours==0)
hours=12

 if (minutes<=9)
 minutes="0"+minutes
 if (seconds<=9)
 seconds="0"+seconds
myclock="<font size='2' face='tahoma' color='#ffffff' >"+hours+":"+minutes+":"+seconds+" "+dn+"</font>"

if (document.layers){
document.layers.document.write(myclock)
document.layers.document.close()
}
else if (document.all)
liveclock.innerHTML=myclock

else if (document.getElementById)
document.getElementById("liveclock").innerHTML=myclock

setTimeout("show5()",1000)
 }

function goNow()
{
if (document.myfrm.mySe.options[document.myfrm.mySe.selectedIndex].value=="-")
{ alert("Please select a HOTEL");
  return; }
else 
(location=document.myfrm.mySe.options[document.myfrm.mySe.selectedIndex].value)
}

function arindam()
{
if(document.hit.ok.options[document.hit.ok.selectedIndex].value=="--")
{alert ("Please select a HOTEL");
return;}
else 
location=document.hit.ok.options[document.hit.ok.selectedIndex].value
}

function go2A()
{
if (document.myF.myC.options[document.myF.myC.selectedIndex].value=="ham")
alert ("Select an local attraction to GO")
else 
{location=document.myF.myC.options[document.myF.myC.selectedIndex].value;
return false;
}
}

function ami()
{
window.open("form.html","h","menubar=0,width=270,height=160,scrollbars=yes,border=0,resizeable=0,left=200,top=200")
}

function arindamC()
{
window.open("b.html","h","menubar=0,width=470,height=260,scrollbars=yes,border=0,resizeable=0,left=0,top=0")
}






function openPrinterVersion(getPath,getTitle,wWidth,wHeight)
{
window.open(getPath,getTitle,"width="+wWidth+",height="+wHeight+",resizeable=0,top=10,left=20,scrollbars=yes")

}


var winSize
winSize="menubar=0,width=514,height=370,scrollbars=yes,border=0,resizeable=0,left=0,top=0"
function openLocationMap(getPath,getTitle)
{
window.open(getPath,getTitle,winSize)
}


function poparindamDbyU()
{
if ((document.dirFrm.dirSec[document.dirFrm.dirSec.selectedIndex].value)=="keya")
alert ("please select one CHOICE given bellow");
else 
{var arindam
arindam=document.dirFrm.dirSec[document.dirFrm.dirSec.selectedIndex].value
window.open(arindam,"h","menubar=0,width=600,height=260,scrollbars=yes,border=0,resizeable=0")
}}

function ChkDetails(sut)
{
if ((sut.opt[sut.opt.selectedIndex].value)=="?")
{alert("Please select a title");
sut.opt.focus();
 return false;
 }
else if (sut.nam.value=="")
{
alert("Please type your Name");
sut.nam.focus();
return false;
}
else if((sut.eid.value=="")||(sut.eid.value.indexOf(".")=="-1")||(sut.eid.value.indexOf("@")=="-1"))
{
alert("Please type your Correct Email Id");
sut.eid.focus();
return false;
}

else if((sut.remak.value=="")||(sut.remak.value.length<=10 ))
{
alert("We need your Valuable comment");
sut.remak.focus();
return false;
}
}


function myFormDetails(hamted)
{
if ((hamted.opt[hamted.opt.selectedIndex].value)=="?")
{alert("Please select a title");
hamted.opt.focus();
 return false;
 }
else if (hamted.nam.value=="")
{
alert("Please type your Name");
hamted.nam.focus();
return false;
}
else if((hamted.eid.value=="")||(hamted.eid.value.indexOf(".")=="-1")||(hamted.eid.value.indexOf("@")=="-1"))
{
alert("Please type your Correct Email Id");
hamted.eid.focus();
return false;
}

else if((hamted.remak.value=="")||(hamted.remak.value.length<=10 ))
{
alert("We need your Valuable comment");
hamted.remak.focus();
return false;
}
}




function myFormDetailscis(cis)
{
if ((cis.opt[cis.opt.selectedIndex].value)=="?")
{alert("Please select a title");
cis.opt.focus();
 return false;
 }
else if (cis.nam.value=="")
{
alert("Please type your Name");
cis.nam.focus();
return false;
}
else if((cis.eid.value=="")||(cis.eid.value.indexOf(".")=="-1")||(cis.eid.value.indexOf("@")=="-1"))
{
alert("Please type your Correct Email Id");
cis.eid.focus();
return false;
}

else if((cis.remak.value=="")||(cis.remak.value.length<=10 ))
{
alert("We need your Valuable comment");
cis.remak.focus();
return false;
}
}





function myFormDetailshilgate(noting)
{
if ((noting.opt[noting.opt.selectedIndex].value)=="?")
{alert("Please select a title");
noting.opt.focus();
 return false;
 }
else if (noting.nam.value=="")
{
alert("Please type your Name");
noting.nam.focus();
return false;
}
else if((noting.eid.value=="")||(noting.eid.value.indexOf(".")=="-1")||(noting.eid.value.indexOf("@")=="-1"))
{
alert("Please type your Correct Email Id");
noting.eid.focus();
return false;
}

else if((noting.remak.value=="")||(noting.remak.value.length<=10 ))
{
alert("We need your Valuable comment");
noting.remak.focus();
return false;
}
}






function myFormDetailspaddington(pading)
{
if ((pading.opt[pading.opt.selectedIndex].value)=="?")
{alert("Please select a title");
pading.opt.focus();
 return false;
 }
else if (pading.nam.value=="")
{
alert("Please type your Name");
pading.nam.focus();
return false;
}
else if((pading.eid.value=="")||(pading.eid.value.indexOf(".")=="-1")||(pading.eid.value.indexOf("@")=="-1"))
{
alert("Please type your Correct Email Id");
pading.eid.focus();
return false;
}

else if((pading.remak.value=="")||(pading.remak.value.length<=10 ))
{
alert("We need your Valuable comment");
pading.remak.focus();
return false;
}
}



function printMenow()
{
window.print();

}


function kholWindo()
	{
window.open("bookOur_Hotels.html","","width=500,height=200,menubar=0")
	}


function loader(){
		
		var checkindate = new Date();
		var ArrivalMonth = checkindate.getUTCMonth();
		var ArrivalDay = checkindate.getUTCDate();

		document.frmMain.ArrivalMonth.selectedIndex = ArrivalMonth;
		document.frmMain.ArrivalDay.selectedIndex = ArrivalDay-1;
				}



// subMenu  for Direction start from here

//
function openPopWindow(myUrl,myTitle)
{
window.open (myUrl,myTitle,"width=450,height=300,scrollbars=2")

}






function checkBrowser()
{
	var navName=navigator.appName
	var trueBrowser

	if (navName=="Microsoft Internet Explorer") 
		(trueBrowser=true)
	else if (navName=="Netscape") 
			(trueBrowser=true)
	else
		(trueBrowser=false)
		
	if (trueBrowser==false)
		{
		var openBrowserWindow
		openBrowserWindow=window.open("browserType.html","BrowserType","width=410px,height=280px,top=10px,left=10,toolsbars=0")
		openBrowserWindow.focus()
		}
}


