function expandirLista(div){
	if ($("#"+div).is(":hidden"))
		$("#"+div).slideDown("slow");
	else
		$("#"+div).slideUp("slow");
}

function vaPara(){
	window.open(document.getElementById("SitesAES").value);
}

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(Images/servicosOver.png)";
}

function servicosHoverHome(id){
	document.getElementById(id).style.backgroundImage="url(/Images/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();
}




function diminuiFonte() {
		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 ($("#textoConteudo").css("font-size").replace("px","") < 18) {
				$("#textoConteudo").attr("style", "font-size: " + (parseInt($("#textoConteudo").css("font-size")) + 2) + "px");
			}
		}catch(ex){}
}
				
