function GoURL(Valor){
	window.open('go.php?url='+Valor,'Externo');
}

function Ventana(Valor){
	window.open("../../../../../"+Valor,'Galerias',"fullscreen=yes");
}

function Go(Valor){
	window.location.href=Valor;
}

function Go2(Valor){
	window.location.href=Valor;
}

function SelectSearch(form){
			form.submit();
	//window.location.replace(Valor);
}

/*
function AgregarFavoritos(Valor,Titulo){
   if (window.external) {
      window.external.AddFavorite(Valor,Titulo);
   }
   else  if(window.sidebar) {
		window.sidebar.addPanel(Titulo, Valor,"");
        // alert ("Presione Crtl+D para agregar este sitio en sus Bookmarks");
   }
} */

function AgregarFavoritos(url,title){
  
 if(window.sidebar){ // Firefox
     window.sidebar.addPanel(title, url,''); }
   else if(document.all){ //IE
     window.external.AddFavorite(url, title);
   } else { 
     var elem = document.createElement('a');
		alert ("Click en \"Más detalle\" y luego presione CONTROL + D");
   }
 }
function Contactenos(form){
	if(form.frmName.value=="")
		{alert('Por favor introduzca su nombre.');form.frmName.focus();return;}
	if(form.frmMail.value=="")
		{alert('Por favor introduzca su correo electronico.');form.frmMail.focus();return;}
	if(form.frmContactar.value=="")
		{alert('Por favor seleccione al departamento a contactar.');form.frmContactar.focus();return;}
	if(form.frmAsunto.value=="")
		{alert('Por favor introduzca el motivo del contacto.');form.frmAsunto.focus();return;}
	if(form.frmMensaje.value=="")
		{alert('Por favor introduzca su mensaje.');form.frmMensaje.focus();return;}
	if(form.frmSecurity.value=="")
		{alert('Por favor introduzca la imagen de seguridad.');form.frmSecurity.focus();return;}
	form.submit();
 }
 
/*********************************************************************
	Solo Numeros
**********************************************************************/
var nav4 = window.Event ? true : false;

function acceptNum(evt){	
// NOTE: Backspace = 8, Enter = 13, '0' = 48, '9' = 57	
var key = nav4 ? evt.which : evt.keyCode;	
return (key <= 13 || key == 46 || (key >= 48 && key <= 57));

}