function diminuiFonte() {
		try{
			if ($("#textoConteudoMenuLateral").css("font-size").replace("px","")  > 10) {
				$("#textoConteudoMenuLateral").attr("style", "font-size: " + (parseInt($("#textoConteudoMenuLateral").css("font-size")) - 2) + "px");
			}
		}catch(ex){}
		try{
			if ($("#textoConteudo").css("font-size").replace("px","")  > 10) {
				$("#textoConteudo").attr("style", "font-size: " + (parseInt($("#textoConteudo").css("font-size")) - 2) + "px");
			}
		}catch(ex){}
}

function aumentaFonte() {
		try{
			if ($("#textoConteudoMenuLateral").css("font-size").replace("px","") < 18) {
				$("#textoConteudoMenuLateral").attr("style", "font-size: " + (parseInt($("#textoConteudoMenuLateral").css("font-size")) + 2) + "px");
			}
		}catch(ex){}
		try{
			if ($("#textoConteudo").css("font-size").replace("px","") < 18) {
				$("#textoConteudo").attr("style", "font-size: " + (parseInt($("#textoConteudo").css("font-size")) + 2) + "px");
			}
		}catch(ex){}
}

function expandirLista(div){
	if ($("#"+div).is(":hidden"))
		$("#"+div).slideDown("slow");
	else
		$("#"+div).slideUp("slow");
}

function vaPara(url){
	location.href = url;
}

function limparForm(id){
	document.getElementById(id).reset();
}

function submeterForm(id){
	document.getElementById(id).submit();
}

function servicosOut(id){
	document.getElementById(id).style.backgroundImage="";
}

function servicosHover(id){
	document.getElementById(id).style.backgroundImage="url(app/view/img/servicosOver.png)";
}

function servicosHoverHome(id){
	document.getElementById(id).style.backgroundImage="url(app/view/img/servicosOverHome.png)";
}

function openpop(url,larg,alt){
	popup=window.open(url,'popup','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=25,top=25,width='+larg+',height='+alt);
	window.popup.focus();
}
