Hover Effect jQuery
function HoverEffect($target, cancelClass, speed) {
$target.hover(
function() {
if($(this).hasClass(cancelClass) == false) {
$(this).stop().fadeTo(speed, 0.6);
}
},
function() {
$(this).stop().fadeTo(speed, 1);
}
);
}
HoverEffect($target,className, speed);