$(document).ready(function(){

	if($(".loading").length) {
		$(".loading").each(function(){
			$(this).load($(this).attr("rel"), function(){
				$(this).removeClass("loading");
			});
		});
	}

	if($("#featured-info").length) {
		$("#featured-info .colA .fade").innerfade({
			speed: "1000",
			timeout: "5000"
		});
		colB = setTimeout(function() {
			$("#featured-info .colB .fade").innerfade({
				speed: "1000",
				timeout: "5000"
			});
		}, 1000);
		colC = setTimeout(function() {
			$("#featured-info .colC .fade").innerfade({
				speed: "1000",
				timeout: "5000"
			});
		}, 2000);
	}

	if($("#worklist").length) {
		$("#worklist > li").hover(function(){
			$(".overlay", this).show();
		},function(){
			$(".overlay", this).hide();
		});
	}

});
