(function($) {
$.fn.rollover=function(a){a=(a!=null)?a:"_on";return this.not('[src*="'+a+'."]').each(function(){var b=$(this);var d=b.attr("src");var c=d.substr(0,d.lastIndexOf("."))+a+d.substring(d.lastIndexOf("."));$("<img>").attr("src",c);b.hover(function(){b.attr("src",c)},function(){b.attr("src",d)})})};
$.fn.winOpen=function(a){$(this).click(function(){if(a!=null){window.open(this.href,null,a)}else{window.open(this.href,null)}return false})};
$.fn.tip=function(a){var b=$('<div id="jQuery_Tool_Tip"></div>').hide();$("body").append(b);return this.each(function(){var c=$(this),d=c.attr("title");if(!d){return}a=+a||15;c.hover(function(e){c.attr("title","");b.css({top:e.pageY+(-a),left:e.pageX+a}).text(d).show()},function(){c.attr("title",d);b.hide()});c.mousemove(function(e){b.css({top:e.pageY+(-a),left:e.pageX+a})})})};
})(jQuery);
