//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   September 24, 2009, 9:41 pm with psd2css Online version 1.53

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-10").addClass("Wrap-4-10").hide();
  $("#Layer-4").addClass("Wrap-4-10");
  $(".Wrap-4-10").hover(
    function(){ $("#Layer-10").show(); $("#Layer-4").hide(); },
    function(){ $("#Layer-4").show(); $("#Layer-10").hide(); });
  $("#Layer-11").addClass("Wrap-5-11").hide();
  $("#Layer-5").addClass("Wrap-5-11");
  $(".Wrap-5-11").hover(
    function(){ $("#Layer-11").show(); $("#Layer-5").hide(); },
    function(){ $("#Layer-5").show(); $("#Layer-11").hide(); });
  $("#Layer-12").addClass("Wrap-6-12").hide();
  $("#Layer-6").addClass("Wrap-6-12");
  $(".Wrap-6-12").hover(
    function(){ $("#Layer-12").show(); $("#Layer-6").hide(); },
    function(){ $("#Layer-6").show(); $("#Layer-12").hide(); });
  $("#Layer-13").addClass("Wrap-7-13").hide();
  $("#Layer-7").addClass("Wrap-7-13");
  $(".Wrap-7-13").hover(
    function(){ $("#Layer-13").show(); $("#Layer-7").hide(); },
    function(){ $("#Layer-7").show(); $("#Layer-13").hide(); });
  $("#Layer-14").addClass("Wrap-8-14").hide();
  $("#Layer-8").addClass("Wrap-8-14");
  $(".Wrap-8-14").hover(
    function(){ $("#Layer-14").show(); $("#Layer-8").hide(); },
    function(){ $("#Layer-8").show(); $("#Layer-14").hide(); });
  $("#Layer-15").addClass("Wrap-9-15").hide();
  $("#Layer-9").addClass("Wrap-9-15");
  $(".Wrap-9-15").hover(
    function(){ $("#Layer-15").show(); $("#Layer-9").hide(); },
    function(){ $("#Layer-9").show(); $("#Layer-15").hide(); });
  
  // This is code to handle the default menu
//   $("#Layer-16").show().addClass("allMenus");
//   $("#Layer-10").click(function(e){
//     e.preventDefault();
//     $(".allMenus").hide("slow");
//     $("#Layer-16").hide("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( '$("#Layer-16").hide("slow")', 4000 );
//   });

  // This is code to handle the whatsnew_menu menu
  $("#Layer-166").hide().addClass("allMenus");
  $("#Layer-10").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-166").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( '$("#Layer-166").hide("slow")', 4000 );
  });
  
  // This is code to handle the mediacoverage_menu menu
  $("#Layer-141").show().addClass("allMenus");
  $("#Layer-11").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-141").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( '$("#Layer-141").hide("slow")', 4000 );
  });
  
  // This is code to handle the broll_menu menu
  $("#Layer-116").hide().addClass("allMenus");
  $("#Layer-12").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-116").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( '$("#Layer-116").hide("slow")', 4000 );
  });
  
  // This is code to handle the science_menu menu
  $("#Layer-91").hide().addClass("allMenus");
  $("#Layer-13").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-91").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( '$("#Layer-91").hide("slow")', 4000 );
  });
  
  // This is code to handle the testimonials_menu menu
  $("#Layer-66").hide().addClass("allMenus");
  $("#Layer-14").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-66").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( '$("#Layer-66").hide("slow")', 4000 );
  });
  
  // This is code to handle the zeronau_menu menu
  $("#Layer-41").hide().addClass("allMenus");
  $("#Layer-15").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-41").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( '$("#Layer-41").hide("slow")', 4000 );
  });

});
