

function colore(elemento,color){
	elemento.style.backgroundColor=color;	
}

function coloreBordaCima(elemento,color){
	elemento.style.borderTop='3px solid '+color;	
}	

function coloreBordaBaixo(elemento,color){
	elemento.style.borderBottom='2px solid '+color;	
}

function menuColore(thiss,id,colorover,colorout){
	
	var elementos=document.getElementById(id).getElementsByTagName('div');
	
	for (i=0;i<elementos.length;i++)
	{
		elementos[i].style.borderBottom='2px solid '+colorout;	
	}
	

	thiss.style.borderBottom='2px solid '+colorover;
	
}
