function toggleOn(b) { b.className = 'ovr'; }
function toggleOff(b) { b.className = 'but'; }
  
function popupExtraInfo(a) {
  window.open(a.href,'extraInfo','width=400,height=400,scrollbars,resizable'); 
  return false;
}
function popupCondition(a) {
  window.open(a.href,'condition','width=400,height=400,scrollbars,resizable'); 
  return false;
}


Event.addBehavior({
  'a.extra_info:click': function() {
    this.up('tr').next('tr').toggle();
    return false;
  },
  'a.front_page_info:click': function() {
    this.up('table').up('tr').next('tr').toggle();
    return false;
  }
});