// JavaScript Document
function limpar(objeto,parametro) {
	if(objeto.value==parametro) {
		objeto.value='';
	} else {
		if(objeto.value=='') objeto.value=parametro;
	}
}

function IEHoverPseudo() {
	
	var logo = document.getElementById("logo");
	var twitter = document.getElementById("twitter");
	logo.onmouseover=function() { this.className = 'over' }
	logo.onmouseout=function() { this.className = '' }
	twitter.onmouseover=function() { this.className = 'over' }
	twitter.onmouseout=function() { this.className = '' }
	
	var navItems = document.getElementById("menu").getElementsByTagName("div");
	
	for (var i=0; i<navItems.length; i++) {
			navItems[i].onmouseover=function() { 
				this.className += " over";	
				//this.style.opacity=1.00;
				//this.style.filter='alpha(opacity=100)';
				//high(this);
			}
			navItems[i].onmouseout=function() { 
				this.className = ""; 
				//low(this);
			}
	}

}
window.onload = IEHoverPseudo;

index=11;
mais=1;
menos=0;

function zoomLetra(how) {
	
	if(how==1) {
		if(index<=15) index=index+2;
	} else {
		if(index>9) index=index-2;
	}	
	var paragrafo = document.getElementById("corpo").getElementsByTagName("p");
	for(i=0;i<paragrafo.length;i++) {
		paragrafo[i].style.fontSize=index+"px";
	}
	var span = document.getElementById("corpo").getElementsByTagName("span");
	for(i=0;i<span.length;i++) {
		span[i].style.fontSize=index+"px";
	}
}

/*
function high(which2){ 
	theobject=which2 
	highlighting=setInterval("highlightit(theobject)",40)
}
function low(which2){ 
	clearInterval(highlighting)
	which2.style.opacity=1.00
} 
function highlightit(cur2){	
	if (cur2.style.opacity>0.80)
		//cur2.filters.alpha.opacity-=5
		cur2.style.opacity-=0.05
		else if (window.highlighting) clearInterval(highlighting) 
}
*/