// rootsettings.js
//

var Path,System,Entrance;
var win_w,win_h,win_w_max,win_h_max;
var top_coord,left_coord;
var myToolbar,myLocation,myDirectories,myStatus,myMenubar;
var myResizable,myScrollbars;
var newWindowOpen;

var defaultStartFile="index.html"; // For use in NOSCRIPT case after script re-enabled

function settings() {

// ENSURE THAT THESE RELATIVE ADDRESSES TO KEY FILES ARE CORRECT
//
Path     = currentPath(window.location.href);

// SET SYSTEM and PAGES PATHS ##############

System   = Path+"mc4/system/index.html";
Entrance = Path+"mc4/pages/index.html";
OldBrows = Entrance; // Change to re-direct old browsers

// true : Open a new window for the shop  false : same window
newWindowOpen=false;
// true : start shop onload  false : wait for link to be clicked
immediateStart=false;

// Where new window is to be opened
// Default dimensions for window - adjusted for actual resolution
win_w=790;
win_h=552;
// Max pixel dimensions - these are adjusted for borders
win_w_max=1024;
win_h_max=768;

// Window Features
myToolbar=1;
myLocation=1;
myDirectories=0;
myStatus=1;
myMenubar=0;
myResizable=1;
myScrollbars=1;
Top_coord=0;
Left_coord=0;


}//

// Message for js equipped browsers that do not qualify
var nqmsg="On-line shopping is not supported for this browser.\n\nPlease enjoy looking around our site\nand contact us by phone, fax or e-mail\nwith your requirements."

// Message for older AOL browsers, whre identifiable. AOL5 is OK
var AOL_Message ="Welcome AOL3/AOL4 user!\n\n"
+  "AOL have provided you with TWO ways to browse the InterNet.\n"
+  " 1. The internet window inside the AOL start-up window\n"
+  " 2. A browser that you can start separately\n\n"
+  "In our experience, while both are just fine for looking around\n"
+  "(1) can give problems when trying to place an order\n"
+  " . . . so naturally we would like you to load our shop with\n"
+  "(2) the 'external' browser, most probably Internet Explorer.\n\n"

+  "We recommend that you click \"Cancel\" now and start the external browser.\n"
+  "Alternatively, click OK to continue with your present configuration.";

var AOL_Alert = "Thank you for your attention\n\n"
+ "Please start your 'external' browser\n"
+ "and return to us\n"
+ "at " + self.location.href;  // Automatic insertion of this page's full URL


settings_ok=true;
start();

