function valida(){
	if(document.cotar.nome.value==""){
	   document.cotar.nome.focus()
		document.cotar.nome.style.background='#FDEAEA'
		return false
		}
		if(document.cotar.email.value=="" || document.cotar.email.value.indexOf("@")==-1){
	       document.cotar.email.focus()
		   document.cotar.email.style.background='#FDEAEA'
		   return false
		}
	return true
}

function valida_contato(){
if(document.cotar.nome.value==""){
	   document.cotar.nome.focus()
		document.cotar.nome.style.background='#FDEAEA'
		return false
		}
		if(document.cotar.email.value=="" || document.cotar.email.value.indexOf("@")==-1){
	       document.cotar.email.focus()
		   document.cotar.email.style.background='#FDEAEA'
		   return false
		}
           if(document.cotar.assunto.value==""){
	       document.cotar.assunto.focus()
		   document.cotar.assunto.style.background='#FDEAEA'
		   return false
		}
return true
}


function flash(){
	
document.write("<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='950' height='253'>")
document.write("<param name='movie' value='images/banner.swf' />")
document.write("<param name='quality' value='high' />")
document.write("<param name='wmode' value='opaque' />")
document.write("<embed src='images/banner.swf' quality='high' wmode='opaque' pluginspage='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='950' height='253'></embed>")
document.write("</object>")
}
