base_url = "http://www.schutvandeven.nl/";
function saveImage(imageName) {
	imageName = (imageName.split("/")[1]);
	
	$.ajax({
		type: "POST",
		url: base_url + "index.php/admin/employee/newEmployee",
		data: "url="+imageName,
		success: function(data){
			window.location = base_url+"index.php/admin/employee/edit/"+data;
		}
	});
}
