var application = {
  
  orderPageTypes: function() {
    handles = document.getElementsByClassName('handle');
    if(!handles) return;
    if(handles[0].style.display == "none") {
      Element.show.apply(Element.show, handles);
    } else {
      Element.hide.apply(Element.hide, handles);
    }
  }
}

function comment_loading() {
  Form.disable('commentform');
  Element.show('comment_indicator');
  //Form.disable('commentform');
}

function complete() {
  Form.enable('commentform');
  $('commentform').elements[3].value = '';
  Element.hide('comment_indicator');
}
