function Abreven(url){
window.open(url,'conquista','toolbar=no,scrollbars=yes,resizable=no,height=500,width=758')
}

///////////CONQUISTA
if (opcion == 'opcion_link_conquista' || opcion == 'opcion_link_conquista_1' || opcion == 'opcion_link_conquista_2_a' || opcion == 'opcion_link_conquista_2_b') 
{   
	if (opcion == 'opcion_link_conquista') 	
	{
		document.write('<IMG SRC="images/m1p.gif" WIDTH="145" HEIGHT="31" BORDER="0" ALT=""><br>');  
	}
	else
	{		
		document.write('<a href=conquista.htm><IMG SRC="images/m1p.gif" WIDTH="145" HEIGHT="31" BORDER="0" ALT=""></a><br>'); 
	}
	 
	document.write('<table cellSpacing=0 cellPadding=0 border=0>'); 
	document.write('<tr>'); 
	document.write('<td bgcolor=B75931 width=145>'); 
	document.write('<table cellSpacing=0 cellPadding=0 border=0 >'); 
	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_conquista_1') 	
	{
		document.write('<td width=131 class=txt1><b>La empresa de Pizarro y Almagro</b></td>'); 
	}
	else
	{	
		document.write('<td width=131 ><a href=conquista_1.htm class=txt2>La empresa de Pizarro y Almagro</a></td>'); 
	}

	document.write('<tr><td height=5></td>'); 
	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_conquista_2_a' || opcion == 'opcion_link_conquista_2_b') 
	{
		document.write('<td width=131 class=txt1><b>Llegada y conquista</b></td>'); 
		document.write('<tr><td height=5></td>'); 
		document.write('<tr valign=top>'); 
		document.write('<td width=11 align=right>&nbsp;</td>'); 
		document.write('<td colspan=2>'); 
		
		document.write('<table cellSpacing=0 cellPadding=0 border=0 >'); 
		document.write('<tr valign=top>'); 
		document.write('<td width=5 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
		document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

		if (opcion == 'opcion_link_conquista_2_a') 
		{
			document.write('<td class=txt1><b>Factores de la conquista</b></td>');; 
		}
		else
		{	
			document.write('<td><a href=conquista_2_a.htm class=txt2>Factores de la conquista</b></td>'); 
		}		 
		
		document.write('<tr><td height=5></td>'); 
		document.write('<tr valign=top>'); 
		document.write('<td width=5 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
		document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

		if (opcion == 'opcion_link_conquista_2_b') 
		{	
			document.write('<td class=txt1><b>Preparativos y acontecimientos</a></td>'); 
		}
		else
		{	
			document.write('<td><a href=conquista_2_b.htm class=txt2>Preparativos y acontecimientos</a></td>'); 
		}	
		document.write('</table>'); 		
		document.write('</td>'); 
	}
	else
	{		
		document.write('<td width=131 ><a href=conquista_2_a.htm class=txt2>Llegada y conquista</a></td>');	
	}

	document.write('<tr><td height=10></td>'); 
	document.write('</table>'); 
	document.write('</td>'); 
	document.write('</table>'); 

}
else
{
	document.write('<a href="conquista.htm" onmouseover="CambiaImg(\'bot7\',\'bot7p\');return true" onmouseout="CambiaImg(\'bot7\',\'bot7\');return true"><IMG SRC="images/m1.gif" WIDTH="145" HEIGHT="31" BORDER="0" ALT="la conquista" name=bot7></a><br>'); 
}

///////////DESESTRUCTURACIÓN

if (opcion == 'opcion_link_destruc' || opcion == 'opcion_link_destruc_1' || opcion == 'opcion_link_destruc_2' || opcion == 'opcion_link_destruc_3_a' || opcion == 'opcion_link_destruc_3_b') 
{   
	if (opcion == 'opcion_link_destruc') 	
	{
		document.write('<IMG SRC="images/m2p.gif" WIDTH="145" HEIGHT="44" BORDER="0" ALT=""><br>');  
	}
	else
	{		
		document.write('<a href=desestructuracion.htm><IMG SRC="images/m2p.gif" WIDTH="145" HEIGHT="44" BORDER="0" ALT=""></a><br>'); 
	}
	 
	document.write('<table cellSpacing=0 cellPadding=0 border=0>'); 
	document.write('<tr>'); 
	document.write('<td bgcolor=B75931 width=145>'); 
	document.write('<table cellSpacing=0 cellPadding=0 border=0 >'); 
	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_destruc_1') 	
	{
		document.write('<td width=131 class=txt1><b>Vilcabamba</b></td>'); 
	}
	else
	{	
		document.write('<td width=131 ><a href=desestructuracion_1.htm class=txt2>Vilcabamba</a></td>'); 
	}

	document.write('<tr><td height=5></td>'); 

	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_destruc_2') 	
	{
		document.write('<td width=131 class=txt1><b>Muerte del Inca: implicancias</b></td>'); 
	}
	else
	{	
		document.write('<td width=131 ><a href=desestructuracion_2.htm class=txt2>Muerte del Inca: implicancias</a></td>'); 
	}

	document.write('<tr><td height=5></td>'); 

	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_destruc_3_a' || opcion == 'opcion_link_destruc_3_b') 
	{
		document.write('<td width=131 class=txt1><b>Nueva administración</b></td>'); 
		document.write('<tr><td height=5></td>'); 
		document.write('<tr valign=top>'); 
		document.write('<td width=11 align=right>&nbsp;</td>'); 
		document.write('<td colspan=2>'); 
		
		document.write('<table cellSpacing=0 cellPadding=0 border=0 >'); 
		document.write('<tr valign=top>'); 
		document.write('<td width=5 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
		document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

		if (opcion == 'opcion_link_destruc_3_a') 
		{
			document.write('<td class=txt1><b>Fundación española de ciudades</b></td>');; 
		}
		else
		{	
			document.write('<td><a href=desestructuracion_3_a.htm class=txt2>Fundación española de ciudades</b></td>'); 
		}		 
		
		document.write('<tr><td height=5></td>'); 
		document.write('<tr valign=top>'); 
		document.write('<td width=5 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
		document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

		if (opcion == 'opcion_link_destruc_3_b') 
		{	
			document.write('<td class=txt1><b>Establecimiento de la encomienda</a></td>'); 
		}
		else
		{	
			document.write('<td><a href=desestructuracion_3_b.htm class=txt2>Establecimiento de la encomienda</a></td>'); 
		}	
		document.write('</table>'); 		
		document.write('</td>'); 
	}
	else
	{		
		document.write('<td width=131 ><a href=desestructuracion_3_a.htm class=txt2>Nueva administración</a></td>');	
	}

	document.write('<tr><td height=10></td>'); 
	document.write('</table>'); 
	document.write('</td>'); 
	document.write('</table>'); 

}
else
{
	document.write('<a href="desestructuracion.htm" onmouseover="CambiaImg(\'bot8\',\'bot8p\');return true" onmouseout="CambiaImg(\'bot8\',\'bot8\');return true"><IMG SRC="images/m2.gif" WIDTH="145" HEIGHT="44" BORDER="0" ALT="la desestructuración del tahuantinsuyo" name=bot8></a><br>'); 
}

///////////GUERRAS
if (opcion == 'opcion_link_guerras' || opcion == 'opcion_link_guerras_1' || opcion == 'opcion_link_guerras_2') 
{   
	if (opcion == 'opcion_link_guerras') 	
	{
		document.write('<IMG SRC="images/m3p.gif" WIDTH="145" HEIGHT="25" BORDER="0" ALT=""><br>');  
	}
	else
	{		
		document.write('<a href=guerras.htm><IMG SRC="images/m3p.gif" WIDTH="145" HEIGHT="25" BORDER="0" ALT=""></a><br>'); 
	}
	 
	document.write('<table cellSpacing=0 cellPadding=0 border=0>'); 
	document.write('<tr>'); 
	document.write('<td bgcolor=B75931 width=145>'); 
	document.write('<table cellSpacing=0 cellPadding=0 border=0 >'); 
	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_guerras_1') 	
	{
		document.write('<td width=131 class=txt1><b>Entre conquistadores</b></td>'); 
	}
	else
	{	
		document.write('<td width=131 ><a href=guerras_1.htm class=txt2>Entre conquistadores</a></td>'); 
	}

	document.write('<tr><td height=5></td>'); 
	
	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_guerras_2') 	
	{
		document.write('<td width=131 class=txt1><b>Entre encomenderos</b></td>'); 
	}
	else
	{	
		document.write('<td width=131 ><a href=guerras_2.htm class=txt2>Entre encomenderos</a></td>'); 
	}

	document.write('<tr><td height=10></td>'); 
	document.write('</table>'); 
	document.write('</td>'); 
	document.write('</table>'); 

}
else
{
	document.write('<a href="guerras.htm" onmouseover="CambiaImg(\'bot9\',\'bot9p\');return true" onmouseout="CambiaImg(\'bot9\',\'bot9\');return true"><IMG SRC="images/m3.gif" WIDTH="145" HEIGHT="25" BORDER="0" ALT="guerras civiles" name=bot9></a><br>'); 
}

///////////CRONISTAS
if (opcion == 'opcion_link_cronistas' || opcion == 'opcion_link_cronistas_1' || opcion == 'opcion_link_cronistas_2' || opcion == 'opcion_link_cronistas_3' || opcion == 'opcion_link_cronistas_4') 
{   
	if (opcion == 'opcion_link_cronistas') 	
	{
		document.write('<IMG SRC="images/m4p.gif" WIDTH="145" HEIGHT="28" BORDER="0" ALT=""><br>');  
	}
	else
	{		
		document.write('<a href=cronistas.htm><IMG SRC="images/m4p.gif" WIDTH="145" HEIGHT="28" BORDER="0" ALT=""></a><br>'); 
	}
	 
	document.write('<table cellSpacing=0 cellPadding=0 border=0>'); 
	document.write('<tr>'); 
	document.write('<td bgcolor=B75931 width=145>'); 
	document.write('<table cellSpacing=0 cellPadding=0 border=0 >'); 
	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_cronistas_1') 	
	{
		document.write('<td width=131 class=txt1><b>Cronistas de la Conquista</b></td>'); 
	}
	else
	{	
		document.write('<td width=131 ><a href=cronistas_1.htm class=txt2>Cronistas de la Conquista</a></td>'); 
	}

	document.write('<tr><td height=5></td>'); 

	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_cronistas_2') 	
	{
		document.write('<td width=131 class=txt1><b>Noción del Tawantinsuyo</b></td>'); 
	}
	else
	{	
		document.write('<td width=131 ><a href=cronistas_2.htm class=txt2>Noción del Tawantinsuyo</a></td>'); 
	}

	document.write('<tr><td height=5></td>');
	
	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_cronistas_3') 	
	{
		document.write('<td width=131 class=txt1><b>Cronistas y sus obras</b></td>'); 
	}
	else
	{	
		document.write('<td width=131 ><a href=cronistas_3.htm class=txt2>Cronistas y sus obras</a></td>'); 
	}

	document.write('<tr><td height=5></td>');

	document.write('<tr valign=top>'); 
	document.write('<td width=11 align=right><IMG SRC="images/bulet.gif" WIDTH="3" HEIGHT="3" BORDER="0" ALT="" vspace=4></td>'); 
	document.write('<td><IMG SRC="images/spacer.gif" WIDTH="3" HEIGHT="1" BORDER="0" ALT=""></td>'); 

	if (opcion == 'opcion_link_cronistas_4') 	
	{
		document.write('<td width=131 class=txt1><b>Los cronistas andinos </b></td>'); 
	}
	else
	{	
		document.write('<td width=131 ><a href=cronistas_4.htm class=txt2>Los cronistas andinos </a></td>'); 
	}

	document.write('<tr><td height=5></td>');

	document.write('<tr><td height=10></td>'); 
	document.write('</table>'); 
	document.write('</td>'); 
	document.write('</table>'); 

}
else
{
	document.write('<a href="cronistas.htm" onmouseover="CambiaImg(\'bot10\',\'bot10p\');return true" onmouseout="CambiaImg(\'bot10\',\'bot10\');return true"><IMG SRC="images/m4.gif" WIDTH="145" HEIGHT="28" BORDER="0" ALT="los cronistas" name=bot10></a><br>'); 
}

///////////CRONOLOGIA
if (opcion == 'opcion_link_cronologia') 
{   
	document.write('<IMG SRC="images/m5p.gif" WIDTH="145" HEIGHT="26" BORDER="0" ALT=""><br>');  

}
else
{
	document.write('<a href="javascript:Abreven(\'cronologia.htm\')" onmouseover="CambiaImg(\'bot11\',\'bot11p\');return true" onmouseout="CambiaImg(\'bot11\',\'bot11\');return true"><IMG SRC="images/m5.gif" WIDTH="145" HEIGHT="26" BORDER="0" ALT="cronología" name=bot11></a><br>'); 
}

///////////PERSONAJES
if (opcion == 'opcion_link_personajes') 
{   
	document.write('<IMG SRC="images/m6p.gif" WIDTH="145" HEIGHT="25" BORDER="0" ALT=""><br>');  

}
else
{
	document.write('<a href="personajes.htm" onmouseover="CambiaImg(\'bot12\',\'bot12p\');return true" onmouseout="CambiaImg(\'bot12\',\'bot12\');return true"><IMG SRC="images/m6.gif" WIDTH="145" HEIGHT="25" BORDER="0" ALT="personajes" name=bot12></a><br>'); 
}
