// JavaScript Document



browserName=navigator.appName; 




function moverBotonesPapeles(elemID)
{
			var elem = document.getElementById( elemID );
		
		{
		elem.style.visibility = 'hidden';
		elem.style.visibility = 'visible';
		}
	}





function quitarBotonesPapeles (elemID)
{
	var elem = document.getElementById( elemID);
		{
		elem.style.visibility = 'visible';
		elem.style.visibility = 'hidden';
		}
}



function delayBotones ()
{
	setTimeout("quitarBotonesPapeles('desplegableNivel3')",3000);
}



var newwindow;

function popper(url)

{if (browserName=="Netscape")
{ 
	newwindow=window.open(url,'detalles','resize=0,height=570,width=830,left=250,top=90,scrollbars=1,toolbars=0,menubar=0');
	if (window.focus) {newwindow.focus()}
}
else 
 
 if (browserName=="Microsoft Internet Explorer")
 {
  	newwindow=window.open(url,'detalles','resize=0,height=570,width=840,left=250,top=90,scrollbars=1,toolbars=0,menubar=0');
	if (window.focus) {newwindow.focus()}
 }

 else
  {
   newwindow=window.open(url,'detalles','resize=0,height=570,width=820,left=250,top=90,scrollbars=1,toolbars=0,menubar=0');
	if (window.focus) {newwindow.focus()}
   }
}



function popperVarios(url)

{
	if (browserName=="Netscape")
	{ 
	newwindow=window.open(url,'detalles','resize=0,height=650,width=710,left=150,top=90,scrollbars=1,toolbars=0,menubar=0');
	if (window.focus) {newwindow.focus()}
	}
	
else 

 	if (browserName=="Microsoft Internet Explorer")
 	{
  	newwindow=window.open(url,'detalles','resize=0,height=630,left=150,top=90,scrollbars=1,toolbars=0,menubar=0');
	if (window.focus) {newwindow.focus()}
 	}
 else
 
  	{
   newwindow=window.open(url,'detalles','resize=0,height=650,width=710,left=150,top=90,scrollbars=1,toolbars=0,menubar=0');
	if (window.focus) {newwindow.focus()}
   }
}


var newwindow;

function openup(url)

{if (browserName=="Netscape")
{ 
	newwindow=window.open(url,'','resize=0,height=600,width=600,left=250,top=90,scrollbars=1,toolbars=0,menubar=0');
	if (window.focus) {newwindow.focus()}
}
else 
 
 if (browserName=="Microsoft Internet Explorer")
 {
  	newwindow=window.open(url,'','resize=0,height=600,width=600,left=250,top=90,scrollbars=1,toolbars=0,menubar=0');
	if (window.focus) {newwindow.focus()}
 }

 else
  {
   newwindow=window.open(url,'','resize=0,height=600,width=600,left=250,top=90,scrollbars=1,toolbars=0,menubar=0');
	if (window.focus) {newwindow.focus()}
   }
}




