﻿//RWS 06/01/11 IT#17606 - replaced by PopupTripHistory in MS.js
function PopupTripHistory(vnBargeTripID, vnBargeID) {
   var sFeatures = 'top=' + ((screen.height - 600) / 2) + ',left=' + ((screen.width - 1000) / 2) + ',height=600,width=1000,scrollbars,resizable=yes';
   var sUrl = APP_ROOT_PATH + 'MS/Pages/BargeTripHistoryPage.aspx';

   if (vnBargeTripID != null) {
      sUrl += '?BargeTripID=' + vnBargeTripID.toString() + '&BargeID=' + vnBargeID.toString() + '&IsExternal=1';
   }

   return Portal_OpenWindow(sUrl, 'BargeTripHistory', sFeatures);
}

