// JavaScript Document

var fullo = .3;
		var is_open = 1;
	
		$(document).ready(function(){
			$("#uu").stop(true,true).animate({opacity:.0},400,function(){$("#uu").css({display:"none"});$("#uua").stop(true,true).fadeOut(400);});
			$("#b_share").stop(true,true).animate({left:'590px'},400);$("#us").stop(true,true).animate({opacity:fullo},400);
			$("#b_teach").stop(true,true).animate({left:'780px'},400);$("#ut").stop(true,true).animate({opacity:fullo},400);
			
			$("#b_use").hover(function(){
					if(is_open == 1) return;
					$("#uu").stop(true,true).animate({opacity:.0},400,function(){$("#uu").css({display:"none"});});$("#uua").stop(true,true).fadeOut(400);
					$("#uta").stop(true,true).fadeIn(200);$("#usa").stop(true,true).fadeIn(200);
					$("#b_share").stop(true,true).animate({left:'590px'},400);$("#us").stop(true,true).css({display:'block'}).animate({opacity:fullo},400);
					$("#b_teach").stop(true,true).animate({left:'780px'},400);$("#ut").stop(true,true).css({display:'block'}).animate({opacity:fullo},400);
					is_open = 1;
				
			});
			$("#b_share").hover(function(){
				if(is_open == 2) return;
				if (!$("#b_share").is(':animated')){
					$("#us").stop(true,true).animate({opacity:.0},400,function(){$("#us").css({display:"none"});});$("#usa").fadeOut(400);
					$("#uta").stop(true,true).fadeIn(200);$("#uua").stop(true,true).fadeIn(200);
					$(this).stop(true,true).animate({left:'190px'},400);$("#uu").stop(true,true).css({display:'block'}).animate({opacity:fullo},400);
					$("#b_teach").stop(true,true).animate({left:'780px'},400);$("#ut").stop(true,true).css({display:'block'}).animate({opacity:fullo},400);
					is_open = 2;
				}
				
			});
			$("#b_teach").hover(function(){
					if(is_open == 3) return;
				
					$("#ut").stop(true,true).animate({opacity:.0},400,function(){$("#ut").css({display:"none"});});$("#uta").stop(true,true).fadeOut(400);
					$("#uua").stop(true,true).fadeIn(200);$("#usa").stop(true,true).fadeIn(200);
					$("#b_share").stop(true,true).animate({left:'190px'},400);$("#us").stop(true,true).css({display:'block'}).animate({opacity:fullo},400);
					$("#b_teach").stop(true,true).animate({left:'380px'},400);$("#uu").stop(true,true).css({display:'block'}).animate({opacity:fullo},400);
					is_open = 3;
				
			});
		
		});
		
		
		function expand(t){
			
		
		
		}
