function popup(theURL, winName,features)
{
	window.open(theURL, winName,features);
}


function cambiar_select()
{
	//alert("entro"+document.form.ciudadE.value);
	document.form.ciudadD.value=document.form.ciudadE.value;	
}

function cambiar_fecha()
{
	//alert("dd"+document.form.diaEnt.value);
	document.form.diaDev.value=document.form.diaEnt.value;	
}

function cambiar_mes()
{
	document.form.mesDev.value=document.form.mesEnt.value;	
}

function cambiar_year()
{
	document.form.yearDev.value=document.form.yearEnt.value;	
}

function validar(formu)
{
	//alert("llego: "+formu.HoraEnt.value);
	if((formu.yearEnt.value==formu.yearDev.value)&&(formu.mesEnt.value==formu.mesDev.value)&&(formu.diaEnt.value==formu.diaDev.value))
	{
	
	}
	else
	{
		
		if(formu.HoraEnt.value<formu.HoraDev.value)
		{
			alert("Quote is made on a 24 hour basis, extra hours will be charged on a prorate basis.");
		}
		else
		{
				
		}
	}
	formu.submit();
	return true;
}