function submitEmployment()
{
	//alert($(":input[name=licencetype]").val());
	//return false;
	bodyContent = $.ajax({
      url: "/employmentform",
      global: false,
      type: "POST",
      data: ({
			  MAX_FILE_SIZE 	: $(":input[name=MAX_FILE_SIZE]").val(),
			  username			: $(":input[name=username]").val(),
			  firstname			: $(":input[name=firstname]").val(),
			  lastname			: $(":input[name=lastname]").val(),
			  phone				: $(":input[name=phone]").val(),
			  email				: $(":input[name=email]").val(),
			  address 			: $(":input[name=address]").val(),
			  dob				: $(":input[name=dob]").val(),
			  drivingexp		: $(":input[name=drivingexp]").val(),
			  licencetype		: $("input[name=licencetype]:checked").val(),
			  bfmcertified		: $("input[name=bfmcertified]:checked").val(),
			  employed			: $("input[name=employed]:checked").val(),
			  startdate			: $(":input[name=startdate]").val(),
			  addinfo			: $(":input[name=addinfo]").val(),
			  coverletter 		: $(":file[name=coverletter]").val(),
			  resume			: $(":file[name=resume]").val()
			  }),
      dataType: "html",
      async:false,
      success: function(msg){
         //alert(msg);
		 $("#cboxLoadedContent").html(msg);
      }
   }
).responseText;
	
}
