/*
if (navigator.appName == "Netscape")
{
  document.write ("<link rel='stylesheet' type='text/css' href='/netscape_css.php'>");
}
else
{
  document.write ("<link rel='stylesheet' type='text/css' href='/explorer_css.php'>");
}
*/

// Netscape 4.* 
if(document.layers)
{
  layerRef='document.'
  styleRef='.'
}
// Internet Explorer
if(document.all)
{
  layerRef='document.all.'
  styleRef='.style.'
}
// Netscape 6.*
if(!document.all && document.getElementById)
{
  layerRef='document.getElementById("'
  styleRef='").style.';
}

function openReqSenha()
 {
   window.open("/register/pages/pop_req1.php","reqsenha", "directories=no,height=265,width=517,hotkeys=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no,copyhistory=no");
 }

function openMyAccount()
 {
   window.open("/register/pages/pop_minha1.php","_self", "directories=no,height=360,width=517,hotkeys=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no,copyhistory=no");
 }

function show(camada)
{
eval (layerRef+camada+styleRef+'visibility="visible"');
}

function hide(camada)
{
eval (layerRef+camada+styleRef+'visibility="hidden"');
}

  // Prepare image names
	n = 32;
	image_name = new Array(n);
    //gifs da intranet
	
	// Preload images
	buttons = new Array(n);
	for (i = 0; i < n; i++) {
		buttons[i] = new Image()
		buttons[i].src = image_name[i];
	}
