 /* name : authLinkHandler
	file : jquery.authlinkhandler.js
	author : Ali Hasan
	(c) Copyright 2009 AOL LLC
	$LastChangedDate: 2009-10-27 23:39:15 -0400 (Tue, 27 Oct 2009) $
	$Rev: 52597 $
 */
(function(a){a.extend({authLinkHandler:function(){var b={init:function(c){a(document).bind("click.jSignIn",b.signin);a(document).bind("click.jSignOut",b.signout);return b},signin:function(f){var c=a(f.target),d;if(c.hasClass("jSignIn")){f.preventDefault();d=c.attr("href")+"?siteState=OrigUrl="+encodeURIComponent(window.location.href);if(c.hasClass("jSignInPrompt")){if(confirm("Please signin to continue.\nWould you like to signin now?")){window.location=d}}else{window.location=d}}},signout:function(f){var c=a(f.target),d;if(c.hasClass("jSignOut")){f.preventDefault();d=c.attr("href")+"?sitedomain=channel.aol.com&siteState=origURL="+encodeURIComponent(window.location.href);window.location=d}}};return b.init()}});a.authLinkHandler()})(jQuery);
