$(function(){var nam = "hover",nam2 =$("#navi"),tar = null,dd = " dd",sdd = $("#side_navi dd"),arr = new Array("#n_01","#n_02","#n_03","#n_04","#n_05"),spd = 200;
	/*easing*/	   
	/*jQuery.easing.jswing=jQuery.easing.easeOutQuart;jQuery.extend(jQuery.easing,{def:"easeOutQuart",easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a}})*/	 
   function arrHover(obj){$(obj).hover(function(){hovOn(obj)},function(){hovOut(obj)})};
   function hovOn(tar){nam2.addClass(nam),$(tar).addClass(nam),$(tar+dd).slideDown(spd)};
   function hovOut(tar){nam2.removeClass(nam),$(tar).removeClass(nam),$(tar+dd).hide()};
   
   arrHover(arr[0]);arrHover(arr[1]);arrHover(arr[2]);arrHover(arr[3]);arrHover(arr[4]);
   sdd.hover(function(){$(this).addClass(nam)},function(){$(this).removeClass(nam)})
   
	/*チェッカー用*/
   var check_timer,em ="#check em",spd2=200,u_int = 30,d_int = 35;
   function updown(){$(em+":not(:animated)").animate({top:d_int},spd2).animate({top:u_int},spd2).animate({top:d_int},spd2).animate({top:u_int},spd2)};
   function move(){check_timer = setInterval(function(){updown()},800);};
   $("#check a").hover(function(){updown(),move();},function(){$(em).css("top",u_int),clearInterval(check_timer)})
   
   /*サロン用*/
   var s_01=$("#b_01"),s_02=$("#b_02"),s_03=$("#b_03"),i_01="#i_01",i_02="#i_02",i_03="#i_03",a_not=":not(:animated)";
   s_01.hover(function(){$(i_01+a_not).fadeIn(spd)},function(){ $(i_01).fadeOut(spd)})
   s_02.hover(function(){$(i_02+a_not).fadeIn(spd)},function(){ $(i_02).fadeOut(spd)})
   s_03.hover(function(){$(i_03+a_not).fadeIn(spd)},function(){ $(i_03).fadeOut(spd)})
   
   var bhd = $("#bihada"),wha = $("#top_page #whappy");
   bhd.click(function(){location.href = "about/care.html";})
   wha.click(function(){location.href = "plan/happytrio.html";})


 });

var pro = "width=705,resizable=0,scrollbars=yes,toolbar=no,menubar=0,location=0,directories=0,status=0",
pro_02 = "width=595,height=555,resizable=0,scrollbars=0,toolbar=no,menubar=0,location=0,directories=0,status=0",
pro_03 = "width=705,resizable=0,scrollbars=yes,toolbar=no,menubar=0,location=0,directories=0,status=0";
pro_04 = "width=625,height=805,resizable=0,scrollbars=0,toolbar=no,menubar=0,location=0,directories=0,status=0",
pro_05 = "width=780,resizable=0,scrollbars=yes,toolbar=no,menubar=0,location=0,directories=0,status=0",
function j_01(){win=window.open("jishin/index.html","",pro)}
function j_02(){win=window.open("../jishin/index.html","",pro)}
function j_03(){win=window.open("jishin/index.html","",pro)}
function p_01(){win=window.open("swf/checker.html","",pro_02)}
function p_02(){win=window.open("plan/swf/checker.html","",pro_02)}
function p_03(){win=window.open("../plan/swf/checker.html","",pro_02)}
function i_01(){win=window.open("jishin/important.html","",pro_03)}
function i_02(){win=window.open("../jishin/important.html","",pro_03)}
function m_01(){win=window.open("mail/index.html","",pro)}
function m_02(){win=window.open("../mail/index.html","",pro)}
function o_01(){win=window.open("price_news.html","",pro_05)}
function o_02(){win=window.open("../price_news.html","",pro_05)}
function r_01(){win=window.open("revision/index.html","",pro)}
function r_02(){win=window.open("../revision/index.html","",pro)}
function n_01(){win=window.open("news/attention.html","",pro_04)}
