   function onAfter() { 
		//$('#exploreSliderText').html(this.title); 
	}
	function onBefore() { 
		$(this).css('visibility', 'visible'); 
	}
	
	/* create a timeOut function in jQuery */
	jQuery.fn.idle = function(time){
		return this.each(function(){
			var i = $(this);
			i.queue(function(){
				setTimeout(function(){
				i.dequeue();
				}, time);
			});
		});
	};
	
   $(document).ready(function(){
		// messagebox 
		if(document.getElementById("messageBox")){
			// fade out
			$('#messageBox').idle(3000).fadeOut('fast');
		}
		// toggle for jobs
			$(".viewDetailsLink").click(function () {
				var whichOne = $(this).attr("id");
				var theOne = "#" + whichOne.replace("link_","job_");
			  	$(theOne).slideToggle("slow");
			});
   });
