$(document).ready(function(){

	// tab mouse down
	function tab_mousedown(index)
	{
		$('.menu li').each(function(){
			$(this).removeClass('tab_active');		
		});
		$('.menu #tab'+index).addClass('tab_active');
	}	
	tab_mousedown(2);		
});