// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
document.observe('dom:loaded', function(){
  $$('table.striped tr:nth-child(odd)').invoke("addClassName", "oddRow");
  
  // Show Messaging for long shipping calc.
  var ship_button = $('find_shipping_button');
  if(ship_button){
    Event.observe(ship_button, 'click', function(e){
      msg = $('shipping_calculation_message');
      if(msg){msg.appear();}
    });
  }
  
});