/*
 * jTwitter 1.0 - Twitter API abstraction plugin for jQuery
 * Modified by Nathan Flood, only user data was passed. Now all data is passed.
 * Also, the number of status updates to retrieve is a parameter.
 *  
 * Use:
 * $.jTwitter('wayj_nowplaying',3, function(data){
 * 		//Callback functn with the data as shown above
 *		
 *		console.dir(data);
 *		userdata = data[0].user;
 *		
 *	//	$('#profile input.url').val(userdata.url);
 *	//	$('#profile #avatar').html('<img src="' + userdata.profile_image_url + '" />');
 *	});
 * 
 * Copyright (c) 2009 jQuery Howto
 *
 * Licensed under the GPL license:
 *   http://www.gnu.org/licenses/gpl.html
 *
 * URL:
 *   http://jquery-howto.blogspot.com
 *
 * Author URL:
 *   http://me.boo.uz
 *
 */
(function($){$.extend({jTwitter:function(username,numStatus,fnk){var url="http://twitter.com/status/user_timeline/"+username+".json?count="+ numStatus +"&callback=?";var info={};$.getJSON(url,function(data){if(typeof fnk=="function"){fnk.call(this,data)}})}})})(jQuery);
