;(function($) {

	var debug = true;
	
	$.fn.slider = function(options) {
		
		var defaults = { 
			openTxt: 'open',
			closeTxt: 'close',
			speed: 'fast',
			cookie: {
				name: 'profile-slider',
				path: '/',
				expires: 10 // 10 days
			}
		};
		
		var loadContent = false;
		
		
		if (!this.length) {
			log('slider: ignoring function - no element selected');
			return this;
		}
		
		var options = $.extend({}, defaults, options);
		
		/*if (typeof options == 'function')
			options = { success: options };*/
		
		if(!options.slider) {
			log('slider: ignoring function - option "slider" missing');
			return this;
		}
		
		
		
	};
	
	function log() {
		if (debug && window.console && window.console.log)
			window.console.log('[jquery.elkspel] ' + Array.prototype.join.call(arguments,''));
	};
	
})(jQuery);
