/*!
 * jQuery Right-Click Plugin
 * Version 1.01
 * Cory S.N. LaViska
 * http://abeautifulsite.net/blog/2008/05/jquery-right-click-plugin
 */
jQuery&&function(){$.extend($.fn,{rightClick:function(b){$(this).each(function(){$(this).mousedown(function(a){$(this).mouseup(function(){$(this).unbind("mouseup");if(a.button==2){b.call($(this),a);return false}else return true})});$(this)[0].oncontextmenu=function(){return false}});return $(this)},rightMouseDown:function(b){$(this).each(function(){$(this).mousedown(function(a){if(a.button==2){b.call($(this),a);return false}else return true});$(this)[0].oncontextmenu=function(){return false}});return $(this)},
rightMouseUp:function(b){$(this).each(function(){$(this).mouseup(function(a){if(a.button==2){b.call($(this),a);return false}else return true});$(this)[0].oncontextmenu=function(){return false}});return $(this)},noContext:function(){$(this).each(function(){$(this)[0].oncontextmenu=function(){return false}});return $(this)}})}(jQuery);

