<!--
//#############################################################
msg = "Por favor, preencha todos os campos.";
//#############################################################
function vld_contato(){
	with(document.formContato){
		if(Nome.value == 0){
			alert(msg);
			Nome.focus();
			return false;
		}
		if(Email.value.length == 0){
			alert(msg);
			Email.focus();
			return false;
		}
		if(Mensagem.value.length == 0){
			alert(msg);
			Mensagem.focus();
			return false;
		}
	}
	return false;
}
//#############################################################
function exibeFoto(F_i){
	html = '<img src="../img/m_galerias/' + fotos[F_i] + '" /> ' + legendas[F_i];
	div_foto = document.getElementById("g_foto").innerHTML = html;
}
//#############################################################
function load_swf(ban_widht,ban_height,ban_swf){
	document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="' + ban_widht + '" height="' + ban_height + '">');
	document.writeln('  <param name="movie" value="' + ban_swf + '">');
	document.writeln('  <param name="quality" value="high">');
	document.writeln('  <embed src="' + ban_swf + '" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + ban_widht + '" height="' + ban_height + '"></embed>');
	document.writeln('</object>');
}
//#############################################################
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//#############################################################
function MM_openBrWindow(theURL,winName,features){ //v2.0
  window.open(theURL,winName,features);
}
//#############################################################
-->