function over2(elem,foto) {
//	elem.style.backgroundColor = "#FAFDFE";
//	elem.children.tags('A')[0].style.color = "#FF0000";
	elem.style.cursor = 'hand'
	
//	MM_swapImage('ImageHome','',foto,1)
}

function up2(elem,foto) {
//	elem.style.backgroundColor = "#FAFDFE";
//	elem.children.tags('A')[0].style.color = "#FF0000";
	elem.style.cursor = 'hand'	
	MM_swapImage('ImageHome','',foto,1)
}

function out2(elem,foto) {
	elem.style.backgroundColor = "";
//	elem.children.tags('A')[0].style.color = "#FFFFC0";
	MM_swapImage('ImageHome','',foto,1)
}


function over(elem) {
	elem.style.backgroundColor = "#FAFDFE";
//	elem.children.tags('A')[0].style.color = "#FF0000";
	elem.style.cursor = 'hand'
}

function out(elem) {
	elem.style.backgroundColor = "";
//	elem.children.tags('A')[0].style.color = "#FFFFC0";
}

function go(path) {
	top.self.location.href = path;
}

function go2(path) {
	blank.self.location.href = path;
}



var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.focus();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}


function check_form() {

  var error = 0;
  var error_message = "ATTENZIONE! ";
  var mnome = document.account_edit2.mnome.value;
  var memail = document.account_edit2.memail.value;
  var mtel = document.account_edit2.mtel.value;

  if (mnome == "") {

    error_message = error_message + " Inserire il tuo nome.  ";

    error = 1;

  }

  if (memail == "") {

    error_message = error_message + " Inserire il tuo e-mail.  ";

    error = 1;

  }

if (mtel == "") {
    error_message = error_message + " Inserire il tuo n di telefono.  ";

    error = 1;

  }


  if (error == 1) {

    alert(error_message);

    return false;

  } else {

    return true;

  }

}
