function contForm()
{
	
	  var oForm = document.getElementById("form_cont");
	  
	  var sErr = '';
	if(oForm.nome.value == 'Nome*')
		sErr = "{INTNOME}";
	else if(oForm.nome.value == '')
		sErr = "{INTNOME}";
	else if(!oForm.email.value.match(/^([+_.A-Za-z0-9\-]+@([A-Za-z\-]+\.)+[A-Za-z\-]{2,}){1}$/ig))
	sErr = "{MAILINVALIDO}";
	if(sErr != "")
	{
		alert(sErr)
		
	}
	else
	{
		oForm.submit();
	}
	  
	  
	  
	  
};


function searchForm()
{
	
	  var form_ = document.getElementById("form_ipesq");
	  
	  form_.submit();
	  
};

function autoMovie(flashFile, larg, altu , bIsTransparent)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+larg+'" height="'+altu+'">');
	document.write('<param name="movie" value="'+flashFile+'">');	
	document.write('<param name="quality" value="high">');
	if(bIsTransparent)
		document.write('<param name="wmode" value="transparent">');	
	document.write('<param name="menu" value="false">');	
	document.write('<embed src="'+flashFile+'" '+(bIsTransparent?'wmode="transparent"':'')+' menu="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+larg+'" height="'+altu+'"></embed>');
	document.write('</object>');
}

