﻿$(function(){
	/***********************************************
	//tot-menu-bt	-rollOver					   //
	************************************************/
	/*
	$(".bt-sumbit01").hover(function(){
		$(this).css( {backgroundPosition: "-159px 0"} );
			},function(){
		$(this).css( {backgroundPosition: "0 0"} );
	});
	*/
	/***********************************************
	//pagemove 									   //
	************************************************/

	$(".pagetop > a").click(function(){
		$(this).blur();
		$('html,body').animate({ scrollTop: 0 }, 'slow');
		return false;
	});
	
	$(".pagetop-tx > a").click(function(){
		$(this).blur();
		$('html,body').animate({ scrollTop: 0 }, 'slow');
		return false;
	});
	
	
	$(".nav-title01 > a").click(function(){
	  var get_y = $("#table-title01").offset().top;
	  $('html,body').animate({ scrollTop: get_y }, 'slow');
	  $(this).blur();
	  return false;
	});
	
	$(".nav-title02 > a").click(function(){
	  var get_y = $("#table-title02").offset().top;
	  $('html,body').animate({ scrollTop: get_y }, 'slow');
	  $(this).blur();
	  return false;
	});
	
	$(".nav-title03 > a").click(function(){
	  var get_y = $("#table-title03").offset().top;
	  $('html,body').animate({ scrollTop: get_y }, 'slow');
	  $(this).blur();
	  return false;
	});
	
	$("#carWashNav01 > a").click(function(){
		var get_y = $("#carwash_h3_02").offset().top;
	  $('html,body').animate({ scrollTop: get_y }, 'slow');
	  $(this).blur();
	  return false;
	});
	
	$("#carWashNav02 > a").click(function(){
		var get_y = $("#table-title02").offset().top;
	  $('html,body').animate({ scrollTop: get_y }, 'slow');
	  $(this).blur();
	  return false;
	});
	
	$("#carWashNav03 > a").click(function(){
		var get_y = $("#table-title03").offset().top;
	  $('html,body').animate({ scrollTop: get_y }, 'slow');
	  $(this).blur();
	  return false;
	});
	
	$("#carWashNav04 > a").click(function(){
		var get_y = $("#table-title-ar").offset().top;
	  $('html,body').animate({ scrollTop: get_y }, 'slow');
	  $(this).blur();
	  return false;
	});
	
		$("#keeperNav01 > a").click(function(){
		var get_y = $("#pureKeePer").offset().top;
	  $('html,body').animate({ scrollTop: get_y }, 'slow');
	  $(this).blur();
	  return false;
	});
	
		$("#keeperNav02 > a").click(function(){
		var get_y = $("#crystalKeePer").offset().top;
	  $('html,body').animate({ scrollTop: get_y }, 'slow');
	  $(this).blur();
	  return false;
	});
	
	$("#keeperNav03 > a").click(function(){
		var get_y = $("#diamondKeePer").offset().top;
	  $('html,body').animate({ scrollTop: get_y }, 'slow');
	  $(this).blur();
	  return false;
	});
	
	$(".keeper_1_banner > a").mouseover(function(){
	 	$(this).css("opacity","0.8");
	});
	
	$(".keeper_1_banner > a").mouseout(function(){
	 	$(this).css("opacity","1");
	});
	
	$("#carWashNav01 > a").mouseover(function(){
	 	$(this).css("opacity","0.8");
	});
	
	$("#carWashNav02 > a").mouseover(function(){
	 	$(this).css("opacity","0.8");
	});
	
	$("#carWashNav03 > a").mouseover(function(){
	 	$(this).css("opacity","0.8");
	 });
	
	$("#carWashNav04 > a").mouseover(function(){
	 	$(this).css("opacity","0.8");
	 });
	
	$("#carWashNav01 > a").mouseout(function(){
	 	$(this).css("opacity","1");
	});
	
	$("#carWashNav02 > a").mouseout(function(){
	 	$(this).css("opacity","1");
	});
	
	$("#carWashNav03 > a").mouseout(function(){
	 	$(this).css("opacity","1");
	});
	
	$("#carWashNav04 > a").mouseout(function(){
	 	$(this).css("opacity","1");
	});
	
	
	
	
	$("#keeperNav01 > a").mouseover(function(){
	 	$(this).css("opacity","0.8");
	});
	
	$("#keeperNav01 > a").mouseout(function(){
	 	$(this).css("opacity","1");
	});
	
	
	$("#keeperNav02 > a").mouseover(function(){
	 	$(this).css("opacity","0.8");
	});
	
	$("#keeperNav02 > a").mouseout(function(){
	 	$(this).css("opacity","1");
	});
	
	
	$("#keeperNav03 > a").mouseover(function(){
	 	$(this).css("opacity","0.8");
	});
	
	$("#keeperNav03 > a").mouseout(function(){
	 	$(this).css("opacity","1");
	});
	
	$(".img-inner2 > a").mouseover(function(){
	 	$(this).css("opacity","0.8");
	});
	
	$(".img-inner2 > a").mouseout(function(){
	 	$(this).css("opacity","1");
	});
	
	$(".img-inner > a").mouseover(function(){
	 	$(this).css("opacity","0.8");
	});
	
	$(".img-inner > a").mouseout(function(){
	 	$(this).css("opacity","1");
	});
	
	
	
	
});
