
//
// global.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 ); });
  
 // SOCIAL NETWORKING 
 
  $("#twitterH").addClass("Wrap-98-99").hide();
  $("#twitter").addClass("Wrap-98-99");
  $(".Wrap-98-99").hover(
    function(){ $("#twitterH").show(); $("#twitter").hide(); },
    function(){ $("#twitter").show(); $("#twitterH").hide(); });
  $("#facebookH").addClass("Wrap-96-97").hide();
  $("#facebook").addClass("Wrap-96-97");
  $(".Wrap-96-97").hover(
    function(){ $("#facebookH").show(); $("#facebook").hide(); },
    function(){ $("#facebook").show(); $("#facebookH").hide(); });
  
  
 // NAVIGATION
 
  $("#link-contact-over").addClass("Wrap-18-19").hide();
  $("#link-contact").addClass("Wrap-18-19");
  $(".Wrap-18-19").hover(
    function(){ $("#link-contact-over").show(); $("#link-contact").hide(); },
    function(){ $("#link-contact").show(); $("#link-contact-over").hide(); });
  $("#link-faq-over").addClass("Wrap-20-21").hide();
  $("#link-faq").addClass("Wrap-20-21");
  $(".Wrap-20-21").hover(
    function(){ $("#link-faq-over").show(); $("#link-faq").hide(); },
    function(){ $("#link-faq").show(); $("#link-faq-over").hide(); });
  $("#link-instruct-over").addClass("Wrap-22-23").hide();
  $("#link-instruct").addClass("Wrap-22-23");
  $(".Wrap-22-23").hover(
    function(){ $("#link-instruct-over").show(); $("#link-instruct").hide(); },
    function(){ $("#link-instruct").show(); $("#link-instruct-over").hide(); });
  $("#link-media-over").addClass("Wrap-24-25").hide();
  $("#link-media").addClass("Wrap-24-25");
  $(".Wrap-24-25").hover(
    function(){ $("#link-media-over").show(); $("#link-media").hide(); },
    function(){ $("#link-media").show(); $("#link-media-over").hide(); });
  $("#link-schedule-over").addClass("Wrap-26-27").hide();
  $("#link-schedule").addClass("Wrap-26-27");
  $(".Wrap-26-27").hover(
    function(){ $("#link-schedule-over").show(); $("#link-schedule").hide(); },
    function(){ $("#link-schedule").show(); $("#link-schedule-over").hide(); });
  $("#link-trial-over").addClass("Wrap-28-29").hide();
  $("#link-trial").addClass("Wrap-28-29");
  $(".Wrap-28-29").hover(
    function(){ $("#link-trial-over").show(); $("#link-trial").hide(); },
    function(){ $("#link-trial").show(); $("#link-trial-over").hide(); });
  $("#link-about-over").addClass("Wrap-30-31").hide();
  $("#link-about").addClass("Wrap-30-31");
  $(".Wrap-30-31").hover(
    function(){ $("#link-about-over").show(); $("#link-about").hide(); },
    function(){ $("#link-about").show(); $("#link-about-over").hide(); });

});

