var now = new Date();
var seed = now.getTime() % 0xffffffff;
var chosenImage=0;

function rand(n) {
seed = (0x015a4e35 * seed) % 0x5ff5f2f1;
return (seed >> 16) % n;
}

function cambios(forma)
{
		if ((forma.selec[70].selected)||(forma.selec[72].selected) )
      {window.open(forma.selec.options[forma.selec.selectedIndex].value , '_new' );}                
			else
      {window.open(forma.selec.options[forma.selec.selectedIndex].value , '_self' );}
}

function cambios2(forma)
{
  window.open(forma.selec2.options[forma.selec2.selectedIndex].value , '_self' );
}

function headchico(n)
{
	chosenImage = rand(n);
	document.write("<TR><TD ALIGN='CENTER' VALIGN='TOP'><IMG SRC='images/a"+chosenImage+".jpg' height='111' width='800' border='0' alt='Seguridata' usemap='#home'></TD></TR>");
			document.write ('<map name="home"><area href="index.htm" shape="rect" coords="17, 8, 231, 92"></map>');
}


