function getTarget(a){return a.target}function getPageXY(a){return[a.pageX,a.pageY]}function preventDefault(a){a.preventDefault()}function keyCode(a){return a.keyCode}function addEvent(c,b,a){jQuery(c).bind(b,a)}function removeEvent(c,b,a){jQuery(c).unbind(b,a)}jQuery.fn.shadowbox=function(a){return this.each(function(){var c=jQuery(this);var d=jQuery.extend({},a||{},jQuery.metadata?c.metadata():jQuery.meta?c.data():{});var b=this.className||"";d.width=parseInt((b.match(/w:(\d+)/)||[])[1])||d.width;d.height=parseInt((b.match(/h:(\d+)/)||[])[1])||d.height;Shadowbox.setup(c,d)})};