$.ajaxSetup ({ cache: false });

function delayAction(func){
	setTimeout(func, 1000);
}

function loadPartial(target, url, func){
	$.get(url, function(data){
		target.replaceWith(data);
		func();
	});
}

function loadCss(url, func){
	$("head").append("<link>");
	var css = $("head").children(":last");
	css.attr({
    	rel:  "stylesheet",
    	type: "text/css",
    	href: url
	});
	func();
}

function loadJs(url, func){
	$.getScript(url, func);
}

