  /* <![CDATA[ */

  $(document).ready(function() {
  
    $("img").mouseover(function() {
      var src = $(this).attr("src");
      if(src.indexOf("/base/") != -1) {
        $(this).attr("src", src.replace("/base/","/hover/"));
      }
    }).mouseout(function() {
      var src = $(this).attr("src");
      if(src.indexOf("/hover/") != -1) {
        $(this).attr("src", src.replace("/hover/","/base/"));
      }
    });
   
 //Javascript for the FAQ/Features page
$('#faq_link').click(function(){
  $('#main_content_table').hide();
  $('#faq_table').show();
  $(this).hide();
  $('#features_link').show();
  return false;
}); 

$('#features_link').click(function(){
  $('#faq_table').hide();
  $('#main_content_table').show();
  $(this).hide();
  $('#faq_link').show();
  return false;
}); 
 
 //set up VentCalc Links
 $('#vent_calc_link a').click(function(){
  popUp('/ventcalc.html');
  return false;
  });
   
 });
 
 //Popup funtion for vent calc, might be used for something else later
 function popUp(url) {
  day = new Date();
  id = day.getTime();
  eval("page" + id + " = window.open(url, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=290,height=500,left = 835,top = 350');");
}

  
  /* ]]> */
