<!--
/****************************************************
     Author: Eric King
     Url: http://redrival.com/eak/index.shtml
     This script is free to use as long as this info is left in
     Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);};


function verifica_cadastro(){
      
	  var n,e,d,t,em,c;
	  
      n = document.form1.nome.value ; 
      if ( n == "" ){
      alert("Preencha o campo Nome do Participante") ;
      document.form1.nome.focus();
      return false ;
    }     
      e = document.form1.empresa.value ; 
      if ( e == "" ){
      alert("Preencha o campo Nome da Empresa") ;
      document.form1.empresa.focus();
      return false ;
    }     
      d = document.form1.documento.value ; 
      if ( d == "" ){
      alert("Preencha o campo Documento") ;
      document.form1.documento.focus();
      return false ;
    }     
      t = document.form1.telefone.value ; 
      if ( t == "" ){
      alert("Preencha o campo Telefone") ;
      document.form1.telefone.focus();
      return false ;
    }     
      em = document.form1.email.value ; 
      if ( em == "" ){
      alert("Preencha o campo E-mail") ;
      document.form1.email.focus();
      return false ;
    }     
      c = document.form1.contato.value ; 
      if ( c == "" ){
      alert("Preencha o campo Contato na Empresa") ;
      document.form1.contato.focus();
      return false ;
    }     
		return true;

};
jQuery.noConflict();
jQuery(function() {
	jQuery("a.lightbox").lightBox({fixedNavigation:false});
	jQuery('td#menu li a')
		.css( {paddingLeft:"20px", paddingTop:"10px", paddingBottom:"10px", color: "#FFFFFF"} )
		.mouseover(function(){
			jQuery(this).stop().animate({paddingLeft:"30px", paddingTop:"11px", paddingBottom:"11px", color: "#7CB2D7"}, {duration:200});
		})
		.mouseout(function(){
			jQuery(this).stop().animate({paddingLeft:"20px", paddingTop:"10px", paddingBottom:"10px", color: "#FFFFFF"}, {duration:600});
		})
});
jQuery(document).ready(function(){
	if(jQuery.support.opacity) {
		jQuery("#banner img").animate({ opacity: "1", marginLeft: "490px" }, 2000 );
	} else {
	    jQuery("#banner img").animate({ marginLeft: "490px" }, 2000 );
	};
});
// -->