;

    jsh.init_complete = true;
  }

  //Customer Data structure (will be edited via popup form)
  this.cust_data = {
    cust_id:   1,
    cust_name: 'Test Customer',
    cust_sts:  'ACTIVE',
  };

  //Load Form into memory, if not previously loaded
  this.loadPopupForm = function(callback){

    //If form is already loaded into memory, return
    if(jsh.XModels['Customer']) return callback();

    //Check for changes before leaving page
    window.onbeforeunload = XExt.chain(window.onbeforeunload, functi