function open_popup(page,popup_features) {
  window.open(page+'?view=popup','',popup_features);
}