		function isEmailAddress(email)
		{
		  var result = false;
		  var theStr = new String(email);
		  var index = theStr.indexOf("@"); 
		   if (index > 0) 
		    {
			    var pindex = theStr.indexOf(".",index);
				if ((pindex > index+1) && (theStr.length > pindex+1))
					result = true; 
			 } 
			  return result;
		}

function openWindow(page, win_width, win_height){
	MyWindow=window.open(page,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width='+win_width+',height='+win_height+''); 
}
