function mailSend(){		
	
	var allowed = true;
	
	enx( '.form_items' ).children( '.form_item.required' ).children( 'input, select' ).each( function(){	
		
		enx(this).bind('focus', function(){
			enx(this).removeClass( "invalid" );	
		});
		
		if( enx(this).val() == '' ){
			allowed = false;
			enx(this).addClass( "invalid" );
		}
		else{
			if( enx(this).attr('name') == 'email' ){
				var emailMask = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
				if( !emailMask.test( enx(this).val() ) ){
					enx(this).addClass( "invalid" );
					allowed = false;
				}
			}
			else{
				enx(this).removeClass( "invalid" );
			}
		}
	});
	
	if( allowed == true || allowed == 'true' ){				
		oForm = enx( '.form_items' ).parent("form");
		
		enx.post( enx(oForm).attr('action'), enx(oForm).serialize(), function(response){ 			
			}			
		).success( function(response){
			if( response == 'Success' ){
				enx( '.form_items' ).html( '<b>Message successfully sent</b> <br /> <br />  Thank you for taking time to fill out this contact form. We will get back to you as soon as possible.<br />' ).scrollTop( 0 );				;
				enx( '#content' ).scrollTop( 0 );
			} else {
				enx( '.form_items' ).html( '<b>Error sending your message</b> <br /> <br />  While sending your message an error occured. Please try again? If this probleem keeps occuring please contact our administrator. <br /><br />(<i>' + response + '</i>)' ).scrollTop( 0 );				
				enx( '#content' ).scrollTop( 0 );	
			}
		}).error( function(response){ 
			enx( '.form_items' ).html( '<b>Error sending your message</b> <br /> <br />  While sending your message an error occured. Please try again? If this probleem keeps occuring please contact our administrator. <br /><br />(<i>' + response + '</i>)' ).scrollTop( 0 );				
			enx( '#content' ).scrollTop( 0 );
		}).complete( function(){					
		});
		return true;
	}
}

