		//document.fvalida.interes.focus() <BR>
		var navVer = navigator.appVersion;
		if(navVer.substr(0,3) >= 4){
			if((navigator.appName=="Netscape") && (parseInt(navigator.appVersion)==4)) {
			document.write('<' + 'link href="../estilos/nestilos.css" rel="stylesheet" type="text/css">');
			} else {
			document.write('<' + 'link href="../estilos/eestilos.css" rel="stylesheet" type="text/css">');
			}
		}

		var swOK=0;
		var nEle=0;
		var sError='';
		
			
		function validar()
		{
			var nTot=0;		
			sError='';
		
			//Validación Pagina de Registro
			
			var marcado = "no";
			with (document.form1)
			{
				for ( var i = 0; i < Edad.length; i++ ) 
				{
					if ( Edad[i].checked )
					{
					marcado = "si";
					}
				}
				if ( marcado == "no" )
				{
					sError+="Debe Especificar su Edad." +"\n";
					swOK=1;
					nTot+=swOK;
				}
			}
			
			if (document.form1.Estado.selectedIndex==0)
			{
				sError+="Debe Especificar el Estado donde Reside." +"\n";
				swOK=1;
				nTot+=swOK;
			}
			
			var marcado = "no";
			with (document.form1)
			{
				for ( var i = 0; i < Sexo.length; i++ ) 
				{
					if ( Sexo[i].checked )
					{
					marcado = "si";
					}
				}
				if ( marcado == "no" )
				{
					sError+="Debe Especificar su sexo." +"\n";
					swOK=1;
					nTot+=swOK;
				}
			}
			
			
			CaracterNoValid("Email",document.form1.Email.value,'Er');
			nTot+=swOK;		
			
			var marcado = "no";
			with (document.form1)
			{
				for ( var i = 0; i < Tiempo.length; i++ ) 
				{
					if ( Tiempo[i].checked )
					{
					marcado = "si";
					}
				}
				if ( marcado == "no" )
				{
					sError+="Debe Especificar Cuanto Tiempo tiene Ud. siendo Cliente Banesco." +"\n";
					swOK=1;
					nTot+=swOK;
				}
			}
			
			var marcado = "no";
			with (document.form1)
			{
				for ( var i = 0; i < Civil.length; i++ ) 
				{
					if ( Civil[i].checked )
					{
					marcado = "si";
					}
				}
				if ( marcado == "no" )
				{
					sError+="Debe Especificar su Estado Civil." +"\n";
					swOK=1;
					nTot+=swOK;
				}
			}
			
			var marcado = "no";
			with (document.form1)
			{
				for ( var i = 0; i < Ingresos.length; i++ ) 
				{
					if ( Ingresos[i].checked )
					{
					marcado = "si";
					}
				}
				if ( marcado == "no" )
				{
					sError+="Debe Especificar su Nivel de Ingresos." +"\n";
					swOK=1;
					nTot+=swOK;
				}
			}
			
			var marcado = "no";
			with (document.form1)
			{
				for ( var i = 0; i < Instruccion.length; i++ ) 
				{
					if ( Instruccion[i].checked )
					{
					marcado = "si";
					}
				}
				if ( marcado == "no" )
				{
					sError+="Debe Especificar su Grado de Instrucci\u00F3n." +"\n";
					swOK=1;
					nTot+=swOK;
				}
			}
			
			error(nTot);
		}
		
		//Validación Primera Pagina
		
		function validar_Primera()
		{
			var nTot=0;		
			sError='';
			
            //Pregunta 1
			var marcado = "no";
			with (document.form1)
			{
				for ( var i = 0; i < billete.length; i++ ) 
				{
					if ( billete[i].checked )
					{
					marcado = "si";
					}
				}
				if ( marcado == "no" )
				{
					sError+="Debe Especificar: ¿Cuál de los siguientes héroes patrios aparece en el actual billete de Bs. 10000?" +"\n";
					swOK=1;
					nTot+=swOK;
				}
			}

			//Pregunta 2
			var marcado = "no";
			with (document.form1)
			{
				for ( var i = 0; i < oficial.length; i++ ) 
				{
					if ( oficial[i].checked )
					{
					marcado = "si";
					}
				}
				if ( marcado == "no" )
				{
					sError+="Debe Especificar: Actualmente ¿Cuáles son los tipos de cambios de Dólar oficial establecidos por el Estado?" +"\n";
					swOK=1;
					nTot+=swOK;
				}
			}
			
            //Pregunta 3
			var marcado = "no";
			with (document.form1)
			{
				for ( var i = 0; i < tributaria.length; i++ ) 
				{
					if ( tributaria[i].checked )
					{
					marcado = "si";
					}
				}
				if ( marcado == "no" )
				{
					sError+="Debe Especificar: ¿El nuevo valor de la unidad tributaria establecida para el año 2010 es de Bs.?" +"\n";
					swOK=1;
					nTot+=swOK;
				}
			}
			error(nTot);
		}

		
		//Validación Segunda Pagina
			
			//Pregunta 4

		    function validar_Segunda()
            {
			var nTot=0;	
			var j=0;	
			sError='';

			with (document.form1)
			{
				if ( ninguno.checked )
						{
						j++;
						}	
			}			
			if (j<=0)
                {
				CaracterNoValid("¿Qué opinión tiene tiene sobre el sistema de seguridad para realizar sus operaciones bancarias a través de Internet / BanescOnline?",document.form1.opinion.value,'Sr');
				nTot+=swOK;
				swOK=1;
				}

			//Pregunta 5

			var marcado = "no";
			with (document.form1)
			{
				for ( var i = 0; i < escala.length; i++ ) 
				{
					if ( escala[i].checked )
					{
					marcado = "si";
					}
				}
				if ( marcado == "no" )
				{
					sError+="Debe Especificar en una escala: ¿Cómo se siente usted con relación al sistema de seguridad para realizar sus operaciones bancarias a través de Internet?" +"\n";
					swOK=1;
					nTot+=swOK;
				}
			}			
			
			//Pregunta 6
			{
            j=0;	
			
			with (document.form1)
			{
				if ( multicredito.checked )
						{
						j++;
						}
				if ( pague.checked )
						{
						j++;
						}
				if ( seguridad.checked )
						{
						j++;
						}
				if ( descuentos.checked )
						{
						j++;
						}
				if ( ninguna.checked )
						{
						j++;
						}
		        }
		        if (j<1)			
                    {
				    sError+="Debe Seleccionar al menos (1 Opción / Máximo 3): ¿Cuáles de las siguientes campañas Ud. ha visto en la página Web de Banesco en los últimos tres (3) meses?" +"\n";
				    swOK=1;
				    nTot+=swOK;
				    }
			    else if (j>3)
			        {
				    sError+="Nota: Ha ocurrido un error en la pregunta Nro. 6.?.. Tiene que corregir los elementos seleccionado, porque acaba de superar el máximo de respuesta que esta permitido, favor intente señalar un máximo 3 características..." +"\n";
				    swOK=1;
				    nTot+=swOK;
				    }
		    
			}
		error(nTot);
	}

	
			function validar_Segundai()
            {
			var nTot=0;	
			var j=0;	
			sError='';

			
			//Pregunta 6
			{
            j=0;	
			
			with (document.form1)
			{
				if ( multicredito.checked )
						{
						j++;
						}
				if ( pague.checked )
						{
						j++;
						}
				if ( seguridad.checked )
						{
						j++;
						}
				if ( descuentos.checked )
						{
						j++;
						}
				if ( ninguna.checked )
						{
						j++;
						}
		        }
		        if (j<1)			
                    {
				    sError+="Debe Seleccionar al menos (1 Opción / Máximo 3): ¿Cuáles de las siguientes campañas Ud. ha visto en la página Web de Banesco en los últimos tres (3) meses?" +"\n";
				    swOK=1;
				    nTot+=swOK;
				    }
			    else if (j>3)
			        {
				    sError+="Nota: Ha ocurrido un error en la pregunta Nro. 6.?.. Tiene que corregir los elementos seleccionado, porque acaba de superar el máximo de respuesta que esta permitido, favor intente señalar un máximo 3 características..." +"\n";
				    swOK=1;
				    nTot+=swOK;
				    }
		    
			}
		error(nTot);
	}    
		
		//Validar Tercera Pagina
		
	    //Pregunta 7
		
		function validar_Tercera()
		{
			var nTot=0;	
			var j=0;	
			sError='';
			
			with (document.form1)
			{
				if ( innovador.checked )
						{
						j++;
						}	
			}			
			if (j<=0)
                {
				CaracterNoValid("¿Cuál sería el producto bancario ideal que Banesco podría estar diseñando para personas como usted?",document.form1.cantidad.value,'Sr');
				nTot+=swOK;
				swOK=1;
				}
					
	        //Pregunta 8			
			{
			j=0
			with (document.form1)
			{
				if ( congestiona.checked )
						{
						j++;
						}
				if ( atencion.checked )
						{
						j++;
						}
				if ( complicado.checked )
						{
						j++;
						}	
				if ( continua.checked )
						{
						j++;
						}
				if ( joven.checked )
						{
						j++;
						}
				if ( maduro.checked )
						{
						j++;
						}
				if ( competitivo.checked )
						{
						j++;
						}
				if ( abierto.checked )
						{
						j++;
						}
				if ( importa.checked )
						{
						j++;
						}		
				if ( conservador.checked )
						{
						j++;
						}								
		        }
		        if (j<1)			
                    {
				    sError+="Debe Seleccionar al menos (1 Opción / Máximo 3): ¿Cuáles de las siguientes características considera usted que debe tener un banco?" +"\n";
				    swOK=1;
				    nTot+=swOK;
				    }
			    else if (j>3)
			        {
				    sError+="Nota: Ha ocurrido un error en la pregunta Nro. 8.?.. Tiene que corregir los elementos seleccionado, porque acaba de superar el máximo de respuesta que esta permitido, favor intente señalar un máximo 3 características..." +"\n";
				    swOK=1;
				    nTot+=swOK;
				    }
            }
      error(nTot);
      }

	
             
	
//Otras Validaciones

		function error(nTot)
		{	
			if (nTot > 0)
			{
 				alert(sError);
				return false;
			}
			else
			{
				return true;
			}
		}
		
	function disableCheck(field, causer) 
		{
		if (causer.checked) 
			{
			field.checked = false;
			field.disabled = true;
			}
		else 
			{
			field.disabled = false;
			}
		}
		
	function disableOthers(field,aux) 
		{
		if(aux==1)
		{
		disableCheck(form1.multicredito, field);
		disableCheck(form1.pague, field);
		disableCheck(form1.seguridad, field);
		disableCheck(form1.descuentos, field);
			
			if(field==form1.ninguna)
				{
			}
		}		
	}
	
	function disableOther(field,aux,clear) 
		{
		if(aux==2)
		{
		disableCheck(form1.opinion, field);
                
			if(field==form1.ninguno)

				{
			}
		}		
	}	

	function disableOtherside(field,aux,clear) 
		{
		if(aux==3)
		{
		disableCheck(form1.cantidad, field);
                
			if(field==form1.innovador)

				{
			}
		}		
	}

	function disableOth(field,aux,clear) 
		{
		if(aux==4)
		{
		disableCheck(form1.opinion, field);
		disableCheck(form1.ninguno, field);
		disableCheck(form1.escala[0], field);
		disableCheck(form1.escala[1], field);
		disableCheck(form1.escala[2], field);
		disableCheck(form1.escala[3], field);
		disableCheck(form1.escala[4], field);
		disableCheck(form1.escala[5], field);
		disableCheck(form1.escala[6], field);
		disableCheck(form1.escala[7], field);
		disableCheck(form1.escala[8], field);
		disableCheck(form1.escala[9], field);
		disableCheck(form1.escala[10], field);
		{
			}
		}		
	}		

	function disableOh(field,aux,clear) 
		{
		if(aux==5)
		{
		disableCheck(form1.Tiempo[0], field);
		disableCheck(form1.Tiempo[1], field);
		disableCheck(form1.Tiempo[2], field);
		disableCheck(form1.Tiempo[3], field);
		{
			}
		}		
	}		

	
    function desactivar()
     {
       var myForm = document.form1;
       if (myForm.opinion.value == '') 
       {
          document.getElementById('ninguno').disabled=false;
       }
       else {
             myForm.opinion.focus();
       }
    }

    function activar()
     {
       var myForm = document.form1;
       if (myForm.opinion.value == '') 
       {}
       else {
             myForm.opinion.focus();
             document.getElementById('ninguno').disabled=true;
       }
    }

    function desactivara()
     {
       var myForm = document.form1;
       if (myForm.cantidad.value == '') 
       {
          document.getElementById('innovador').disabled=false;
       }
       else {
             myForm.cantidad.focus();
       }
    }

    function activara()
     {
       var myForm = document.form1;
       if (myForm.cantidad.value == '') 
       {}
       else {
             myForm.cantidad.focus();
             document.getElementById('innovador').disabled=true;
       }
    }	

	function Alternar(Seccion)
	{ 
		if (Seccion.style.display=="none"){Seccion.style.display="inline"}
		else{Seccion.style.display="none"} 
	}	
	

//****************************

//Validar URL correcto

function url(cadena)   
  {                                    // DECLARACION DE CONSTANTES   
    //var http = "http://";       // protocolo HTTP 
    alert(cadena&"<br>"&document.form1.otros_A.value.substring(0, 7));
    var www = "www.";            // protocolo WWW   
                                       // DECLARACION DE VARIABLES   
    var es_url;                        // cadena es url o no   
    if(cadena.length <= 4)             // INICIO   
      es_url = false;                  // no cabe "www.*"   
   // else  
      //es_url = www.indexOf(cadena.substring(0, 7)) != - 1; // lee "www.//*"   
    
    if((!url(document.form1.otros_A.value))||(!url(document.form1.otros_B.value))){ return false;}
    else {return true;  }
    
    //return(es_url); 
      
  }   

//-------------------------------

// ANALIZA CAMPO A CAMPO DE QUE TIPO SON
function CaracterNoValid(pError, pCaracter,pType){
	swOK=0;
	// E-MAIL OBLIGATORIO
	if (pType=='Er'){ 
	swOK=2;
	
	if (pCaracter != ''){
		for (var i=0;i<pCaracter.length;i++){
			var sByte=pCaracter.substring(i,i+1);
			if (sByte=="@" || sByte=="."){
			swOK=swOK-1;} 
		}
	}	
	if (swOK>0){ sError+="Debe Especificar una Cuenta de Correo V\u00E1lida." +"\n"; }
	return;
	}
	
	// NUMERICO OBLIGATORIO
	if (pType=='Nr'){
		swOK=0;
		if (pCaracter==''){
			swOK=1;
			sError += "Campo "+ pError + " ha de ser num\u00E9rico y es obligatorio." +"\n";
			return;
		}
		else {
		for (var i=0;i<pCaracter.length;i++){
			var sByte=pCaracter.substring(i,i+1);
			if (sByte<"0" || sByte>"9"){
				sError+="Campo "+ pError + " ha de ser num\u00E9rico y es obligatorio." +"\n";
				swOK=1;
				return;
			} 
		}
		}
	}

	// CADENA
	if (pType=='Sr') { 
		if (pCaracter==''|| pCaracter.length<0) {
			sError+="Debe especificar: "+pError+ "."+"\n";
			swOK=1;
			return;}
	}
}//Fin de la funcion CaracterNoValid

//****************************
//Funcion para validar no caracteres especiales con expresiones regulares 
//****************************

//Funcion para validar no caracteres especiales con expresiones regulares (acepta espacios)

function validarnocaractesp(e) 
	{ // 1
		tecla = (document.all) ? e.keyCode : e.which; // 2
		if (tecla==8) return true; // 3		    
		patron = /^[a-z\d\.\@\_\-\ \"\?\!]$/i ;// No acepta números
		te = String.fromCharCode(tecla); // 5
		return patron.test(te); // 6
	} 
	
//****************************
//Funcion para validar no caracteres especiales con expresiones regulares 

function validarnocaract(e) 
	{ // 1
		tecla = (document.all) ? e.keyCode : e.which; // 2
		if (tecla==8) return true; // 3		    
		patron = /^[a-z\d\.\@\_\ \-]$/i ;// No acepta números
		te = String.fromCharCode(tecla); // 5
		return patron.test(te); // 6
	} 
	
function validarnocart(e) 
	{ // 1
		tecla = (document.all) ? e.keyCode : e.which; // 2
		if (tecla==8) return true; // 3		    
		patron = /^[a-z\d\ñ\.\@\ \-]$/i ;// No acepta números
		te = String.fromCharCode(tecla); // 5
		return patron.test(te); // 6
	} 
//****************************
// Deshabilitar boton derecho

function right(e) 
{ 
var msg = " Esta funci\u00F3n est\u00E1 deshabiltada "; 
if (navigator.appName == 'Netscape' && e.which == 3) { 
alert(msg); // Delete this line to disable but not alert user 
return false; 
} 
else 
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) 
{ 
alert(msg); // Delete this line to disable but not alert user 
return false; 
} 
return true; 
} 
document.onmousedown = right; 


//*********
//Funciones para habilitar y Deshabilitar las paginas de preguntas

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function chk(Pagina) {
switch (Pagina) { 
    case "1": 
        Continuar('producto');
        break 
    case "2": 
       Continuar('curiosidades');       
       break 
    case "3": 
       Continuar('banesco');
       break 
    default: 
       Continuar('Principal');
    } 
}

function Continuar(Pagina) {
switch (Pagina) { 
    case "producto": 
        div = document.getElementById('SobreUsted');
	    div.style.display='none';
		div = document.getElementById('producto');
        div.style.display = ''; 
        break 
    case "curiosidades": 
       div = document.getElementById('producto');
	   div.style.display='none';
	   div = document.getElementById('curiosidades');
       div.style.display = '';        
       break 
    case "banesco": 
       div = document.getElementById('curiosidades');
       div.style.display='none';
       div = document.getElementById('banesco');
       div.style.display = ''; 
       break 
    case "Porque_Cambio": 
       div = document.getElementById('curiosidades');
       div.style.display='';
       div = document.getElementById('Tema');
       div.style.display = ''; 
       break 
    case "Sin_Cambio": 
       div = document.getElementById('curiosidades');
       div.style.display='';
       div = document.getElementById('Tema');
       div.style.display = 'none'; 
       break 
    default: 
       div = document.getElementById('principal');
       div.style.display='none';
       div = document.getElementById('SobreUsted');
       div.style.display = '';
    } 
}

function Regresar(Pagina) {
switch (Pagina) { 
    case "producto": 
        div = document.getElementById('producto');
	    div.style.display='none';
		div = document.getElementById('SobreUsted');
        div.style.display = ''; 
        break 
    case "curiosidades": 
       div = document.getElementById('curiosidades');
	   div.style.display='none';
	   div = document.getElementById('producto');
       div.style.display = ''; 
       break 
    case "banesco": 
       div = document.getElementById('Banesco');
       div.style.display='none';
       div = document.getElementById('curiosidades');
       div.style.display = ''; 
       break 
    default: 
       div = document.getElementById('SobreUsted');
       div.style.display='none';
       div = document.getElementById('principal');
       div.style.display = '';
    } 
}
//*********