//<!-- Written 10 July 2000(?) by Mike Ryalls of WebPages -->
//<!-- Client update 7 May 2008 button address for VISIT OUR SHOP added -->
//<!-- Last update 7 May 2008 -->

//<!--- inicio anti curiosos --->
//<SCRIPT language=Javascript1.2><!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

var mymessage = "Function de-activated";

function rtclickcheck(keyp){
  if (navigator.appName == "Netscape" && keyp.which == 3) {
    alert(mymessage);
    return false;
  }

  if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) {
    alert(mymessage);
    return false;
  }
}

document.onmousedown = rtclickcheck
//-->
//</SCRIPT><!--- fin anti curiosos --->


//<!-- Principio Watermark -->
//<SCRIPT language=Javascript1.2><!--
// you must keep the following lines on when you use this
// original idea from the Geocities Watermark
// © Nicolas - http://www.javascript-page.com

var window_says  = "Click this link to return to the main Scouting Milestones Page";
var image_width = 0;
var image_height = 0;
var left_from_corner = 50;
var up_from_corner = 64;

var JH = 0;
var JW = 0;
var JX = 0;
var JY = 0;
var left = image_width + left_from_corner + 0;
var up = image_height + up_from_corner + 0;

if(navigator.appName == "Netscape") {
var wm = document.jsbrand;
}

if (navigator.appVersion.indexOf("MSIE") != -1){
var wm = document.all.jsbrand;
}

function watermark() {

 if(navigator.appName == "Netscape") {
   JH = window.innerHeight
   JW = window.innerWidth
   JX = window.pageXOffset
   JY = window.pageYOffset
   wm.visibility = "hide"
   wm.top = (JH+JY-up)
   wm.left = (JW+JX-left)
   wm.visibility= "show"
 }

 if (navigator.appVersion.indexOf("MSIE") != -1){
  if (navigator.appVersion.indexOf("Mac") == -1){
   wm.style.display = "";
   JH = document.body.clientHeight;
   JW = document.body.clientWidth;
   JX = document.body.scrollLeft;
   JY = document.body.scrollTop;
   wm.style.top = (JH+JY-up);
   wm.style.left =(JW+JX-left);
   wm.style.display = "";
  }
 }
}

function msover(){
    window.status = window_says
    return true;
}

function msout(){
    window.status = ""
    return true;
}

setInterval("watermark()",100);
//-->
//</SCRIPT><!-- fin Watermark -->


// Mouseover scripts appearing on Status Bar from: a) 1 up to 100 Milestones Index; b) 101-111 Scouting Experiences; c) 201-203 Lyke Wake Walk; d) 301-315 Lyke Wake Dirge.
//<SCRIPT language="JavaScript"><!-- hide
 function MA(n) {
  this.lenth=n;
  for(var i=1;i<=n;i++) this[i]=0;
 return this }

 text=new MA(315);
 text[1] = "Return to 'Milestones' opening Page";
 text[2] = "This link goes directly to \"The Voyage of the Calgaric\"";
 text[3] = "B-P's School days";
 text[4] = "This link takes you to the Mafeking Cadets Page";
 text[5] = "Was this the book that started it all?";
 text[6] = "This Page contains a previously-unpublished list of the boys attending";
 text[7] = "The origin of the World Badge and how the swastika came to be used in Scouting";
 text[8] = "A Page on \"The Scout V.C.\"";
 text[9] = "A voyage of discovery into the origins of a badge";
 text[10] = "Link to the Page on the Lyke Wake Walk";
 text[11] = "Click this link to go to Childhood Memories toys Web Site";
 text[12] = "This link goes directly to the \"Scouting for Boys\" Page";
 text[13] = "Click this link to go to a Page on the Lyke Wake Walk";
 text[14] = "Go to Childhood Memories toys Web Site";
 text[15] = "This link goes directly to my Scouting Experiences Page";
 text[16] = "Use this link to see the world's largest lead Jamboree";
 text[17] = "The world's largest lead Jamboree";
 text[18] = "The Meditteranean cruise";
 text[19] = "B-P's last cruise before leaving public life";
 text[20] = "Mafeking,\"Place of Stones\" and the boys that inspired B-P";
 text[21] = "Go direct to the links to the \"Scouting Milestones\" articles";
 text[22] = "Instructions on how to read the \"Milestones\" articles off-line";
 text[23] = "The genesis of the most famous book in Scouting";
 text[24] = "The role of the Boys' Brigade in \"Scouting for Boys\"";
 text[25] = "How the Wolf Cubs started";
 text[26] = "The first camp for Boy Scouts run by B-P";
 text[27] = "The third and last camp run by B-P";
 text[28] = "How Sea Scouting began";
 text[29] = "All the events from the \"Milestones\" plus external events in date order";
 text[30] = "Reactions to the \"Milestones\" articles";
 text[31] = "Toys and games from my collection";
 text[32] = "Information on the little-known 'Cruises' by train to Scotland";
 text[33] = "The beginning of training for Scouters and the award for its successful completion";
 text[34] = "Early uses of the term 'Boy Scout'";
 text[35] = "A now little-known episode of Scouting history featuring a then-famous Patrol Leader";
 text[36] = "Baden Baden-Powell's role in the early development of Air Scouting";
 text[37] = "How Scouts helped to provide huts for the soldiers' recreation and ambulances in the First World War";
 text[38] = "Comments and accolades and an email form for you to use";
 text[39] = "An opportunity to leave a record of your visit to the Site";
 text[40] = "A Bibliography of Baden-Powell's published works";
 text[41] = "The 'Milestones' reference library";
 text[42] = "How the 'Milestones' project started";
 text[43] = "'Milestones' Aims and Objectives";
 text[44] = "An early Scout's legacy to the Movement";
 text[45] = "How Scouts nearly went to war";
 text[46] = "The lost section of the Scout Movement";
 text[47] = "'Old Scouts' and the Scouts' Friendly Society";
 text[48] = "Seton - a 'Father' of Scouting?";
 text[49] = "The influence of Rudyard Kipling on the Scout Movement";
 text[50] = "Scouting and the Resistance in war-time Netherlands";
 text[51] = "Selected biographies of key figures in the Scout Movement";
 text[52] = "Sea Scouts and their use of a polar explorer's ship";
 text[53] = "An American Eagle Scout on the first expedition to fly over the South Pole";
 text[54] = "Scouting and 'The King That Never Was'";
 text[55] = "The origin of the World Scout Badge";
 text[56] = "From Good Luck to Tyranny - the Swastika's fall from grace";
 text[57] = "An account of Rover Scouting in Japanese Prisoner-of-War Camps";
 text[58] = "Did Baden-Powell steal his ideas from Ernest Thompson Seton?";
 text[59] = "An account of Sea Scout Boat 'Minotaur', one of the Dunkirk 'Little Ships";
 text[60] = "The B-P 'Jam Roll Appeal";
  
 text[101] = "Click this link to go to the Deacon's School Web Site";
 text[102] = "An alternative Site for Deacon's School";
 text[103] = "Click to go to Joe Walker's Home Page";
 text[104] = "Go to the Lyke Wake Walk Page";
 text[105] = "Click this link to go to a Page on the Lyke Wake Walk";
 text[106] = "There will be more on lead toys in the \"Figures\" Page";
 text[107] = "A Page on all types of figures is in preparation";
 text[108] = "40-mile Challenge Walk across England's North York Moors";
 text[109] = "Scouting lead figures go to a Jamboree";
 text[110] = "Click to go to Joe's A-Z of Mountain Biking";
 text[111] = "Go to the Jamboree Page";
 text[201] = "Click this link to go direct to the Lyke Wake Dirge";
 text[202] = "Click to go back to the link that brought you here";
 text[203] = "This link will take you to a translation";
 text[301] = "This here night";
 text[302] = "Every night and all";
 text[303] = "fleet = flame";
 text[304] = "candle light";
 text[305] = "...take up your soul";
 text[306] = "When you from hence";
 text[307] = "... gave either hose (socks) or shoes";
 text[308] = "...thou never gave none";
 text[309] = "Right to the bone";
 text[310] = "The Bridge of Dread";
 text[311] = "Silver and gold";
 text[312] = "Thou'll down, down tumble towards Hell flames";
 text[313] = "Food or drink";
 text[314] = "Burn you right to the bone";
 text[315] = "The \"Back\" button, with its left-pointing arrow icon is on the Toolbar at the top of the Browser window";
  
function ClearBar() {window.status=''; return true;}
function StatusBar(no) {
 window.status=text[no];
 {t1=window.setTimeout("ClearBar()",6000);}
 return true;
}
// -->
//</SCRIPT>


// Button for 'Google' search
function showMouseOver(b)
{
	
	var butName
	butName=b.name
	document.all.item(butName).className="MouseSearch"
	
}
function showMouseLeave(b)
{
	
	var butName
	butName=b.name
	document.all.item(butName).className="LinkSearch"
	
}
//-->


// BEGIN Pop-up Images Script (not working or used)
// <SCRIPT Language="JavaScript"><!--
// Copyright 1999 - 2002 by Ray Stott, Pop-up Images Script ver 2.0
// OK to use if this copyright is included
// Script is available at http://www.crays.com/jsc

var pic = null
var popImg = null  // use this when referring to pop-up image
var picTitle = null
var imgCount = 0
var imgWinName = "popImg"

function openPopImg(picName, windowTitle, windowWidth, windowHeight){
  closePopImg()
  picTitle = windowTitle
  imgWinName = "popImg" + imgCount++ //unique name for each pop-up window
  popImg = window.open(picName, imgWinName,
           "toolbar=no,scrollbars=no,resizable=no,width=" 
           + (parseInt(windowWidth)+20)  + ",height=" 
           + (parseInt(windowHeight)+15)) 
  }
function closePopImg(){    // close pop-up window if it is open 
  if (navigator.appName != "Microsoft Internet Explorer" 
      || parseInt(navigator.appVersion) >=4) //do not close if early IE
    if(popImg != null) if(!popImg.closed) popImg.close() 
  }
function setStatus(msg){
  status = msg
  return true
  }
//-->
// </SCRIPT>

// <SCRIPT Language="JavaScript1.1"><!--
// for Netscape 3+ and IE 4+
var priorPic = new Array()
var noPic = 0
var foundit = false

function openPopImg(picName,  windowTitle, windowWidth, windowHeight){
  var i = 0
  if(pic == picName && winOpen()){
    popImg.focus()
    }
  else{
    foundit = false
    for(i=0; i<=noPic; i++){
      if (priorPic[i] == picName)
        foundit = true 
      }
    pic = picName
    closePopImg()
    picTitle = windowTitle
    imgWinName = "popImg" + imgCount++ //unique name for each pop-up window
    if(!foundit){
      priorPic[noPic++] = pic
      }
    popImg = openPopImgWin(imgWinName, windowWidth, windowHeight)
    }
  }
function openPopImgWin(imgWinName, windowWidth, windowHeight){
  var winFeatures = "toolbar=no,scrollbars=no,resizable=no,width=" 
    + windowWidth + ",height=" + windowHeight
  return window.open("pimg.htm", imgWinName, winFeatures)
  }
function winOpen(){
  if(popImg != null){ 
    if(popImg.closed != true) return true; else return false
    }  
  else
    return false
  }
//-->
// </SCRIPT>

// <SCRIPT Language="JavaScript1.2"><!--
// Use this function to control placement of pop-up window
// in Netscape 4+ and Internet Explorer 4+
function openPopImgWin(imgWinName, windowWidth, windowHeight){
  var leftX = 20  // distance of window's left side from left of screen
  var topY = 20   // distance of window's top side from top of screen
  var winFeatures = "toolbar=no,scrollbars=no,resizable=no,width=" 
    + windowWidth + ",height=" + windowHeight
  if (leftX>0){
    winFeatures += ",screenX=" + leftX + ",left=" + leftX	
                + ",screenY=" + topY + ",top=" + topY
    }
  return window.open("pimg.htm", imgWinName, winFeatures)
  }
//-->
// </SCRIPT>
// END Pop-up Images Script


// Button link to Milestones Index from Objectives
// <SCRIPT LANGUAGE="JavaScript">
// <!-- The JavaScript Source!! http://javascript.internet.com -->
function goToURL01() { window.location = "milestones.htm"; }
// </script>


// Button link to Milestones Shop from Objectives
// <SCRIPT LANGUAGE="JavaScript">
// <!-- The JavaScript Source!! http://javascript.internet.com -->
function goToURL04() { window.location = "shop.htm"; }
// </script>


// Button link to Screen Res pop-up
// <SCRIPT LANGUAGE="JavaScript">
// <!-- The JavaScript Source!! http://javascript.internet.com -->
function goToURL02() { window.location = "javascript:open1()"; }
// </script>


// Button link to Milestones Index
// <SCRIPT LANGUAGE="JavaScript">
// <!-- The JavaScript Source!! http://javascript.internet.com -->
function goToURL03() { window.location = "milestones.htm#top"; }
// </script>