// JavaScript Document
$(document).ready(function(){
	var curParentShowIndex = ($(".hypoMain .left li").index($(".hypoMain .left li[class='now']")));
	if(curParentShowIndex == -1){
		curParentShowIndex = 0;	
	}
	$(".hypoSub").eq(curParentShowIndex).show();
	
	$(".hypoMain .left li").hover(function(){
		$(".hypoMain .left li").removeClass("now");
		$(".hypoMain .left li").children().removeClass("nobg");
		$(this).addClass("now");
		$(this).prev().children().addClass("nobg");
		var titnum=$(".hypoMain .left li").index(this);
		$(".hypoSub").hide();
		$(".hypoSub").eq(titnum).show();
	});
});

