function updateURL(target){
	$.get(target, function(data){
		$("#content").html('');
		$("#content").html(data);
	}).error(function() {
    $("#content").html('The request failed.'); // or whatever
	});
}

function updateSlogan(target){
	$.get(target, function(data){
		$("#slogan").html('');
		$("#slogan").html(data);
	}).error(function() {
    $("#slogan").html('The request failed.'); // or whatever
	});
}

function updateIMG(target,id,path,destination) {
	var IMGpath = "images/fotoart/"+ path + target;
	  $("#"+id).mouseover(function() {
			$("#"+destination).attr("src",IMGpath);
		});
		$("#"+id).mousedown(function() {
			$("#"+destination).attr("src",IMGpath);
		});
}
function setLink(target, linktarget){
	$(target).set('href', linktarget);
	}
function updateNAV(target,old,id,path,destination) {
	var IMGpath = "images/fotoart/"+ path + target;
	var IMGold  = "images/fotoart/"+ path + old;
	  $("#"+id).mouseover(function() {
			$("#"+destination).attr("src",IMGpath);
		});
		$("#"+id).mousedown(function() {
			$("#"+destination).attr("src",IMGpath);
		});
		$("#"+id).mouseout(function() {
			$("#"+destination).attr("src",IMGold);
		});
}
