<!-- Begin
function right(e) {
	if (navigator.appName == 'Netscape' && 
		(e.which == 3 || e.which == 2))
		return false;
	else if (navigator.appName == 'Microsoft Internet Explorer' && 
		(event.button == 2 || event.button == 3)) {
		alert("Spiacenti, il tasto destro del mouse e' disabilitato");
	return false;
	}
	return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
// End -->

function verify(frm)
{

if (frm.name == 'iscrivi')
{ 
	Ctrl = frm.email;
	result = false;
	space_tokens = Ctrl.value.split(" ");
	if (space_tokens.length == 1) {
	 at_tokens = Ctrl.value.split("@");
	 if (at_tokens.length == 2) {
		if (at_tokens[1].length != 0) {
			right_dot_tokens = at_tokens[1].split(".");
			if (right_dot_tokens.length >= 2) {
				if (right_dot_tokens[1].length != 0) {
					result=true;
				}
			}
		}
	}
	}
	if (!result){
           errorString = "Inserisci un'indirizzo e-mail valido";
           alert(errorString);
           Ctrl.focus();
	   return (result);
           }
}}


function start(winflash, x, y, scroll)
{
window.open(winflash,'','scrollbars='+scroll+',screenX=150,screenY=50,left=150,top=50,resizable=0,menubar=0,toolbar=0,status=0,width='+x+',height='+y);
}

