
var sendable;

$j(function() {		
			
	$j('.uniForm').submit( function (e) {	
		thisObj=$j(this).attr('id');		  
		sendable=1;				
		$j('#'+thisObj+' em').each(function(intIndex) {	
				
			thisObj=$j(this);
			
			if(sendable && thisObj.text() == "*")	{	
				var next = thisObj.parent().next();					
				var nm = next.attr('id');
				var val = next.attr('value');
				if((!val)||((nm.indexOf("email") != -1) && !isValidEmail(val))){
					next.focus();	
					sendable=false;	
				}					
			}
		});	
		
		if(sendable) return true;		
		return false;
	});		
});
