//You need an anonymous function to wrap around your function to avoid conflict
(function($){

	//Attach this new method to jQuery
 	$.fn.extend({ 
 		
 		//This is where you write your plugin's name
 		save_scores : function($member_id,$entry_id, $game_id, $score, $now, $lang) {

			//Iterate over the current set of matched elements
    		return this.each(function() {
			
				//code to be inserted here
				//alert('Howdy!');
				var $pass_vars = 'http://www.authentikinteractive.com/CI/index.php/scores/game_result/' + $member_id + '/' + $entry_id + '/' + $game_id + '/' + $score + '/' + $now + '/' + $lang ;
				//alert($pass_vars);
				//$(this).load('http://www.authentikinteractive.com/CodeIgniter_1.7.1/index.php/scores/game_result/' + $member_id + '/' + $entry_id + '/' + $game_id + '/' + $score + '/' + $now);
				$(this).load($pass_vars	);
				
				//$(this).append('Ciao!');
				
				//$save_results_btn.append(' - info in ajax link - ' + $score);
				
			
    		});
    	}
	});
	
//pass jQuery to the function, 
//So that we will able to use any valid Javascript variable name 
//to replace "$" SIGN. But, we'll stick to $ (I like dollar sign: ) )		
})(jQuery);

	
	
