function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function check_newsltform(the_form){
		if (the_form.email.value == ""){
			window.alert("Please enter your email");
			the_form.email.focus();
			return false;
		}

		var the_at    = the_form.email.value.indexOf("@");
		var the_dot   = the_form.email.value.indexOf(".");
		var the_space = the_form.email.value.indexOf(" ");

		if ( (the_at!=-1)&&(the_at!=0)&&(the_dot!=-1)&&(the_dot>the_at + 1)&&(the_dot<the_form.email.value.length-1)&&(the_space==-1) ){
			width		= 250;
			height		= 150;
			top_val		= (screen.height - height)/2 - 30;
			if (top_val < 0){ top_val	= 0; }
			left_val	= (screen.width - width)/2;
		
			window.open('', the_form.name, "toolbar=0,location=0,status=1,menubar=0,scrollbars=1,resizable=1,width="+ width +",height="+ height +", top="+ top_val +",left="+ left_val);
			the_form.submit();
			return true;
		}

		window.alert("Please enter your email");
		the_form.email.focus();
		return false;
	}
	