var t_toggling=0;
	var t_status=0;

	function toggle_services(tst,ten) {
	
		if (t_toggling==0) {
		
			t_toggling=1;

			if (t_status==0) {

				t_pos=parseInt(tst);
				t_ende=parseInt(ten);
				
				t_w=0;
				t_widthende=225;
				t_step=-2;
				t_stepw=2;
				t_back=1;
				
				t_status=1;
				
				
				e=document.getElementById("services2");
				e.style.visibility="visible";
				
			
			} else {

				var e=document.getElementById("services2");
				t_pos=parseInt(e.style.left);
								
				t_ende=parseInt(tst)+5;
				t_w=225;
				t_widthende=0;
				t_step=2;
				t_stepw=-2;
				t_back=0;
				
				t_status=0;
				
			
			
			
			}
			
			var e=document.getElementById("services2");
			e.style.left=t_pos+"px";
			e.style.width=t_w+"px";
			
			ti=window.setInterval("t_toggle()",2);
		
		}
	
	}
	
	function t_toggle() {
	
		var e=document.getElementById("services2");
		t_pos+=t_step;
		
		e.style.left=t_pos+"px";
		t_w+=t_stepw;
		if (t_w<0) {
			t_w=0;
		}
		e.style.width=t_w+"px";
		
		if ( (t_back==1) && (t_w>=t_widthende) ) {
			window.clearInterval(ti);
			t_toggling=0;
		} else if ( (t_back==0) && (t_w<=0) ) {
			
			window.clearInterval(ti);
			t_toggling=0;
			
			e=document.getElementById("services2");
			e.style.visibility="hidden";
			
			
		}
	
	}
