function switch_to(new_tab) {
  Element.hide(current_tab);
  $(current_tab+'_tab').className = '';
  Element.show(new_tab);
  $(new_tab+'_tab').className = 'current';
  current_tab = new_tab;  
  return false;
}

var current_image = '0';
function swap_image(index) {
  $('image_'+current_image).hide();
  $('image_'+index).show();
  current_image = index;
}

