function select_linea(){	
	var marca=$("marca").options[$("marca").selectedIndex].value;
	var exescr= new Ajax.Updater("linea",  "ajax/select_linea.php?marca="+marca, {asynchronous:true, evalScripts: true});
}
function select_departamento(){	
	var pais=$("pais").options[$("pais").selectedIndex].value;
	var exescr= new Ajax.Updater("spdepartamento",  "ajax/select_departamento.php?pais="+pais, {asynchronous:true, evalScripts: true});
}
function select_municipio(){	
	var vpais=$("pais").options[$("pais").selectedIndex].value;
	var vdepartamento=$("departamento").options[$("departamento").selectedIndex].value;
	var exescr= new Ajax.Updater("spmunicipio",  "ajax/select_municipio.php?pais="+vpais+"&departamento="+vdepartamento, {asynchronous:true, evalScripts: true});
}
function select_lugar(){	
	var vpais=$("pais").options[$("pais").selectedIndex].value;
	var vdepartamento=$("departamento").options[$("departamento").selectedIndex].value;
	var vmunicipio=$("municipio").options[$("municipio").selectedIndex].value;	
	var exescr= new Ajax.Updater("splugar",  "ajax/select_lugar.php?pais="+vpais+"&departamento="+vdepartamento+"&municipio="+vmunicipio, {asynchronous:true, evalScripts: true});
}
/*
 
 Detalles de error de página web

Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Fecha: Fri, 5 Feb 2010 03:54:52 UTC


Mensaje: El objeto no acepta esta propiedad o método
Línea: 11
Carácter: 2
Código: 0
URI: http://localhost/infobeacon/ajax/ajax.js
Detalles de error de página web

Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Fecha: Sat, 3 Apr 2010 20:15:31 UTC


Mensaje: Error de sintaxis
Línea: 1
Carácter: 1
Código: 0
URI: http://infobeacon.infocase-eu.com/Scripts/swfobject_modified.js


Mensaje: El objeto no acepta esta propiedad o método
Línea: 12
Carácter: 2
Código: 0
URI: http://infobeacon.infocase-eu.com/ajax/ajax.js


*/

