$(document).ready(function(){
$(".Layer1-s").animate({height: '20px'}, "slow");
});
//$(".Layer1-s-z a").bind("mouseover", function(event) { $(".Layer1-s").animate({height: '50px'}, "slow"); });
//$(".Layer1-s-z a").bind("mouseout", function(event) { $(".Layer1-s").animate({height: '20px'}, "slow"); });
$(".button1").bind("mouseover", function(event) {  this.className='Hand1_On';playHome() });
$(".button1").bind("mouseout", function(event) {  this.className='Hand1_off';});
$(".button2").bind("mouseover", function(event) {  this.className='Hand2_On';playHome() });
$(".button2").bind("mouseout", function(event) {  this.className='Hand2_off';});

//$(".button2").bind("mouseover", function(event) { $(".button2").html('&nbsp;'); this.className='Hand1_On';playHome() });
//$(".button2").bind("mouseout", function(event) { $(".button2").html('&nbsp'); this.className='Hand1_off';});
//$(".button3").bind("mouseover", function(event) { $(".button3").html('&nbsp;'); this.className='Hand2_On';playHome()});
//$(".button3").bind("mouseout", function(event) { $(".button3").html('&nbsp'); this.className='Hand2_off';});
//$(".button4").bind("mouseover", function(event) { $(".button4").html('&nbsp;'); this.className='Hand3_On';playHome()});
//$(".button4").bind("mouseout", function(event) { $(".button5").html('&nbsp'); this.className='Hand3_off';});
//$(".button5").bind("mouseover", function(event) { $(".button5").html('&nbsp;'); this.className='Hand4_On';playHome() });
//$(".button5").bind("mouseout", function(event) { $(".button5").html('&nbsp'); this.className='Hand4_off';});
$(".button6").bind("mouseover", function(event) {  this.className='Hand5_On';playHome()});
$(".button6").bind("mouseout", function(event) {  this.className='Hand5_off';});
$(".button7").bind("mouseover", function(event) { this.className='Hand6_On';playHome() });
$(".button7").bind("mouseout", function(event) { this.className='Hand6_off';});

$("#button9").bind("mouseover", function(event) {  this.className='sec2';$('#button10')[0].className='sec1';$('#button11')[0].className='sec1';$('#button12')[0].className='sec1';
$('#ka9')[0].className='countent1-2-2-2  block';$('#ka10')[0].className='countent1-2-2-2  unblock';$('#ka11')[0].className='countent1-2-2-2  unblock';$('#ka12')[0].className='countent1-2-2-2  unblock';});

$("#button10").bind("mouseover", function(event) { this.className='sec2';$('#button9')[0].className='sec1';$('#button11')[0].className='sec1';$('#button12')[0].className='sec1';
$('#ka10')[0].className='countent1-2-2-2 block';$('#ka9')[0].className='countent1-2-2-2 unblock';$('#ka11')[0].className='countent1-2-2-2 unblock';$('#ka12')[0].className='countent1-2-2-2 unblock';});

$("#button11").bind("mouseover", function(event) { this.className='sec2';$('#button9')[0].className='sec1';$('#button10')[0].className='sec1';$('#button12')[0].className='sec1';
$('#ka11')[0].className='countent1-2-2-2 block';$('#ka9')[0].className='countent1-2-2-2 unblock';$('#ka10')[0].className='countent1-2-2-2 unblock';$('#ka12')[0].className='countent1-2-2-2 unblock';});

$("#button12").bind("mouseover", function(event) { this.className='sec2';$('#button9')[0].className='sec1';$('#button10')[0].className='sec1';$('#button11')[0].className='sec1';
$('#ka12')[0].className='countent1-2-2-2 block';$('#ka9')[0].className='countent1-2-2-2 unblock';$('#ka10')[0].className='countent1-2-2-2 unblock';$('#ka11')[0].className='countent1-2-2-2 unblock';});

//$("#button13").bind("click", function(event) {  $("#ka13").hide("slow");});
$("#button13").bind("click", function(event) { $("#ka13").show("slow");$("#ka14").hide("slow");$("#ka15").hide("slow");$("#ka16").hide("slow");$("#ka18").hide("slow");});
$("#button14").bind("click", function(event) { $("#ka14").show("slow");$("#ka13").hide("slow");$("#ka15").hide("slow");$("#ka16").hide("slow");$("#ka18").hide("slow");});
$("#button15").bind("click", function(event) { $("#ka15").show("slow");$("#ka13").hide("slow");$("#ka14").hide("slow");$("#ka16").hide("slow");$("#ka18").hide("slow");});
$("#button16").bind("click", function(event) { $("#ka16").show("slow");$("#ka13").hide("slow");$("#ka14").hide("slow");$("#ka15").hide("slow");$("#ka18").hide("slow");});
$("#button18").bind("click", function(event) { $("#ka18").show("slow");$("#ka13").hide("slow");$("#ka14").hide("slow");$("#ka15").hide("slow");$("#ka16").hide("slow");});

$(".button17").bind("mouseover", function(event) {  this.className='Hand17_On';playHome() });
$(".button17").bind("mouseout", function(event) {  this.className='Hand17_off';});

//$(".mc").bind("mouseover", function(event) {  $(".mc").hide();});
//$(".nr").bind("mouseout", function(event) { $(".mc").show();});

$(".mc1").bind("mouseover", function(event) {  $(".mc1").hide();});
$(".nr1").bind("mouseout", function(event) { $(".mc1").show();});
$(".mc2").bind("mouseover", function(event) {  $(".mc2").hide();});
$(".nr2").bind("mouseout", function(event) { $(".mc2").show();});
$(".mc3").bind("mouseover", function(event) {  $(".mc3").hide();});
$(".nr3").bind("mouseout", function(event) { $(".mc3").show();});
$(".mc4").bind("mouseover", function(event) {  $(".mc4").hide();});
$(".nr4").bind("mouseout", function(event) { $(".mc4").show();});
