// JavaScript Document

function exibeVlCp(comp,cp,txt){
	//var cp=campo;
	switch(comp){
		//Comportamento Focus
		case 1:
		if(cp.value.length==0 || cp.value==txt) cp.value=''; 
			break;
		//Comportamento Blur
		case 2:
		if(cp.value.length==0) cp.value=txt;					
			break;
		}
		return true;
}

//Muda a cor de fundo da Pagina
function mudarCor(bg){
	document.getElementById("paginas").style.background = "url(pics/"+bg+")";
}