function menu_stol(id){
 $("#html_scroll_area").load(id, {}, function () {
     $.getScript('/css_js/scroll2.js'); 
	 $("#html_thumb").height('230');
	 
 }); 
}

$(window).load(function(){
	$("#menu_menu #menu_id_136").click();
	});

var all_img = 0;
$(function () {
	 $("#menu_menu > a").click(function() {
								$('#'+all_img).attr('class', 'basic'); 
								 all_img = $(this).attr('id');
								$(this).attr('class', 'basic_'); 
				
	$("#fr_menu_l").load('/collection/cmenu/menu_default/2/'+$(this).attr('lang')+'/1', {}, function () { /*$("#html_scroll_area").html('');*/ }); 
	
	$("#html_scroll_area").load('/collection/listelem_all/'+$(this).attr('lang'), {}, function () {
     $.getScript('/css_js/scroll2.js'); 
	 $("#html_thumb").height('230');
	 
    }); 
	
	
	
							//$("#big_img_").attr('src', $(this).attr('lang'));
							//$(this).attr('class', 'on');  
	});
});


function menutoll_1(id, name){
	$("#fr_menu_l").load('/collection/cmenu/menu_default/2/'+id+'/1', {}, function () { /*$("#html_scroll_area").html('');*/ }); 
	
	$("#html_scroll_area").load('/collection/listelem_all/'+id, {}, function () {
     $.getScript('/css_js/scroll2.js'); 
	 $("#html_thumb").height('230');
	 
    }); 
	
	
	
	
	 $(this).attr('class', 'basic_');
	
	
	//$("#fr_menu_l").load('/collection/listelem/2/'+id+'/1', {}, function () { $("#html_scroll_area").html(''); }); 
	
	
}

function menu_visi(id){
	$("#TB_sloi").toggle();
	$("#d_menu").toggle();
	var TB_WIDTH = 950;
	
	$("#d_menu").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'});
        if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6
                $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
				
				$.getScript('/css_js/scroll2.js'); 
	 			$("#html_thumb").height('230');
    }
		


}
