//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   May 18, 2009, 4:20 pm with psd2css Online version 1.38

var timerId;
$j(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-12").addClass("Wrap-11-12").hide();
  $("#Layer-11").addClass("Wrap-11-12");
  $(".Wrap-11-12").hover(
    function(){ $("#Layer-12").show(); $("#Layer-11").hide(); },
    function(){ $("#Layer-11").show(); $("#Layer-12").hide(); });
  $("#Layer-14").addClass("Wrap-13-14").hide();
  $("#Layer-13").addClass("Wrap-13-14");
  $(".Wrap-13-14").hover(
    function(){ $("#Layer-14").show(); $("#Layer-13").hide(); },
    function(){ $("#Layer-13").show(); $("#Layer-14").hide(); });
  $("#Layer-16").addClass("Wrap-15-16").hide();
  $("#Layer-15").addClass("Wrap-15-16");
  $(".Wrap-15-16").hover(
    function(){ $("#Layer-16").show(); $("#Layer-15").hide(); },
    function(){ $("#Layer-15").show(); $("#Layer-16").hide(); });
  $("#Layer-18").addClass("Wrap-17-18").hide();
  $("#Layer-17").addClass("Wrap-17-18");
  $(".Wrap-17-18").hover(
    function(){ $("#Layer-18").show(); $("#Layer-17").hide(); },
    function(){ $("#Layer-17").show(); $("#Layer-18").hide(); });
  $("#Layer-20").addClass("Wrap-19-20").hide();
  $("#Layer-19").addClass("Wrap-19-20");
  $(".Wrap-19-20").hover(
    function(){ $("#Layer-20").show(); $("#Layer-19").hide(); },
    function(){ $("#Layer-19").show(); $("#Layer-20").hide(); });
  $("#Layer-22").addClass("Wrap-21-22").hide();
  $("#Layer-21").addClass("Wrap-21-22");
  $(".Wrap-21-22").hover(
    function(){ $("#Layer-22").show(); $("#Layer-21").hide(); },
    function(){ $("#Layer-21").show(); $("#Layer-22").hide(); });
  
  // This is code to handle the about_hmenu menu
  $("#Layer-4").hide().addClass("allMenus");
  $("#Layer-12").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-4").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( '$j("#Layer-4").hide()', 4000 );
  });
  
  // This is code to handle the contact_hmenu menu
  $("#Layer-5").hide().addClass("allMenus");
  $("#Layer-14").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-5").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( '$j("#Layer-5").hide()', 4000 );
  });
  
  // This is code to handle the consult_hmenu menu
  $("#Layer-6").hide().addClass("allMenus");
  $("#Layer-16").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-6").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( '$j("#Layer-6").hide()', 4000 );
  });
  
  // This is code to handle the library_hmenu menu
  $("#Layer-7").hide().addClass("allMenus");
  $("#Layer-18").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-7").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( '$j("#Layer-7").hide()', 4000 );
  });
  
  // This is code to handle the blog_hmenu menu
  $("#Layer-9").hide().addClass("allMenus");
  $("#Layer-20").mouseover(function(e){
    e.preventDefault();
    $(".allMenus").hide();
    $("#Layer-9").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( '$j("#Layer-9").hide()', 4000 );
  });

});

