<!--Impide refrescar-->
   document.onkeydown = function(){ 
    if(window.event && window.event.keyCode == 116){ 
     window.event.keyCode = 505; 
    } 
    if(window.event && window.event.keyCode == 505){ 
     return false;     
    } 
   } 

 <!--Escuchar Demos-->
function demo(URL) 
{
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=250,height=175,left = 0,top = 0');");
}
function carpetilla(URL) 
{
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=1000,height=700,left = 0,top = 0');");
}


<!--Valida Formulario Boletin-->
function Verif(theForm)
{   
	    email=theForm.email.value;
	if (email.indexOf('@',0)==-1 || email.indexOf('.',0)==-1
		|| email.indexOf(' ',0)!=-1 || email.indexOf('/',0)!=-1
		|| email.indexOf(';',0)!=-1 || email.indexOf('<',0)!=-1
		|| email.indexOf('>',0)!=-1 || email.indexOf('*',0)!=-1
		|| email.indexOf('|',0)!=-1 || email.indexOf('`',0)!=-1
		|| email.indexOf('&',0)!=-1 || email.indexOf('$',0)!=-1
		|| email.indexOf('!',0)!=-1 || email.indexOf('"',0)!=-1
		| email.indexOf('á',0)!=-1 || email.indexOf('é',0)!=-1
		| email.indexOf('í',0)!=-1 || email.indexOf('ó',0)!=-1
		| email.indexOf('ú',0)!=-1 || email.indexOf('ñ',0)!=-1
		|| email.indexOf(':',0)!=-1) 
		{
			alert("Revisa tu E-mail. \nNo: > / ; < > * | etc...\n Mira También: @ .");
		theForm.email.focus();      
		return (false);     
	}




	if (theForm.password.value.length < 6)
  {
    alert("Min. 6 Caracteres en \"Contraseña\".");
    theForm.password.focus();
    return (false);
  }

  if (theForm.password.value.length > 10)
  {
    alert("Max. 10 Caracteres en \"Contraseña\".");
    theForm.password.focus();
    return (false);
  }
		return (true);   
}

<!--Valida Formulario Buscar-->
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.buscando.value == "")
  {
    alert("No hay nada escrito en \"Buscar\".");
    theForm.buscando.focus();
    return (false);
  }

  if (theForm.buscando.value.length < 4)
  {
    alert("Min. 4 Caracteres en \"Buscar\".");
    theForm.buscando.focus();
    return (false);
  }

  if (theForm.buscando.value.length > 15)
  {
    alert("Max. 15 Caracteres en \"Buscar\".");
    theForm.buscando.focus();
    return (false);
  }
  return (true);
}

function Validar_Tarjeta(theForm)
{
  if (theForm.tarjetaNumero.value == "" || theForm.tarjetaNumero.value == " ")
  {
    alert("El campo \"Nº Tarjeta\" está sin rellenar");
    theForm.tarjetaNumero.focus();
    return (false);
  }

  if (theForm.tarjetaNumero.value.length < 16)
  {
    alert("El campo \"Nº Tarjeta\" debe contener 16 dígitos");
    theForm.tarjetaNumero.focus();
    return (false);
	  }

  if (theForm.caducidad.value == "" || theForm.caducidad.value == " ")
  {
    alert("El campo \"Caducidad\" está sin rellenar");
    theForm.caducidad.focus();
    return (false);
  }

  if (theForm.caducidad.value.length < 4)
  {
    alert("El campo \"Caducidad\" debe contener 4 dígitos");
    theForm.caducidad.focus();
    return (false);
	  }
  return (true);
}




function Pedido_Validator(theForm)
{
	
		    email=theForm.email.value;
	if (email.indexOf('@',0)==-1 || email.indexOf('.',0)==-1
		|| email.indexOf(' ',0)!=-1 || email.indexOf('/',0)!=-1
		|| email.indexOf(';',0)!=-1 || email.indexOf('<',0)!=-1
		|| email.indexOf('>',0)!=-1 || email.indexOf('*',0)!=-1
		|| email.indexOf('|',0)!=-1 || email.indexOf('`',0)!=-1
		|| email.indexOf('&',0)!=-1 || email.indexOf('$',0)!=-1
		|| email.indexOf('!',0)!=-1 || email.indexOf('"',0)!=-1
		| email.indexOf('á',0)!=-1 || email.indexOf('é',0)!=-1
		| email.indexOf('í',0)!=-1 || email.indexOf('ó',0)!=-1
		| email.indexOf('ú',0)!=-1 || email.indexOf('ñ',0)!=-1
		|| email.indexOf(':',0)!=-1) 
		{
			alert("Revisa tu Direección de E-mail. \nNo > / ; < > * | etc...\n Revisa tanbién: @ .");
		theForm.email.focus();      
		return (false);     
	}

	if (theForm.password.value.length < 6)
  {
    alert("Min. 6 Caracteres en \"Contraseña\".");
    theForm.password.focus();
    return (false);
  }

  if (theForm.password.value.length > 10)
  {
    alert("Max. 10 Caracteres en \"Contraseña\".");
    theForm.password.focus();
    return (false);
  }

  if (theForm.nombre.value == "" || theForm.nombre.value == " " )
  {
    alert("El campo \"Nombre\" está sin rellenar");
    theForm.nombre.focus();
    return (false);
  }

  if (theForm.apellido_1.value == "" || theForm.apellido_1.value == " ")
  {
    alert("El campo \"Apellidos\" está sin rellenar");
    theForm.apellido_1.focus();
    return (false);
  }

  

 	if (theForm.direccion.value == "" || theForm.direccion.value == " ")
	  { alert("El campo \"Dirección\" está sin rellenar");
  	  theForm.direccion.focus();
 	   return (false);
	}

 	if (theForm.codePost.value == "" || theForm.codePost.value == " ")
	  { alert("El campo \"Cód. Postal\" está sin rellenar");
  	  theForm.codePost.focus();
 	   return (false);
	}

 	if (theForm.poblacion.value == "" || theForm.poblacion.value == " ")
	  { alert("El campo \"Población\" está sin rellenar");
  	  theForm.poblacion.focus();
 	   return (false);
	}


 	if (theForm.provincia.value == "" || theForm.provincia.value == " ")
	  { alert("El campo \"Provincia\" está sin rellenar");
  	  theForm.provincia.focus();
 	   return (false);
	}
	
	if (theForm.pais.value == "" || theForm.pais.value == " ")
	  { alert("El campo \"País\" está sin rellenar");
  	  theForm.pais.focus();
 	   return (false);
	}
  return (true);
}
<!--

function acceptNum(evt){	
var nav4 = window.Event ? true : false;
// NOTE: Backspace = 8, Enter = 13, '0' = 48, '9' = 57	
var key = nav4 ? evt.which : evt.keyCode;	
return (key <= 13 || (key >= 48 && key <= 57));
}
//-->
