	function fbFetch(){
	  //Set Url of JSON data from the facebook graph api. make sure callback is set with a '?' to overcome the cross domain problems with JSON
      //var url = "http://graph.facebook.com/prettyklicks/feed?limit=5&callback=?";
	 var url = "http://graph.facebook.com/32277327681/feed?limit=5&callback=?"
		
		//Use jQuery getJSON method to fetch the data from the url and then create our unordered list with the relevant data.
		$.getJSON(url,function(json){
		    var html = "<ul>";
			
				//loop through and within data array's retrieve the message variable.
		    	$.each(json.data,function(i,fb){
					var fbArray = fb.created_time.split("-");				  
					var sYear = fbArray[0];
					var sMonth = fbArray[1];
					var fbDay = fbArray[2].split("T");
					var sDay = fbDay[0];
					
					
					var NewDate = dateFormat(sMonth + "/" + sDay + "/" + sYear,"fullDate");
									
					var sPost = fb.message;
									
		      		html += "<li>" + sPost + "<br /><strong>" + NewDate + "</strong></li>"; 
		    	});
				
				
		    html += "</ul>";


			//A little animation once fetched
			$('.facebookfeed').animate({opacity:0}, 500, function(){

					$('.facebookfeed').html(html);

																  });

		    $('.facebookfeed').animate({opacity:1}, 500);
		  
		});


	};
