jQuery.noConflict();

(function($){//BEGIN jQuery
$(function($){//BEGIN jQuery.ready()
	
	/*main, side*/
	var $main = $('#mainContents');
	var $side = $('#sidebar');
	
	
	
	/* 共通
	 ***********************************/
	
	
	/*gNav*/
	$('#gNavList')
		.pageInit({
			  '.site_index':	'> li:eq(0)'
			, '.service':		'> li:eq(1)'
			, '.company':		'> li:eq(2)'
			, '.recruit':		'> li:eq(3)'
			, '.news':			'> li:eq(4)'
		}, function(){
			$(this).addClass('active');
		})
		.chimg({autoActive:true});
	
	
	/*sNav*/
	$('#sNavList')
		.find('> li:last')
			.addClass('last')
		.end()
		.pageInit({
			//service
			  '#service-service_01':		'> li:eq(0)'
			, '#service-service_02':		'> li:eq(1)'
			//company
			, '#company-index':		'> li:eq(0)'
			, '#company-message':	'> li:eq(1)'
			, '#company-privacy':	'> li:eq(2)'
			//recruit
			, '#recruit-index':		'> li:eq(0)'
			//news
			, '#news-index':		'> li:eq(0)'
		}, function(){
			$(this).addClass('active');
		})
		
	
	
	/*toPageTop*/
	$('div.toPageTop a', $main)
		.click(function(){
			$('html, body').animate({
				scrollTop: 0
			}, 500);
			return false;
		});
	
	
	/*IEonly: hr*/
	if($.browser.msie){
		$('hr', $main)
			.replaceWith('<div class="hr"></div>');
	}
	
	
	/*stripe*/
	$('table.tblStyle01', $main)
		.stripe()
	
	
	
	
	/* ページ単位
	 ***********************************/
	
	
	
});//END jQuery.ready()
})(jQuery);//END jQuery

