﻿jQuery.noConflict();

(function($){//BEGIN jQuery
	$(function(){//BEGIN jQuery.ready()
		
		/*** ロールオーバー ＆ 対象画像切替 ***
		■設定
		.chimg({
			exclude: "active",
			prefix: "",
			postfix: "_o",
			targetAttr: "target",
			prefixAttr: "prefix",
			postfixAttr: "postfix",
			rolloverAttr: "rollover",
			autoActive: false,
			acceptNotLink: false
		});
		*/
		//$(".imgover").chimg();
		$(".gNav")
			.pageInit({
				".about"	: "li:eq(1)",
				".service"	: "li:eq(2)",
				".news"		: "li:eq(3)",
				".company"	: "li:eq(4)",
				".recruit"	: "li:eq(5)",
				".voice"	: "li:eq(6)",
				".seminar"	: "li:eq(7)"

			}, function(){
				$(this).addClass("active");
			})
			.chimg({autoActive:true});
		$(".sNavList")
			.chimg({autoActive:true})
			.find("ul")
				.each(function(){
					var $this = $(this);
					
					$this
						.hide()
						.siblings("a:first")
							.click(function(){
								$this.slideToggle("fast");
								return false;
							});
				})
			.end()
			.pageInit({
				".recruit-voice" : "ul:eq(1)",
				".recruit-index" : "ul:eq(0)",
				".voice-cat01" : "ul:eq(1)",
				".voice-cat02" : "ul:eq(2)",
				".voice-cat03" : "ul:eq(0)",
				".service-med01" : "ul:eq(0)",
				".service-med02" : "ul:eq(0)",
				".service-too01" : "ul:eq(1)",
				".service-sol01" : "ul:eq(2)",
				".news-index" : "ul:eq(0)",
				".news-press" : "ul:eq(1)"
			}, function(){
				$(this).show();
			})
			


		/*** テーブル(やリスト等)交互色 ***
		■引数
		.alternate({
			evenClass: "even",
			oddClass: "odd",
			onlyTbody: true,
			childOnly: false,
			rowTag: false
		});
		*/
		//$(".coloredRow").alternate();
		
		
		
		
		/*other*/
		if($.browser.msie)
			$("hr").replaceWith('<div class="hr"></div>')
		
		
	});//END jQuery.ready()
})(jQuery);//END jQuery





