;(function($) {
	$.fn.comments = function(options) {
		
		//$.log('comments init');
		
	  var settings = $.extend({}, $.fn.comments.defaults, options);

		return this.each(function() {
			var $this = $(this);
			var $addBtn = $("#comment-title #comment-show a");
			//var $loginBtn = $("#comment-title #comment-login");
			var $commentsForm = $("#comment-section");
			
			//if ($.cookie("ziplocEmail")) {
			//	$loginBtn.hide();
				$addBtn.click(function(){
					$commentsForm.slideToggle(500);
					return false;
				});
			//} else {
			//	$addBtn.hide();
			//}
			
		});
	};
	
	$.fn.toggleComments = function() {
		
		return false;
	};
	
	$.fn.addComment = function(requested) {
		return this.each(function() {
			
		});
	};

	$.fn.comments.defaults = {
		loginSuccessPage: "/en/my-ziploc/myziploc-profile.aspx",
		forgotPasswordPage: "",
		errorClass: "error"
	};

})(jQuery);
