pageArray=new Array("","index.php","Hardware.php","Servicios.php","Redes.php","Desarrollo.php","Soporte.php","Enlaces.php","Neo.html","Platinum.html","Diamond.html","Portatiles.php", "Articulos.php", "MapaWeb.php");

//Carga una Pagina dentro de un marco
function cambiarMarco (thisPage, idSesion)
{
window.location = pageArray[thisPage];
}

//Carga la página en el marco actual
function cargarPagina (nombre)
{
document.location.href=nombre;
}

//Abre una ventana nueva con la url como parametro
function cargarVentana (ruta,ancho,alto)
	{
	leftPos=20;
	topPos=20;
	ventana=window.open(ruta,"","width="+ancho+",height="+alto+",left="+leftPos+",top="+topPos+"");
	}
	
//Muestra texto en la barra de estado
function textoBarra (msg)
{
	status = msg;
}
	
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
