// JavaScript Document


/****** PARA FAZER OS MENUS PRINCIPAIS *****/
navHover = function() {
	uls = document.getElementsByTagName("UL");
	for (a = 0; a < uls.length; a++)
	{
		var lis = uls[a].getElementsByTagName("LI");
		for (var i=0; i<lis.length; i++) {
			lis[i].onmouseover=function() {
				this.className+=" iehover";
			}
			lis[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" iehover\\b"), "");
			}
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", navHover);
/****** FIM PARA FAZER OS MENUS PRINCIPAIS *****/

/************* SELECTED DO IMPRIMIR, ENVIAR E COMENTAR UM ARTIGO ***********/
function ArticleIEC(id)
{
 for (i=1; i<=4; i++)
 {
	 try
	 {
 document.getElementById('ArticleIEC_'+i).setAttribute('class','');
 document.getElementById('ArticleIEC_'+i).setAttribute('className','');
	 }
	 catch(err){}
 }
 document.getElementById('ArticleIEC_'+id).setAttribute('class','selected');
 document.getElementById('ArticleIEC_'+id).setAttribute('className','selected');
}
/************* FIM SELECTED DO IMPRIMIR, ENVIAR E COMENTAR UM ARTIGO ***********/



/************* SELECTED DO ARTIGO - RELACIONAR ARTIGOS , NOTICIAS, FOTOS E LINKS ***********/
function ArticleMoreContent(id)
{
 for (i=1; i<=3; i++)
 {
	 try
	 {
 document.getElementById('ArticleMoreContent_'+i).setAttribute('class','');
 document.getElementById('ArticleMoreContent_'+i).setAttribute('className','');
  }
	 catch(err){}
 }
 document.getElementById('ArticleMoreContent_'+id).setAttribute('class','selected');
 document.getElementById('ArticleMoreContent_'+id).setAttribute('className','selected');
}
/************* FIM SELECTED DO ARTIGO - RELACIONAR ARTIGOS , NOTICIAS, FOTOS E LINKS ***********/