jQuery.fn.ArteHover=function(b,e,f){
    b==void 0&&(b=250);
    var d=function(a,b,c){
        jQuery(a).attr("locked")!="true"&&(jQuery(a).attr("_checked","false"),
        jQuery(a).attr("overed")=="false"&&jQuery(a).attr("mouseover")=="true"?jQuery(a).children(b).fadeIn(c,function(){
            jQuery(a).attr("overed","true");
            e!=void 0&&e();d(a,b,c)}):jQuery(a).attr("overed")=="true"&&jQuery(a).attr("mouseover")=="false"?jQuery(a).children(b).fadeOut(c,function(){jQuery(a).attr("overed","false");
            f!=void 0&&f();d(a,b,c)}):jQuery(a).attr("_checked", "true"))};
    jQuery(this).each(function(){jQuery(this).prepend('<div class="thumb_bw" style="background:url('+jQuery(this).children("img").attr("src")+") no-repeat 0% 100%; position:absolute; height:"+jQuery(this).height()+"px; width:"+jQuery(this).width()+'px;"></div> <div class="thumb_norm" style="display:none; background:url('+jQuery(this).children("img").attr("src")+") no-repeat 0% 0%; position:absolute; height:"+jQuery(this).height()+"px; width:"+jQuery(this).width()+'px;"></div>');jQuery(this).mouseenter(function(){jQuery(this).attr("mouseover", "true");jQuery(this).attr("overed")==void 0&&jQuery(this).attr("overed","false");jQuery(this).attr("_checked")==void 0&&jQuery(this).attr("_checked","true");jQuery(this).attr("_checked")=="true"&&d(this,".thumb_norm",b)});jQuery(this).mouseleave(function(){jQuery(this).attr("mouseover","false");jQuery(this).attr("_checked")=="true"&&d(this,".thumb_norm",b)})});return this};
