function FindHotel()
{
	if(document.req.HTLCITY.value!='')
	{
	var valor;
	var ckindate=eval(document.req.Dept_Month.value)+1;
	var ckotdate=eval(document.req.Ret_Month.value)+1;
	var today = new Date();
	var month = today.getMonth();
	var year  = today.getYear();
	var dia = today.getDay();
	valor="http://explorer.lynxtechnology.net/CGIDEVPGM/BUILD.PGM/0002430115/?COMPANY=PSAEROS_ES&compcode=AG&rqsttype=hotelavail&";
	valor=valor + "ckindate=" + ckindate + "%2F" + document.req.Dept_Day.value + "%2F0" +  document.req.Ret_Year.value +"&";
	valor=valor + "ckotdate=" + ckotdate + "%2F" + document.req.Ret_Day.value + "%2F0" + document.req.Ret_Year.value +"&reqprid=&";
	valor=valor + "txtname=HTLCITY&sysdate1=" +  month+""+dia+""+year +"&PLSID=" + document.req.plsid.value + "&PLSemail=" + document.req.plsemail.value;
	valor=valor + "&HTLCITY=" + document.req.HTLCITY.value;
	valor=valor + "&Dept_Month=" + document.req.Dept_Month.value;
	valor=valor + "&Dept_Day=" + document.req.Dept_Day.value;
	valor=valor + "&Dept_Year=" + document.req.Dept_Year.value;
	valor=valor + "&Ret_Month=" + document.req.Ret_Month.value;
	valor=valor + "&Ret_Day=" + document.req.Dept_Day.value;
	valor=valor + "&Ret_Year=" + document.req.Ret_Year.value;
	valor=valor + "&maxamt=&persons=2&childs=&chdage1=&chdage2=&chdage3=&chdage4=&chdage5=&chdage6=&chdage7=&chdage8=&chdage9=&bedtype=+&htlarea=+&htlchain=++&htlsort=name&htlavail=30";

	abrirNueva(valor);
	}
	else
	{
		alert('Ingrese Ciudad');
	}
}
function verHotelLlegada()
{
	window.open("HotelLLegada/a.htm","","width=600,height=450,scrollbars=YES");
}
function abrirNueva(URL)
{
	day=new Date();
	id=day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=800,height=600,left = 50,top = 75');");
}