/* Modificar la hoja de estilos según la resolución */
var screen_width = screen.width;
/*if(screen_width >= 1024)
{*/
	/*window.document.getElementById('css_educacion').href = window.document.getElementById('css_educacion').href.replace('0800','1024');
	window.document.getElementById('css_abstracto').href = window.document.getElementById('css_abstracto').href.replace('0800','1024');
	window.document.getElementById('css_contenido').href = window.document.getElementById('css_contenido').href.replace('0800','1024');
	window.document.getElementById('css_perfil').href = window.document.getElementById('css_perfil').href.replace('0800','1024');
	window.document.getElementById('css_delegacion').href = window.document.getElementById('css_delegacion').href.replace('0800','1024');
	window.document.getElementById('css_portada').href = window.document.getElementById('css_portada').href.replace('0800','1024');
	window.document.getElementById('css_imprimible').href = window.document.getElementById('css_imprimible').href.replace('0800','1024');*/
/*}*/

/* Modificar el estado de los Menús*/
function cargaEstadoInicialMenu()
{
	for(var i = 0; i < estadoMenu.length; i++)
	{
		if(i == 0 || i == 1 || i == 3 || i == 4 || i == 9)
			actualizaCajaMenuInicial1('seccion_'+(i+1), 'menu_'+(i+1), 'caja_menu_'+(i+1), (i+1), estadoMenu[i]);
		else
			actualizaCajaMenuInicial2('seccion_'+(i+1), 'menu_'+(i+1), (i+1), estadoMenu[i]);
	}
}
function cambiaEstadoMenu2(seccion, menu, posicion)
{
	var estado = estadoMenu[(posicion-1)];
	if(estado == 0)
		estado = 1;

	else
		estado = 0;
	actualizaCajaMenu2(seccion, menu, posicion, estado);
}
function cambiaEstadoMenu1(seccion, menu, caja_menu, posicion)
{
	var estado = estadoMenu[(posicion-1)];
	if(estado == 0)
		estado = 1;

	else
		estado = 0;
	actualizaCajaMenu1(seccion, menu, caja_menu, posicion, estado);
}
function actualizaCajaMenuInicial2(seccion, menu, posicion, estado)
{
	if(estado == 0)
	{
		if(window.document.getElementById(seccion).className.indexOf('_abierto') > 0)
			window.document.getElementById(seccion).className = window.document.getElementById(seccion).className.substring(0,window.document.getElementById(seccion).className.indexOf('_abierto'))+"_cerrado";
		Effect.Fade(menu,{duration:0.001});
                estadoMenu[(posicion-1)] = estado;
	}
}
function actualizaCajaMenuInicial1(seccion, menu, caja_menu, posicion, estado)
{
	if(estado == 0)
	{
		if(window.document.getElementById(seccion).className.indexOf('_abierto') > 0)
