// 
// File containing variable items for placement in the head of the Civic Society pages
// NOTE that location addresses are constructed as absolute addresses using a variable 
// This enables the navigation stack to be used in any folder relative to the root and 
// in test on the home PC as well as on the operational server.
//
// Insert prefix + in front of every Happy Valley page link. The link itself must have a
// slash (/) in front of it to make it root relative on the server.
// prefix is also used in navigation2.js, the value being set here.
//
<!--
// First comes the Netscape resize fix from Dreamweaver (must come first)
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//
window.defaultStatus = "  Welcome to the Happy Valley!"
//
// Now determine whether we are running on the PC or on the live server
var prefix = "";  // for the live server add nothing
var local  = "file:///E:/WWW/Bollington";  // the PC running with the data in E:
var laptop = "/Documents%20and%20Settings/All%20Users/Documents/WWW/Bollington";  // the old laptop
var laptop1545 = "/Users/WW1SAM/Web%20sites/Bollington";  // the laptop Inspiron 1545
//
var source = parent.location.href.substring(0,4);
if (source == "file") {prefix = local; };
var source = parent.location.href.substring(39,43);
if (source == "Users") {prefix = laptop; };
var source = parent.location.href.substring(11,18);
if (source == "Users/W") {prefix = laptop1545; };
//
