if($.browser.mozilla||$.browser.opera){document.removeEventListener("DOMContentLoaded",$.ready,false);document.addEventListener("DOMContentLoaded",function(){$.ready()},false)}$.event.remove(window,"load",$.ready);$.event.add( window,"load",function(){$.ready()});$.extend({includeStates:{},include:function(url,callback,dependency){if(typeof callback!='function'&&!dependency){dependency=callback;callback=null}url=url.replace('\n','');$.includeStates[url]=false;var script=document.createElement('script');script.type='text/javascript';script.onload=function(){$.includeStates[url]=true;if(callback)callback.call(script)};script.onreadystatechange=function(){if(this.readyState!="complete"&&this.readyState!="loaded")return;$.includeStates[url]=true;if(callback)callback.call(script)};script.src=url;if(dependency){if(dependency.constructor!=Array)dependency=[dependency];setTimeout(function(){var valid=true;$.each(dependency,function(k,v){if(!v()){valid=false;return false}});if(valid)document.getElementsByTagName('head')[0].appendChild(script);else setTimeout(arguments.callee,10)},10)}else document.getElementsByTagName('head')[0].appendChild(script);return function(){return $.includeStates[url]}},readyOld:$.ready,ready:function(){if($.isReady) return;imReady=true;$.each($.includeStates,function(url,state){if(!state)return imReady=false});if(imReady){$.readyOld.apply($,arguments)}else{setTimeout(arguments.callee,10)}}}); $.include('js/jquery.color.js') $.include('js/jquery.backgroundPosition.js') $.include('js/jquery.easing.1.3.js') $(function(){ /*$('.btn-1 em').hover( function(){ $(this).find('em').stop().animate({color:'#7e7e7e'},200)}, function(){ $(this).find('em').stop().animate({color:'#fff'},200)})*/ $('.list-2 li a').hover( function(){ $(this).stop().animate({color:'#7e7e7e'},200)}, function(){ $(this).stop().animate({color:'#fff'},200)}) $('.sf-menu > li').hover (function(){ $(this).find('> a').stop().animate({backgroundPosition:'0 0'},400,'easeOutExpo'); }, function(){ $(this).not('.sfHover').find('> a').stop().animate({backgroundPosition:'0 50px'},300,'easeOutQuint'); }) $('.soc li a ').hover (function(){ $(this).stop().animate({backgroundPosition:'5px 0',color:'#fff'},400,'easeOutElastic'); }, function(){ $(this).stop().animate({backgroundPosition:'0 0',color:'#b1b1b1'},400,'easeOutQuint'); }) /* $('.list-1 li').hover (function(){ $(this).find('a').stop().animate({backgroundPosition:'4px 3px',color:'#999999'},400,'easeOutElastic'); }, function(){ $(this).find('a').stop().animate({backgroundPosition:'0 3px',color:'#fff'},400,'easeOutQuint'); }) */ $('.link-1 .active').css({opacity:0}) $('.link-1').hover(function(){ $(this).find('.active').stop().animate({opacity:1}) }, function(){ $(this).find('.active').stop().animate({opacity:0}) }) })