if(navigator.appVersion.substring(0,1)>=3)
	{
	bot0		=new Image();
	bot0.src	="imagenes/m1_quien.gif";
	bot0p		=new Image();
	bot0p.src	="imagenes/m1x_quien.gif";
	bot1		=new Image();
	bot1.src	="imagenes/m2_formas.gif";
	bot1p		=new Image();
	bot1p.src	="imagenes/m2x_formas.gif";
	bot2		=new Image();
	bot2.src	="imagenes/m3_contact.gif";
	bot2p		=new Image();
	bot2p.src	="imagenes/m3x_contact.gif";
	bot3		=new Image();
	bot3.src	="imagenes/m4_politic.gif";
	bot3p		=new Image();
	bot3p.src	="imagenes/m4x_politic.gif";
	/*bot4		=new Image();
	bot4.src	="images/img_registros_visuales.gif";
	bot4p		=new Image();
	bot4p.src	="images/img_registros_visualesx.gif";
	*/
	}
	
function CambiaImg(imgid,imgnew)
	{
	if(navigator.appVersion.substring(0,1)>=3)
		{
		document.images[imgid].src=eval(imgnew+".src");
		}
	}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function CambiaPag()
{
opcion1=document.form1.linea.options[document.form1.linea.selectedIndex].value;
if ((opcion1!=0)  && (opcion1!=1) && (opcion1!=2) && (opcion1!=3) && (opcion1!=4)  && (opcion1!=5)  && (opcion1!=6)  && (opcion1!=7)  && (opcion1!=8)  && (opcion1!=9))
{
location.href=opcion1;
}

else if(opcion1==1)
{
window.location='index.shtml';
}
else if(opcion1==2)
{
window.location='index_266.shtml';
}
else if(opcion1==3)
{
window.location='index2.shtml';
}

}


function abreventana(donde,quien,como)
{ 
infoventana=window.open(donde,quien,como);
if (navigator.appName.substring(0,8) == "Netscape")	
{
window.infoventana.focus()
}
}

function Validar(formulario)
{
  if(document.formulario.usuario.value=="")
	 { alert("Por favor ingrese su Usuario"); document.formulario.usuario.focus();  return;}
  
  if(document.formulario.password.value=="")
	 { alert("Por favor ingrese su Password"); document.formulario.password.focus();  return;}

   document.formulario.submit();
}