//==========================================================================
//
// Javascript routines for WEB INVENTORY PRODUCT MANAGER generated pages
//
//==========================================================================

//--------------------------------------------------------------------------
//
// Displays sales terms in a popup browser
//
//--------------------------------------------------------------------------
function salesTermsView(urlpath, store_id) {
  winParms = "toolbar=yes,status=no,directories=no,location=no,scrollbars=yes,resizable=yes,width=550,height=450";
  win = window.open(urlpath + "/sales_terms.php?store_id=" + store_id, "salesTermsView", winParms);
  win.document.close();
  win.focus();
}

//--------------------------------------------------------------------------
//
// Displays the given string in the status bar.
//
//--------------------------------------------------------------------------
function statusBar(msg) {
  status = msg;
  return true;
}

