// JavaScript Document
function verifica(form)
{
	// EL SELECTEDINDEX TIRA UN NUMERO EL CUAL ES EL SELECCIONADO, DE ESTAR EN 0, ES LA PRIMERA SELLECION
	if (document.form_carretero.list_destino.selectedIndex==0 && document.form_carretero.list_carga.selectedIndex==0)
	{
		alert("Por favor, ingrese algún dato para realizar la busqueda"); 
		return; 
	}
	if (document.form_carretero.list_destino.selectedIndex==0){
		alert("Por favor ingrese un Destino");
		document.form_carretero.list_destino.focus();
		return; 
	}
	if (document.form_carretero.list_carga.selectedIndex==0){
		alert("Por favor ingrese un Tipo de Carga");
		document.form_carretero.list_carga.focus(); 
		return; 
	}
	// REALIZAR ACCION DE PHP
	form.submit();
}
