//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   June 8, 2009, 2:10 pm with psd2css Online version 1.39

var timerId;
$(document).ready(function(){

  // This is required for the PNG fix to work.
  if( $.fn.pngfix != null )
    $("img[@src$=png]").pngfix();

  // 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-5").addClass("Wrap-6-5").hide();
  $("#Layer-6").addClass("Wrap-6-5");
  $(".Wrap-6-5").hover(
    function(){ $("#Layer-5").show(); $("#Layer-6").hide(); },
    function(){ $("#Layer-6").show(); $("#Layer-5").hide(); });
  $("#Layer-7").addClass("Wrap-8-7").hide();
  $("#Layer-8").addClass("Wrap-8-7");
  $(".Wrap-8-7").hover(
    function(){ $("#Layer-7").show(); $("#Layer-8").hide(); },
    function(){ $("#Layer-8").show(); $("#Layer-7").hide(); });
  $("#Layer-9").addClass("Wrap-10-9").hide();
  $("#Layer-10").addClass("Wrap-10-9");
  $(".Wrap-10-9").hover(
    function(){ $("#Layer-9").show(); $("#Layer-10").hide(); },
    function(){ $("#Layer-10").show(); $("#Layer-9").hide(); });
  $("#Layer-11").addClass("Wrap-12-11").hide();
  $("#Layer-12").addClass("Wrap-12-11");
  $(".Wrap-12-11").hover(
    function(){ $("#Layer-11").show(); $("#Layer-12").hide(); },
    function(){ $("#Layer-12").show(); $("#Layer-11").hide(); });
  
  // This is code to handle the german_hmenu_jpg menu
  $("#Layer-13").hide().addClass("allMenus");
  $("#Layer-14").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-13").show();
    // 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( '$("#Layer-13").hide()', 1000 );
  });
  
  // This is code to handle the japanese_hmenu_jpg menu
  $("#Layer-15").hide().addClass("allMenus");
  $("#Layer-16").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-15").show();
    // 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( '$("#Layer-15").hide()', 1000 );
  });
  
  // This is code to handle the portuguese_hmenu_jpg menu
  $("#Layer-17").hide().addClass("allMenus");
  $("#Layer-18").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-17").show();
    // 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( '$("#Layer-17").hide()', 1000 );
  });
  
  // This is code to handle the russian_hmenu_jpg menu
  $("#Layer-19").hide().addClass("allMenus");
  $("#Layer-20").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-19").show();
    // 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( '$("#Layer-19").hide()', 1000 );
  });
  
  // This is code to handle the arabic_hmenu_jpg menu
  $("#Layer-21").hide().addClass("allMenus");
  $("#Layer-22").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-21").show();
    // 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( '$("#Layer-21").hide()', 1000 );
  });

});
