// JavaScript Document
function over(j){

if (j=='ee')
	{
	//document.getElementById(j).className='ee1';
	window.location='/programacion/programacion.php';
	}
if (j=='fc')
	{
	document.getElementById(j).className='fc1';
	}
if (j=='m')
	{
	document.getElementById(j).className='m1';
	}
if (j=='c')
	{
	document.getElementById(j).className='c1';
	}
if (j=='e')
	{
	document.getElementById(j).className='e1';
	}
}
function out(j){
var color="";

if (j=='ee')
	{
	document.getElementById(j).className='ee';
	}
if (j=='fc')
	{
	document.getElementById(j).className='fc';
	}
if (j=='m')
	{
	document.getElementById(j).className='m';
	}
if (j=='c')
	{
	document.getElementById(j).className='c';
	}
if (j=='e')
	{
	document.getElementById(j).className='e';
	}
}

function o(p,x){
	if (x==0)
		{
		if (p=='contacta')
			window.location='formulario.php';
		else
		{
			if (p=='noticias')
				window.location='/noticias/'+p+'.php';
			else
					window.location='/'+p+'.php';
			}
		}
	if (x==1)
		window.location='/alumnos/index.php';
	if (x==2)
		{
		if (p=='catalogo')
			window.location='/programacion/programacion.php';
		else
			window.open('/doc/'+p+'.pdf');
		}
	if (x==3)
		window.location='/'+p+'.php';
	if (x==4)
		window.open('/doc/'+p+'.pdf');
}

function im_i(x){
	document.getElementById(x).src='img/'+x+'_f2.jpg';
	
}

function im_o(x){
	document.getElementById(x).src='img/'+x+'_f1.jpg';
	
}

function noticia(x){
	window.open('enviar_noticia.php?n='+x,'Enviar Noticia','height=200, width=300, toolbar=no, resizable=no, scrollbars=no, titlebar=yes');
}

function imprimir(){
	print();
	//window.open('../noticias/noticia_1.htm');
	//n.document.getElementById('all').style.visibility='none';
	//n.document.getElementById('not').style.visibility='visible';
}


