function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function validate_is_email(tmp_email){ // Function checks whether string passed is a valid e-mail address
	tmp_valid_address = true;
	tmp_position_of_at = tmp_email.indexOf("@");
	if(tmp_position_of_at<1||tmp_position_of_at>(tmp_email.length-4)){ // The '@' cannot be the first character, or be within the last 3
		tmp_valid_address = false;
	}
	if(tmp_email.substr(tmp_position_of_at).indexOf(".")<=1||tmp_email.substr(tmp_email.length-1)=="."){ // There cannot be a period (.) immediately after the '@' or at the end of the string
		tmp_valid_address = false;
	}
	if(tmp_position_of_at!=tmp_email.lastIndexOf("@")){ // Make sure that there is only one '@' in the string
		tmp_valid_address = false;
	}
	return tmp_valid_address;
}

