$(document).ready(function (){ (function ($){ $.fn.cross = function (options){ return this.each(function (i){ var $$ = $(this); var target = $$.css('backgroundImage').replace(/^url|[\(\)'"]/g, ''); $$.wrap('<span style="position: relative;"></span>').parent().prepend('<img>').find(':first-child').attr('src', target).css({opacity: 0}); if ($.browser.msie){ $$.css({ 'position' : 'absolute','left' : 0,'background' : '','vertical-align' : 'top','top' : '-7px'});} else if ($.browser.opera && $.browser.version < 9.5 || $.browser.mozilla) { $$.css({'position' : 'absolute','left' : 0,'background' : '','top' : '2px'});} else {$$.css({'position' : 'absolute','left' : 0,'background' : '','top' : '1px'
});} $$.hover(function () {$$.animate({opacity:0}, 350).parent().find(':first-child').animate({opacity:1}, 350);}, function () {$$.animate({opacity:1}, 350).parent().find(':first-child').animate({opacity:0}, 350);});});};})(jQuery); $(window).bind('load', function () {$('img.fade').cross();});});
$(document).ready(function (){ $('address span').append('&#64;'+location.host.replace('www.',''));});
