function ajax_click(hreader,content)
{
 	//$(".content").slideUp("slow");
	var header_img = hreader; 
	 var content_show = content; //retrieve title of link so we can compare with php file
		$.ajax({
			method: "get",url: content_show+'.php',
			beforeSend: function(){$("#maincol_content").html(''),$("#loading").show();}, //show loading just when link is clicked
			complete: function(){ $("#loading").hide();}, //stop showing loading when the process is complete
			success: function(html){ //so, if data is retrieved, store it in html
			$("#maincol_content").show(); //animation
			$("#maincol_content").html(html); //show the html inside .content div	
		}
 }); //close $.ajax
 return false;
}
