jQuery.download = function(url, data, method, callbackFnk){
	if( url && data ){ 
		data = typeof data == 'string' ? data : jQuery.param(data);
		var inputs = '';
		if (typeof(data)=="object") {
			$.each(data, function(k,v){ 
				inputs+='<input type="hidden" name="'+ k +'" value="'+ v +'" />'; 
			});
		} else {
			$.each(data.split('&'), function(){ 
				var pair = this.split('=');
				inputs+='<input type="hidden" name="'+ pair[0] +'" value="'+ pair[1] +'" />'; 
			});
		}
		jQuery('<form action="'+ url +'" method="'+ (method||'post') +'">'+inputs+'</form>').appendTo('body').submit().remove();
		if	(typeof callbackFnk == 'function'){
			callbackFnk.call(this, data);
		}
	};
};

