<!--

function MM_openBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  janela = window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
  janela.focus();
}

	function teste(){
 	endereco = form1.email.value; 
	
 		 if (form1.nome.value==""){
 			  alert("Por favor introduza o seu nome!");
 			  return false; 
			  } 
	
		if(endereco == ""){  
		alert("Por favor introduza o seu e-mail correctamente !");
		return false;
		}
	
		if((endereco.indexOf(" ",0) > -1) || (endereco.indexOf(";",0) > -1) || (endereco.indexOf("/",0) > -1) || (endereco.indexOf(":",0) > -1)){
		window.alert("Por favor introduza o seu e-mail correctamente !");
		return false;
		}
		
		pos_at = endereco.indexOf("@",0) 		
		if (pos_at == -1){ 				
		window.alert("Por favor introduza o seu e-mail correctamente !");
		return false;
		}
		
		if (endereco.indexOf("@",pos_at + 1) > -1){ 
		window.alert("Por favor introduza o seu e-mail correctamente !");		
		return false;
		}
		
		pos_ponto = endereco.indexOf(".", pos_at); 
		
		if (pos_ponto == -1){		 		
		window.alert("Por favor introduza o seu e-mail correctamente !");
		return false;
		}
		
		if (endereco.length < pos_ponto + 3){
		window.alert("Por favor introduza o seu e-mail correctamente !");
		return false;		
		}
		
		if (form1.cedula.value == ""){
		window.alert("Preencha o nº da sua Cédula Profissional\nSe é estudante escreva apenas \"estudante\" neste campo");
		return false;
		}
		
		if (form1.user.value == ""){
		window.alert("Preencha o User name pretendido para acesso ao site");
		return false;
		}
		
}
-->
