//
// nemmaa.js
//


$(document).ready(function(){

  // This is required for the PNG fix to work.
  if (window.DD_belatedPNG)
    DD_belatedPNG.fix('.pngimg');

  // This is some javascript to stop IE from displaying the img alt attributes
  // when you mouse over imagess.  If you would like IE to display the alt attributes,
  // just comment out the following 4 lines.  Don't worry, if you leave this in 
  // place, your ALT attributes are still readable by the search engines.
  var tmpalt;
  $("img").hover( 
    function(){ tmpalt = $(this).attr( "alt" ); $(this).attr( "alt", "" ); },
    function(){ $(this).attr( "alt", tmpalt ); });

  // This is code to handle all of the _linkover events.  It works by
  // creating a special Wrap class, adding it to the link and linkover
  // divs of each link and linkover pair, and assigning a hover event to
  // that.
  $("#Layer-11").addClass("Wrap-19-11").hide();
  $("#Layer-19").addClass("Wrap-19-11");
  $(".Wrap-19-11").hover(
    function(){ $("#Layer-11").show(); $("#Layer-19").hide(); },
    function(){ $("#Layer-19").show(); $("#Layer-11").hide(); });
  $("#Layer-12").addClass("Wrap-20-12").hide();
  $("#Layer-20").addClass("Wrap-20-12");
  $(".Wrap-20-12").hover(
    function(){ $("#Layer-12").show(); $("#Layer-20").hide(); },
    function(){ $("#Layer-20").show(); $("#Layer-12").hide(); });
  $("#Layer-13").addClass("Wrap-21-13").hide();
  $("#Layer-21").addClass("Wrap-21-13");
  $(".Wrap-21-13").hover(
    function(){ $("#Layer-13").show(); $("#Layer-21").hide(); },
    function(){ $("#Layer-21").show(); $("#Layer-13").hide(); });
  $("#Layer-14").addClass("Wrap-22-14").hide();
  $("#Layer-22").addClass("Wrap-22-14");
  $(".Wrap-22-14").hover(
    function(){ $("#Layer-14").show(); $("#Layer-22").hide(); },
    function(){ $("#Layer-22").show(); $("#Layer-14").hide(); });
  $("#Layer-15").addClass("Wrap-23-15").hide();
  $("#Layer-23").addClass("Wrap-23-15");
  $(".Wrap-23-15").hover(
    function(){ $("#Layer-15").show(); $("#Layer-23").hide(); },
    function(){ $("#Layer-23").show(); $("#Layer-15").hide(); });
  $("#Layer-16").addClass("Wrap-24-16").hide();
  $("#Layer-24").addClass("Wrap-24-16");
  $(".Wrap-24-16").hover(
  

    function(){ $("#Layer-16").show(); $("#Layer-24").hide(); },
    function(){ $("#Layer-24").show(); $("#Layer-16").hide(); });
  $("#Layer-17").addClass("Wrap-25-17").hide();
  $("#Layer-25").addClass("Wrap-25-17");
  $(".Wrap-25-17").hover(
    function(){ $("#Layer-17").show(); $("#Layer-25").hide(); },
    function(){ $("#Layer-25").show(); $("#Layer-17").hide(); });
  $("#Layer-18").addClass("Wrap-26-18").hide();
  $("#Layer-26").addClass("Wrap-26-18");
  $(".Wrap-26-18").hover(
    function(){ $("#Layer-18").show(); $("#Layer-26").hide(); },
    function(){ $("#Layer-26").show(); $("#Layer-18").hide(); });


//front page
 $("#Layer-57").addClass("Wrap-60-57").hide();
  $("#Layer-60").addClass("Wrap-60-57");
  $(".Wrap-60-57").hover(
    function(){ $("#Layer-57").show(); $("#Layer-60").hide(); },
    function(){ $("#Layer-60").show(); $("#Layer-57").hide(); });
  $("#Layer-58").addClass("Wrap-61-58").hide();
  $("#Layer-61").addClass("Wrap-61-58");
  $(".Wrap-61-58").hover(
    function(){ $("#Layer-58").show(); $("#Layer-61").hide(); },
    function(){ $("#Layer-61").show(); $("#Layer-58").hide(); });
  $("#Layer-59").addClass("Wrap-62-59").hide();
  $("#Layer-62").addClass("Wrap-62-59");
  $(".Wrap-62-59").hover(
    function(){ $("#Layer-59").show(); $("#Layer-62").hide(); },
    function(){ $("#Layer-62").show(); $("#Layer-59").hide(); });
  $("#Layer-63").addClass("Wrap-65-63").hide();
  $("#Layer-65").addClass("Wrap-65-63");
  $(".Wrap-65-63").hover(
    function(){ $("#Layer-63").show(); $("#Layer-65").hide(); },
    function(){ $("#Layer-65").show(); $("#Layer-63").hide(); });
  $("#Layer-64").addClass("Wrap-66-64").hide();
  $("#Layer-66").addClass("Wrap-66-64");
  $(".Wrap-66-64").hover(
    function(){ $("#Layer-64").show(); $("#Layer-66").hide(); },
    function(){ $("#Layer-66").show(); $("#Layer-64").hide(); });
//end front page	
	
	  // This is code to handle the MEDIA_menu_jpg menu
  $("#mediaMenu").hide().addClass("allMenus");
  $("#Layer-15").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#mediaMenu").show("slow");
    // Remove the following 2 lines if you don't want this menu to dissappear
    // automatically.  Change how long the menu stays visible by changing
    // the 4000 to another number of milliseconds
    clearTimeout( timerId );
    timerId = setTimeout( '$("#mediaMenu").hide("slow")', 2000 );
  });

});

