//-------EFECTO DE CAMBIO DE COLOR DE LAS FILAS -------------------
			function mOvr(src) {
				src.style.cursor = 'pointer';
				src.bgColor = '#BAC3DA';
			}

			function mOut(src) {
				src.style.cursor = 'default';
				src.bgColor = '#eeeeee';
			}

//----------CREO EL OBJETO AJAX----------------------------------------------------
				function ajaxobj() {
					try {
								_ajaxobj = new ActiveXObject("Msxml2.XMLHTTP");
					} catch (e) {
								try {
											_ajaxobj = new ActiveXObject("Microsoft.XMLHTTP");
								} catch (E) {
											_ajaxobj = false;
								}
					}
					if (!_ajaxobj && typeof XMLHttpRequest!='undefined') {
								_ajaxobj = new XMLHttpRequest();
					}
					return _ajaxobj;
				}


		function validoenter(comp){
			tecla=(document.all) ? comp.keyCode : comp.which;
			if(tecla==13) {
				window.event.keyCode=0;
				alert("has apretado intro");
			}
		}

				function muestroEnlaces(pais){
					oenlaces		=document.getElementById('enlaces');
					oAjax		= new ajaxobj();
					funcion		='listo_linkPaises';
					funcion_send	='funcion='+funcion;
					valores_send	='&pais='+pais;
					url			='js/funciones.php?'+funcion_send+valores_send;
					oAjax.open('GET',url,true);
					valores='';
						oAjax.onreadystatechange=function(){
							if (oAjax.readyState==4){
									if(oAjax.status==200){
											valores	=oAjax.responseText;
											oenlaces.innerHTML='';
											oenlaces.innerHTML=valores;
									}
									if(oAjax.status==404){
										alert ("no se encontro la URL");
									}

							}
						}
					oAjax.send(null);
				}

				function muestroOtrasCajas(provincia){
					oenlaces		=document.getElementById('enlaces');
					oAjax		= new ajaxobj();
					funcion		='listo_otrasCajas';
					funcion_send	='funcion='+funcion;
					valores_send	='&provincia='+provincia;
					url			='js/funciones.php?'+funcion_send+valores_send;
					oAjax.open('GET',url,true);
					valores='';
						oAjax.onreadystatechange=function(){
							if (oAjax.readyState==4){
									if(oAjax.status==200){
											valores	=oAjax.responseText;
											oenlaces.innerHTML='';
											oenlaces.innerHTML=valores;
									}
									if(oAjax.status==404){
										alert ("no se encontro la URL");
									}

							}
						}
					oAjax.send(null);
				}

