(function ($) {
        $.fn.cross = function (options) {
            return this.each(function (i) { 

                var $$ = $(this);
                var target =  $$.wrap('<span style=" margin:0; padding:0;"></span>')

                if ($.browser.mozilla) {
                    $$.css({
                         
                        'left' : 0,
                        'background' : '',
                        'top' : this.offsetTop
                    });
                } else if ($.browser.opera) {
                    $$.css({
                       
                        'left' : 0,
                        'background' : '',
                        'top' : "0"
                    });
                } else if ($.browser.msie) {
                    $$.css({
                       
                        'left' : 0,
                        'background' : '',
                        'top' : "0"
                    });
                }
				else { // Safari
                    $$.css({
                         
                        'left' : 0
                    });
                }

                $$.hover(function () {
                    $$.stop().animate({
                        opacity: 0.5
                    }, 180);
                }, function () {
                    $$.stop().animate({
                        opacity: 1
                    }, 180);
                });
            });
        };
        
    })(jQuery);
    
    $j(window).bind('load', function () {
        $j('img.fade').cross();
    });
