//
// veracious.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   January 14, 2010, 12:35 pm with psd2css Online version 1.67

$(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.
  
  // navigation bar hover effects  
  
  $("#navigation_hover_solutions").addClass("Navigation-Solutions").hide();
  $("#navigation_link_solutions").addClass("Navigation-Solutions");
  $(".Navigation-Solutions").hover(
    function(){ $("#navigation_hover_solutions").show(); $("#navigation_link_solutions").hide(); },
    function(){ $("#navigation_link_solutions").show(); $("#navigation_hover_solutions").hide(); });
  $("#navigation_hover_community").addClass("Navigation-Community").hide();
  $("#navigation_link_community").addClass("Navigation-Community");
  $(".Navigation-Community").hover(
    function(){ $("#navigation_hover_community").show(); $("#navigation_link_community").hide(); },
    function(){ $("#navigation_link_community").show(); $("#navigation_hover_community").hide(); });
  $("#navigation_hover_contact").addClass("Navigation-Contact").hide();
  $("#navigation_link_contact").addClass("Navigation-Contact");
  $(".Navigation-Contact").hover(
    function(){ $("#navigation_hover_contact").show(); $("#navigation_link_contact").hide(); },
    function(){ $("#navigation_link_contact").show(); $("#navigation_hover_contact").hide(); });

    // community pages hover effects
    
  $("#contribute_hover").addClass("Contribute").hide();
  $("#contribute").addClass("Contribute");
  $(".Contribute").hover(
    function(){ $("#contribute_hover").show(); $("#contribute").hide(); },
    function(){ $("#contribute").show(); $("#contribute_hover").hide(); });
  $("#promote_hover").addClass("Promote").hide();
  $("#promote").addClass("Promote");
  $(".Promote").hover(
    function(){ $("#promote_hover").show(); $("#promote").hide(); },
    function(){ $("#promote").show(); $("#promote_hover").hide(); });
  $("#invest_hover").addClass("Invest").hide();
  $("#invest").addClass("Invest");
  $(".Invest").hover(
    function(){ $("#invest_hover").show(); $("#invest").hide(); },
    function(){ $("#invest").show(); $("#invest_hover").hide(); });
    
  $("#beta_test_hover").addClass("Beta-Test").hide();
  $("#beta_test").addClass("Beta-Test");
  $(".Beta-Test").hover(
    function(){ $("#beta_test_hover").show(); $("#beta_test").hide(); },
    function(){ $("#beta_test").show(); $("#beta_test_hover").hide(); });
  $("#contribute_code_hover").addClass("Contribute-Code").hide();
  $("#contribute_code").addClass("Contribute-Code");
  $(".Contribute-Code").hover(
    function(){ $("#contribute_code_hover").show(); $("#contribute_code").hide(); },
    function(){ $("#contribute_code").show(); $("#contribute_code_hover").hide(); });
  $("#suggestions_hover").addClass("Suggestions").hide();
  $("#suggestions").addClass("Suggestions");
  $(".Suggestions").hover(
    function(){ $("#suggestions_hover").show(); $("#suggestions").hide(); },
    function(){ $("#suggestions").show(); $("#suggestions_hover").hide(); });
    
  $("#invest_e-mail_address_hover").addClass("Invest-E-mail").hide();
  $("#invest_e-mail_address").addClass("Invest-E-mail");
  $(".Invest-E-mail").hover(
    function(){ $("#invest_e-mail_address_hover").show(); $("#invest_e-mail_address").hide(); },
    function(){ $("#invest_e-mail_address").show(); $("#invest_e-mail_address_hover").hide(); });
  $("#investor_document_hover").addClass("Investor-Document").hide();
  $("#investor_document").addClass("Investor-Document");
  $(".Investor-Document").hover(
    function(){ $("#investor_document_hover").show(); $("#investor_document").hide(); },
    function(){ $("#investor_document").show(); $("#investor_document_hover").hide(); });
    
    // contact pages hover effects
    
  $("#founders_link_hover").addClass("Founders").hide();
  $("#founders_link").addClass("Founders");
  $(".Founders").hover(
    function(){ $("#founders_link_hover").show(); $("#founders_link").hide(); },
    function(){ $("#founders_link").show(); $("#founders_link_hover").hide(); });
//  $("#advisors_link_hover").addClass("Advisors").hide();
//  $("#advisors_link").addClass("Advisors");
//  $(".Advisors").hover(
//    function(){ $("#advisors_link_hover").show(); $("#advisors_link").hide(); },
//    function(){ $("#advisors_link").show(); $("#advisors_link_hover").hide(); });
  $("#team_link_hover").addClass("Team").hide();
  $("#team_link").addClass("Team");
  $(".Team").hover(
    function(){ $("#team_link_hover").show(); $("#team_link").hide(); },
    function(){ $("#team_link").show(); $("#team_link_hover").hide(); });
    
});

