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);

//INCLUIR LOS CONTENIDOS DE LOS SUBMENUS, SEGUN EL SIGUIENTE ESQUEMA
// Texto del enlace uno:direccionameintoUno/Texto del enlace dos:direccionamientoDos...
submenu = new Array();
submenu[0] = 'General Info:intro.html*/*Table of Contents:table.htm*/*Chapter One:chapter.htm*/*About the Authors:authors.htm';

//INCLUIR LOS TITULOS DE LOS SUBMENUS
titMenu = new Array();
titMenu[0] = '<a href="/paginas/intro.html" &nbsp</font></a>';

submenu2 = new Array();

// NO EDITAR NADA

function drop(i,y) {
	messageFinal = ' <img src="punto.gif" width="1" height="10"><a href="#" class="linkBarra">'+titMenu[i]+'<a><br><img src="images/spacer.gif" width="1" height="5">';
	messageFinal += '<table width="112" border="0" cellpadding="1" cellspacing="1" bgcolor="#BAA9B8"><tr>'
 	messageFinal +=	'<td><table width="120" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFF" bgcolor="#BAA9B8">'
	
	contenidos=submenu[i].split("*/*");
	numItems=contenidos.length;
	cont = 0;
	
	while(cont < numItems){
	contenidosEspecificos=contenidos[cont].split(":");
 	messageFinal +=	'<tr>'
		if (contenidosEspecificos[1].indexOf("drop2") == -1){
 			messageFinal +=	'<td><a href="'+contenidosEspecificos[1]+'" class="linkBarra" onMouseOver="ocultarDrop2()">'+contenidosEspecificos[0]+'</a></td>'
		} else {
			
 			messageFinal +=	'<td><a href="#" class="linkBarra" onMouseOver="'+contenidosEspecificos[1]+'">'+contenidosEspecificos[0]+' <img src="flecha05.gif" width="12" height="8" border="0"></a></td>'		
		}
	messageFinal +=	'</tr>'
	cont ++;
	}
 	
	messageFinal +=	'</table></td>'
	messageFinal +=	'</tr>'
	messageFinal +=	'</table>'

<!-- ESCRIBE AL LAYER DROP, DEPENDIENDO DEL BROWSER
		if (document.layers) {
			document.layers['drop'].style.left=y;
			document.layers['drop'].document.open();
        	document.layers['drop'].document.write(messageFinal);
        	document.layers['drop'].document.close();
			document.layers['drop'].style.visibility="visible";
			document.layers['borrador'].style.visibility="visible";

    	} else {
        	if (document.all) {
			    document.all.drop.style.left=y;
            	eval("document.all.drop.innerHTML='" + messageFinal+"'");
	            document.all.drop.style.visibility="visible";
	            document.all.borrador.style.visibility="visible";
        	} else {
	            document.getElementById('drop').style.left=y;
				document.getElementById('drop').innerHTML = messageFinal;
				document.getElementById('drop').style.visibility="visible";
	            document.getElementById('borrador').style.visibility="visible";
        	}
    	}
}

function drop2(i,x,y) {
	messageFinal = '';
	messageFinal += '<table width="112" border="0" cellpadding="1" cellspacing="0" bgcolor="#A7A7A7"><tr>'
 	messageFinal +=	'<td><table width="110" border="1" cellpadding="2" cellspacing="0" bordercolor="#C9DCFF" bgcolor="#A7A7A7">'
	
	contenidos=submenu2[i].split("*/*");
	numItems=contenidos.length;
	cont = 0;
	
	while(cont < numItems){
	contenidosEspecificos=contenidos[cont].split(":");
 	messageFinal +=	'<tr>'
 			messageFinal +=	'<td><a href="'+contenidosEspecificos[1]+'" class="linkbarra">'+contenidosEspecificos[0]+'</a></td>'
	messageFinal +=	'</tr>'
	cont ++;
	}
 	
	messageFinal +=	'</table></td>'
	messageFinal +=	'</tr>'
	messageFinal +=	'</table>'

<!-- ESCRIBE AL LAYER DROP, DEPENDIENDO DEL BROWSER
		if (document.layers) {
			document.layers['drop2'].style.left=y;
			document.layers['drop2'].style.top=x;
			document.layers['drop2'].document.open();
        	document.layers['drop2'].document.write(messageFinal);
        	document.layers['drop2'].document.close();
			document.layers['drop2'].style.visibility="visible";

    	} else {
        	if (document.all) {
			    document.all.drop2.style.left=y;
			    document.all.drop2.style.top=x;
				eval("document.all.drop2.innerHTML='" + messageFinal + "'");
	            document.all.drop2.style.visibility="visible";
        	} else {
	            document.getElementById('drop2').style.left=y;
	            document.getElementById('drop2').style.top=x;
				document.getElementById('drop2').innerHTML = messageFinal;
				document.getElementById('drop2').style.visibility="visible";
        	}
    	}
}


function ocultarLayers() {
    if (document.layers) {
        document.layers['drop'].style.visibility="hidden";
        document.layers['drop2'].style.visibility="hidden";
		document.layers['borrador'].style.visibility="hidden";
    } else {
        if (document.all) {
            document.all.drop.style.visibility="hidden";
            document.all.drop2.style.visibility="hidden";
            document.all.borrador.style.visibility="hidden";
        } else {
            document.getElementById('drop').style.visibility="hidden";
            document.getElementById('drop2').style.visibility="hidden";
            document.getElementById('borrador').style.visibility="hidden";
        }
    }
}
function ocultarDrop2() {
    if (document.layers) {
        document.layers['drop2'].style.visibility="hidden";
    } else {
        if (document.all) {
            document.all.drop2.style.visibility="hidden";
        } else {
            document.getElementById('drop2').style.visibility="hidden";
        }
    }
}