$(function(){
	$('#changeBox_a1').width($('.bg_img').width());
	$('#change_3 .a_bigImg img').soChange({
		thumbObj:'#change_3 .ul_change_a2 a',
		thumbNowClass:'on',
		changeTime:1000
	});
	$(window).resize(function(){
		$('#bg').width($(window).width());
		$('#content').width(990);		
		$('#content').height($('#content_middle').height()+40);		
		$('.bg_img').width($(window).width());
		$('#_head').height(145);
		$('#_foot').height($('#foot').height());
		$('body').width($(window).width());
	});
	$(window).scroll(function(e){
		e.stopImmediatePropagation();
		e.isDefaultPrevented();
		e.result = false;
		return false;
	});
	$('#content').css({opacity:$('#op_content_tm').val()});
	$('#content').css({background:"#"+$('#op_content_color').val()});
	$('#_head').css({opacity:$('#op1').val()});
	$('#_foot').css({opacity:$('#op2').val()});
	$(window).resize();
	
	var obj_menu_current = $('.menu_current');
	if(obj_menu_current.hasClass('menu_b')){
		while((obj_menu_current = obj_menu_current.prev()).hasClass('menu_b'));
	}
	obj_menu_next = obj_menu_current;
	while((obj_menu_next = obj_menu_next.next('.menu_b')).length){
		obj_menu_next.addClass('menu_show');
	}
});

