(function(A){A.fn.alert=function(B){B=A.extend({speed:"slow"},B);
return this.each(function(){A(this).highlight();
A(this).fadeIn(B.speed);
A(this).fadeOut(B.speed)
})
};
A.fn.highlight=function(){return this.each(function(){A(this).css("backgroundColor","yellow")
})
};
A.fn.pulsate=function(B){B=A.extend({pulses:3,speed:"slow"},B);
return this.each(function(){for(var C=0;
C<B.pulses;
C++){A(this).fadeOut(B.speed);
A(this).fadeIn(B.speed)
}})
};
A(document).ready(function(){var C=new Array();
var B;
A('input[type="image"].imgover,img.imgover').each(function(F){var E=A(this);
var H=E.attr("src");
var D=H.substring(H.lastIndexOf("."),H.length);
var G=H.replace(D,"_o"+D);
E.attr("hsrc",G);
C[F]=new Image();
C[F].src=G;
E.mouseover(function(){B=this.getAttribute("src");
this.setAttribute("src",this.getAttribute("hsrc"))
});
E.mouseout(function(){if(!B){B=this.getAttribute("src").replace("_o"+D,D)
}this.setAttribute("src",B)
})
})
})
})(jQuery);