/**************************************************************************************************
***************************************************************************************************

f_globals.js

Written by Chris Harding and Joshua McKinney
© Copyright F1 Solutions Pty Ltd 2003

This file holds the global variable data used by all pages.

Production Version 2.0 - June 2007

***************************************************************************************************
**************************************************************************************************/

// constants for GetPath function
var WINDOWS_FOLDER = 0;
var SYSTEM_FOLDER = 1;
var TEMPORARY_FOLDER = 2;

// globals
var gstrLastUpdated = "";
var gblnIsData = false;
var gblnDataFolderError = false;
var gstrDataFilePath = "";
var gstrBofTag = String.fromCharCode(171)+"BOF"+String.fromCharCode(187);
var gstrEofTag = String.fromCharCode(171)+"EOF"+String.fromCharCode(187);

// count of number of storage areas and goods
var numPremises;
var numGoods;

// arrays to hold data loaded from file
var aPremiseData;
var aPremises;
var aGoods;

// Boolean flag for Manifest required
var blnManifestRequired = false;
var blnHazchemRequired = false;

// NEW  - fire proection quantity (VWA)
var blnFireProtectionRequired = false;
// NEW  - displayMixedClassPlacard (VWA)
var displayMixedClassPlacard = true; // as per normal
var overrideMixedClassLock = false;
var mustTrust = "In order to save these reports to your local drive, you will need to trust this VWA Java applet. If you choose not to trust the download - you will not be able to save a softcopy but this application will preserve your current Goods and Premises data for printing purposes or future reference. ";
mustTrust += "\n\nIf you decide to trust the download after selecting NO/CANCEL, you will need to restart your browser otherwise it will continue to exit prematurely. Note: If you need to close your browser all your current Goods and Premises data will be preserved.";
