
// This JavaScript file contains functions written by Peter Wright
// Version 1 [ 20 June 2003 - 07:10 ]
// Version 2 [ 27 October 2004 - 22:23 ]

var imageDir="../images/";			// path to background image and 'red-square'
var myName="subhtml.js";			// name of this file for nesting purposes

var ePost="chiefe" + "ngineer@trolley" + "bus.net";

var sbNarrative="David Bradley Online";             // default status bar narrative for IE XP SP2
function sbYear() { sbDate = new Date(); return (sbDate.getYear()<1900) ? 1900+sbDate.getYear() : sbDate.getYear()} 
sbNarrative="(C) " + sbYear() + " David Bradley.  Please email pictures" + "@" + "trolleybus.net if you want to use this picture.";

var altTitle="";                                                 // default 'alt' narrative
var altClose=" Click to close window ";
var altBig=" Click on picture to close window&#13; Click red square to view image at maximum resolution ";

// -------------------------------

// Remember to addd mouse click

var message="WEB Site © Copyright 2007\nDavid Bradley Online\n----------------------------------\n\nWebmaster may be contacted on       \n+44 1252 706933";

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

// -------------------------------

function captionStyle(txt) {
   while (txt.indexOf("{#")>0) {		// replace custom format commands {#?} with <p class="CF?>
      txtP=txt.indexOf("{#");
      txtL=txt.substring(0, txtP);
      txtS=txt.charAt(txtP+2);
      txtR=txt.substring(txtP+4);
      txt=txtL + '<p class="CF' + txtS + '">' + txtR;
   }
   while (txt.indexOf("{/#}")>0) {		// replace custom format end commands {/#} with </p>
      txtP=txt.indexOf("{/#}");
      txtL=txt.substring(0, txtP);
      txtR=txt.substring(txtP+4);
      txt=txtL + '</p>' + txtR;
   }
   return txt;
}

function popBig(filename, winname, description, imageW, imageH, closeParent) {
   if (description.indexOf("|")>0) { var describe = description.split("|"); description=describe[1] }
   description=captionStyle(description);
   nn="";
   nn+='<html><head><title>David Bradley Online Image Library - Picture ' + winname + '</title>';
   nn+='<meta http-equiv="imagetoolbar" content="no">';
   nn+='<meta name="MSSmartTagsPreventParsing" content="TRUE">';
   nn+='<style type="text/css">';
   nn+=' BODY { background-image: url(' + imageDir + '75.gif); margin: 0; }';
   nn+=' .descriptive { font-family: "Trebuchet MS", sans-serif; font-size: 24px; font-weight: bold; text-align: center; color: #804000; }';
   if (description.indexOf('<h6>')>0) { nn+=' h6 { font-family: Verdana, Arial, sans-serif; font-size: 12pt; font-weight: bold; text-align: justify; color: #804000; margin: 4px 30px 0; }'; }
   if (description.indexOf('class="CFj"')>0) { nn+=' .CFj { font-family: Verdana, Arial, sans-serif; font-size: 12pt; font-weight: bold; text-align: justify; color: #804000; margin: 4px 30px 0; }'; }
   if (description.indexOf('class="CFc"')>0) { nn+=' .CFc { font-family: Verdana, Arial, sans-serif; font-size: 12pt; font-weight: bold; text-align: center; color: #804000; margin: 0 0 0; }'; }
   nn+='</style></head><body>';
   nn+='<script type="text/javascript">window.defaultStatus="' + sbNarrative + '"</script>'
   nn+='<center><table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">';
   nn+=' <tr>';
   nn+='  <td align="center"><a href="javascript:window.close()" onMouseOver="self.status=\'' + sbNarrative + '\'; return true" onMouseOut="self.status=\'\'; return true"><img src="' + filename + '" width=' + imageW + ' height=' + imageH + ' border="0" alt="" title=" Picture ' + winname + '&#13; Click to close window "></a></td>';
   nn+=' </tr>';
   nn+=' <tr valign="middle">';
   nn+='  <td height="50" class="descriptive">' + description + '</td>';
   nn+=' </tr>';
   nn+='</table></center></body></html>';
   window2=window.open("", "", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,left=0,top=0,width=" + (screen.availWidth-10) + ",height=" + (screen.availHeight-30));
   window2.document.open();
   window2.document.write(nn);
   window2.document.close();
   if (closeParent) { parent.window.close() };
   window2.focus()
}

function popUp(filename, winname, description, imageW, imageH) {
   bigURL="popBig('" + filename + "', '" + winname + "', '" + description + "', " + imageW + ", " + imageH + ", ";
   if (description.indexOf("|")>0) { var describe = description.split("|"); description=describe[0] }
   if (navigator.appName=="Opera" || document.layers) { eval(bigURL+"false)"); return } else { bigURL+= "true)" }
   winH=screen.availHeight-28;			// set popup window height to max available
   winW=screen.availWidth-9;			// set popup window width to max available
   imgH=winH-52;				// calculate maximum image height
 
   if (window.navigator.userAgent.indexOf("MSIE 7") != -1) {imgH-=50}  // allow for origin bar and mandatory status bar in IE7
   else if (window.navigator.userAgent.indexOf("SV1") != -1) {imgH-=25}  // allow for mandatory status bar in IE6 on XP with SP2
   else if (navigator.userAgent.toLowerCase().indexOf('firefox')!=-1) {imgH-=25}   // depth allowance for Firefox status bar
   else {};

   imgW=parseInt(imageW*(imgH/imageH));		// calculate proportional image width
   if (imgW>(winW-8)) {				// if resulting image is too wide
      imgW=winW-8;				// reduce image width
      imgH=parseInt(imageH*(imgW/imageW));	// calculate proportional image height
   }
   if (imgW>imageW || imgH>imageH) { imgW=imageW; imgH=imageH }
   if (imageW>imgW || imageH>imgH) { altTitle=altBig } else { altTitle=altClose }
   nn="";
   nn+='<html><head><title>David Bradley Online Image Library - Picture ' + winname + '</title>';
   nn+='<meta http-equiv="imagetoolbar" content="no">';
   nn+='<meta name="MSSmartTagsPreventParsing" content="TRUE">';
   nn+='<style type="text/css">';
   nn+=' BODY { background-image: url(' + imageDir + '75.gif); margin: 0; }';
   nn+=' .descriptive { font-family: "Trebuchet MS", sans-serif; font-size: 24px; font-weight: bold; text-align: center; color: #804000; }';
   nn+=' .click { font-family: Arial, sans-serif; font-size: 11px; font-weight: normal; text-align: left; color: #000000; }';
   nn+='</style></head><body><center>';
   nn+='<script type="text/javascript" src="' + myName + '"></script>';
   nn+='<script type="text/javascript">window.defaultStatus="' + sbNarrative + '"</script>'
   nn+='<table border="0" cellpadding="0" cellspacing="0" align="center" width=' + (winW-14) + '>';
   nn+=' <tr>';
   nn+='  <td height=' + imgH + ' colspan=2 align="center"><a href="javascript:window.close()" onMouseOver="self.status=\'' + sbNarrative + '\'; return true" onMouseOut="self.status=\'\'; return true"><img src="' + filename + '" width=' + imgW + ' height=' + imgH + ' border="0" alt="" title=" Picture ' + winname + ' &#13;' + altTitle + '"></a></td>';
   nn+=' </tr>';
   nn+=' <tr valign="bottom">';
   nn+='  <td width=' + (winW-214) + ' height=40 class="descriptive">' + description + '</td>';
   nn+='  <td width=200 class="click">Click on the image to close this window';
   if (imageW>imgW || imageH>imgH) { nn+='<br><a href="javascript:' + bigURL + '"  onMouseOver="self.status=\'' + sbNarrative + '\'; return true" onMouseOut="self.status=\'\'; return true"><img src="' + imageDir + 'redsq.gif" width=9 height=9 border=0 alt=""></a> &nbsp; See image at maximum resolution' }
   nn+='</td>';
   nn+=' </tr>';
   nn+='</table></center></body></html>';
   window1=window.open('', '', "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,left=0,top=0,width=" + winW + ",height=" + winH);
   window1.document.open();
   window1.document.write(nn);
   window1.document.close();
   window1.focus()
}

function popUpold(filename, winname, description, width) {
   nn="";
   nn+='<html><head><title>David Bradley Online Image Library - Picture '+ winname + '</title>';
   nn+='<meta http-equiv="imagetoolbar" content="no">';
   nn+='<meta name="MSSmartTagsPreventParsing" content="TRUE">';
   nn+='</head>';
   nn+='<body background="' + imageDir + '75.gif" topmargin=5 leftmargin=2 rightmargin=2 marginheight=5 marginwidth=2>';
   nn+='<a href="javascript:window.close()"><img src="' + filename + '" border=0 alt=" Click to close window "></a>';
   nn+='<center><font color="#804000" size=5 face="Trebuchet MS">';
   nn+='<p><b>' + description + '</b></p><p>&nbsp;</p></font></center>';
   nn+='</body></html>';
   window2 = window.open("", "", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,left=0,top=0,width="+ width);
   window2.document.open();
   window2.document.write(nn);
   window2.document.close();
   window2.focus()
}

function lastMod() {
  var x = new Date (document.lastModified);
  Modif = new Date(x.toGMTString());
  Year = takeYear(Modif);
  Month = Modif.getMonth();
  Day = Modif.getDate();
  Mod = (Date.UTC(Year,Month,Day,0,0,0))/86400000;
  x = new Date();
  today = new Date(x.toGMTString());
  Year2 = takeYear(today);
  Month2 = today.getMonth();
  Day2 = today.getDate();
  now = (Date.UTC(Year2,Month2,Day2,0,0,0))/86400000;
  daysago = now - Mod;
  if (daysago < 0) return '';
  unit = 'days';
  if (daysago > 730)
  {
  daysago = Math.round(daysago/365);
  unit = 'years';
  }
  else if (daysago > 60)
  {
  daysago = Math.round(daysago/30);
  unit = 'months';
  }
  else if (daysago > 14)
  {
  daysago = Math.round(daysago/7);
  unit = 'weeks'
  }
  towrite = '<br>Last updated ';
  if (daysago == 0) towrite += 'today';
  else if (daysago == 1) towrite += 'yesterday';
  else towrite += daysago + ' ' + unit + ' ago';
  towrite += '. &copy; ' + Year2;
  return towrite;
}

function takeYear(theDate) {
  y = theDate.getYear();
  y += (y < 1900) ? 1900 : 0;
  return y;
}

function safepagebase() {
rdbol = document.title .substring (22 ,99)
   nn=""
   nn+='<br><center>';
   nn+='<FORM METHOD="POST">';
   nn+=' <font color="#000040"><b>When you have finished viewing this page click the button to go </b></font><input TYPE="BUTTON" VALUE=" Back " onClick="history.back()">';
   nn+='</FORM>';
   nn+='<p class="mailme">';
   nn+=document.title;
   nn+='<br>Every effort has been made to ensure that this page can be viewed with any browser';
   nn+='<br><a href="http://validator.w3.org/check/referer" target="_w3c" onmouseover="self.status=\'This WEB page has been designed to work under all operating sytems and with all WEB Browsers\'; return true" onmouseout="self.status=\'\'; return true"><img src="../logos/w3c-401.gif" alt=" An interoperable WEB page with valid HTML 4.01 " border="0" height="31" width="93"></a>';
   nn+='<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_w3c" onmouseover="self.status=\'Valid CSS\'; return true" onmouseout="self.status=\'\'; return true"><img src="../logos/w3c-css.gif" alt=" Valid CSS " border="0" height="31" width="93"></a>';
   nn+='<br><br>If you wish to provide further background information please <a href="mailto:' + ePost + '?Subject=[DBOL]' + rdbol + '">email</a> me';
   nn+=' <br>Site visitors input is always appreciated';
   nn+='</p>';
   nn+='</center><br>';
   nn+='<p class="logo">';
   nn+=' <a href="http://www.trolleybus.net" target="_new"><img src="../images/pagelogo.gif" align=left border=0 height=90 width=105 alt="David Bradley Online - Site Logo   http://www.trolleybus.net"></a><br>';
   nn+=' This page is part of David Bradley Online<br>To reach the home page click on the adjacent logo<br>';
   nn+=' Page URL: ' + location.toString();
   nn+=lastMod();
   nn+='</p><br><br><br><br>';
   return nn;
}

function emailPage(){
zxcv = document.title .substring (22 ,99)
document.location = 'mailto:?subject=[DBOL] ' + zxcv + '&bcc=reception@cyberpictures.net&body=Hello, %0D%0DI found this page on ' + document.title + ' - and thought it would be of interest to you: ' + document.location + ' %0D%0DThe site is a collection of images of historical transport scenes, mainly of trolleybuses in the Croydon Area. The home page can be found at http://www.trolleybus.net %0D%0DBye for now.';
   }

function pagebase() {
rdbol = document.title .substring (22 ,99)
   nn=""
   nn+='<br><center>';
   nn+='<form method="POST" class="mailme">';
   nn+='When you have finished viewing this page click the button to go <input TYPE="BUTTON" VALUE=" Back " onClick="history.back()">';
   nn+='</form>';
   nn+='<p class="mailme">';
   nn+=document.title;
   nn+='<br>If you wish to comment on the content of this page please <a href="mailto:' + ePost + '?Subject=[DBOL]' + rdbol + '">email</a> me';
   nn+='<br>Site visitors input is always appreciated';
   nn+='<br><a href="http://validator.w3.org/check/referer" target="_w3c" onmouseover="self.status=\'This WEB page has been designed to work under all operating sytems and with all WEB Browsers\'; return true" onmouseout="self.status=\'\'; return true"><img src="../logos/w3c-401.gif" alt=" An interoperable WEB page with valid HTML 4.01 " border="0" height="31" width="93"></a>';
   nn+='<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_w3c" onmouseover="self.status=\'Valid CSS\'; return true" onmouseout="self.status=\'\'; return true"><img src="../logos/w3c-css.gif" alt=" Valid CSS " border="0" height="31" width="93"></a>';
   nn+='<a href="http://www.anybrowser.org/campaign/index.html" target="_new" onmouseover="self.status=\'Viewable With Any Browser\'; return true" onmouseout="self.status=\'\'; return true"><img src="../logos/anybrowser.jpg" alt=" Viewable With Any Browser " border="0" height="32" width="96" hspace="10"></a>';
   nn+='<a href="javascript:emailPage()" onmouseover="self.status=\'Have a nice day\'; return true" onmouseout="self.status=\'\'; return true"><img src="../images/tell-a-friend.gif" alt=" Feature sends an email to your friend " border="0" height="32" width="130" vspace="0" hspace="1"></a>';
   nn+='</p></center><br>';
   nn+='<p class="logo">';
   nn+=' <a href="http://www.trolleybus.net" target="_new"><img src="../images/pagelogo.gif" align=left border=0 height=90 width=105 alt="David Bradley Online - Site Logo   http://www.trolleybus.net"></a><br>';
   nn+=' This page is part of David Bradley Online<br>To reach the home page click on the adjacent logo<br>';
   nn+=' Page URL: ' + location.toString();
   nn+=lastMod();
   nn+='</p><br><br><br><br>';
   return nn;
}

function foot() {
rdbol = document.title .substring (22 ,99)
   nn=""
   nn+='<br><center>';
   nn+='<p class="mailme"><br>';
   nn+=document.title;
   nn+='<br><a href="http://validator.w3.org/check/referer" target="_w3c" onmouseover="self.status=\'This WEB page has been designed to work under all operating sytems and with all WEB Browsers\'; return true" onmouseout="self.status=\'\'; return true"><img src="../logos/w3c-401.gif" alt=" An interoperable WEB page with valid HTML 4.01 " border="0" height="31" width="93"></a>';
   nn+='<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_w3c" onmouseover="self.status=\'Valid CSS\'; return true" onmouseout="self.status=\'\'; return true"><img src="../logos/w3c-css.gif" alt=" Valid CSS " border="0" height="31" width="93"></a>';
   nn+='<a href="http://www.anybrowser.org/campaign/index.html" target="_new" onmouseover="self.status=\'Viewable With Any Browser\'; return true" onmouseout="self.status=\'\'; return true"><img src="../logos/anybrowser.jpg" alt=" Viewable With Any Browser " border="0" height="32" width="96" hspace="10"></a>';
   nn+='<a href="javascript:emailPage()" onmouseover="self.status=\'Have a nice day\'; return true" onmouseout="self.status=\'\'; return true"><img src="../images/tell-a-friend.gif" alt=" Feature sends an email to your friend " border="0" height="32" width="130" vspace="0" hspace="1"></a>';
   nn+='<br>If you wish to comment on the content of this page please <a href="mailto:' + ePost + '?Subject=[DBOL]' + rdbol + '">email</a> me';
   nn+='<br>Site visitors input is always appreciated';
   nn+='</p></center><br>';
   nn+='<p class="logo">';
   nn+=' <a href="http://www.trolleybus.net" target="_new"><img src="../images/pagelogo.gif" align=left border=0 height=90 width=105 alt="David Bradley Online - Site Logo   http://www.trolleybus.net"></a><br>';
   nn+=' This page is part of David Bradley Online<br>To reach the home page click on the adjacent logo<br>';
   nn+=' Page URL: ' + location.toString();
   nn+=lastMod();
   nn+='</p><br><br><br><br>';
   return nn;
}

function pagebaseFont() {
   nn=""
   nn+='<br><center>';
   nn+='<form method="POST" class="mailme">';
   nn+='When you have finished viewing this page click the button to go </b></font><input TYPE="BUTTON" VALUE=" Back " onClick="history.back()">';
   nn+='</form>';
   nn+='<p>';
   nn+=document.title;
   nn+=' <br>If you wish to provide further background information please <a href="mailto:' + ePost + '?Subject=' + document.title + '">email</a> me';
   nn+=' <br>Site visitors input is always appreciated';
   nn+='</p>';
   nn+='</center><br>';
   nn+='<p><font color="#000040" face="Arial" size="2">';
   nn+=' <a href="http://www.trolleybus.net" target="_new"><img src="../images/pagelogo.gif" align="left" border="0" height="90" width="105" alt="David Bradley Online - Site Logo   http://www.trolleybus.net"></a><br>';
   nn+=' This page is part of David Bradley Online<br>To reach the home page click on the adjacent logo<br>';
   nn+=' Page URL: ' + location.toString();
   nn+=lastMod();
   nn+='</font></p><br><br><br><br>';
   return nn;
}

function ss2() {
msg=window.open("","msg","width=285,height=360,left=150,top=50,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no");
msg.document.open();
msg.document.write("<html><head><title>Anerley Hill Stop Sign</title></head>");
msg.document.write("<body background='../images/75.gif' onclick='window.close()'>");
msg.document.write("<img src='../images/ss2cp.jpg' alt=' Stop Sign - Annerley Hill ' border=1 width=257 height=300>");
msg.document.write("<br><br><font size=2 face='Comic Sans MS'><b>");
msg.document.write("Stop Sign at the foot of Anerley Hill</b></font>");
msg.document.write("</body></html>");
msg.document.close();
}

function meLink( text, subject) {
   nn="";
   nn+='<a href="mailto:' + ePost + '';
   if (subject!="" && subject!=null) { nn+='?Subject=' + subject }
   nn+='">' + text + '</a>';
   return nn;
}

function drg2() {
msg=window.open("","msg","height=400,width=840,left=5,top=5,scrollbars=yes");
msg.document.open();
msg.document.write("<html><head><title>David Bradley Online - System Map</title></head>");
msg.document.write("<body  background='../images/75.gif' onclick='window.close()'>");
msg.document.write("<img src='../fullsize/wilsher/696-8.jpg' border=1 width=800 height=300 alt='Click to Close'>");
msg.document.write("<br><br><font size=2 face='Comic Sans MS'><b><font color=#008000>Image DW2</font><br>");
msg.document.write("Diagramatic Map of Routes 696 &amp; 698. &nbsp; Map can be printed by pressing Control-P. &nbsp; Kill");
msg.document.write(" window by clicking on the image.<br>");
msg.document.write("This Map has been especially created for &quot;David Bradley Online&quot; by Dave Wilsher. &copy; 2002. All Rights Reserved.</b></font>");
msg.document.write("<font color=#804000 size=2 face='Comic Sans MS'><b>");
msg.document.write("<p><font face='Trebuchet MS' size=4 color=red><b>");
msg.document.write("Please note:</b></font></p>");
msg.document.write("<p align=justify>This map has been prepared to give site visitors, unfamiliar with the Woolwich area, an insight to the");
msg.document.write(" locations served by trolleybus routes in this area of London. The overhead wiring was isolated from the rest of the");
msg.document.write(" London system, with the war years being the peak of services operated.<br><br>");
msg.document.write("There is no suggestion that a map of this kind would ever have been produced in 1943, indeed, at the time stop names");
msg.document.write(" and roadside maps were removed. The names of bus garages and trolleybus depots were covered as were the names");
msg.document.write(" of railway stations. In clubs and hotels, any framed tram or bus maps were removed wioth maybe the odd one or two");
msg.document.write(" escaping attention. So, any thoughts of printing and issuing a map similar to this one would have been");
msg.document.write(" dismissed without further thought.<br><br>");
msg.document.write("The south east coastal zone was declared a restricted zone, into which only permit holders were allowed. This");
msg.document.write(" included London Transport's operating area in east of a north-south line through Crayford and Swanley, bringing");
msg.document.write(" both central buses and trolleybuses into the war zone. All buses and trolleybuses were stopped at the Control");
msg.document.write(" Point at Princess Road, Crayford while police checked the papers of all passengers, without which the journey could not");
msg.document.write(" be continued. These controls continued until the end of the war.</p></b></font>");
msg.document.write("</body></html>");
msg.document.close();
}

function paint() {
msg=window.open("","msg","height=500,width=300,left=85,top=25,scrollbars=1");
msg.document.write("<html><head><title>Information and Ordering Details</title>");
msg.document.write("<style type='text/css'>");
msg.document.write("body {");
msg.document.write("	scrollbar-arrow-color:WHITE;");
msg.document.write("	scrollbar-track-color:#808040;");
msg.document.write("	scrollbar-shadow-color:#D6D6D6;");
msg.document.write("	scrollbar-face-color:brown;");
msg.document.write("	scrollbar-highlight-color:#D6D6D6;");
msg.document.write("	scrollbar-darkshadow-color:#135184;");
msg.document.write("	scrollbar-3dlight-color:#135184;");
msg.document.write(" }");
msg.document.write("</style></head>");
msg.document.write("<body background='../images/75.gif' LINK=black ALINK=red VLINK=orange topmargin=5 leftmargin=5 marginheight=5 marginwidth=5 onclick='window.close()'>");
msg.document.write("<font color='#000040' size=2 face='Arial'><font color='brown' size=3><b>");
msg.document.write("<p>Paul Atchinson<br>Prints available for sale:</p></b></font>");
msg.document.write("<p style='margin: 25px 10px 0'><b>&quot;Broadway Performers&quot;</b><br>");
msg.document.write("16&quot; by 20&quot;<br>250 signed and numbered copies only<br>PRICE: £31.50</p>");
msg.document.write("<p style='margin: 25px 10px 0'><b>&quot;Derby Green and Cream&quot;</b><br>");
msg.document.write("18&quot; by 14&quot;<br>250 signed and numbered copies only<br>PRICE: £17.00</p>");
msg.document.write("<p style='margin: 25px 10px 0'><b>&quot;All Cars Stop Here&quot;</b><br>");
msg.document.write("16&quot; by 20&quot;<br>500 signed and numbered copies only<br>PRICE: £17.00</p>");
msg.document.write("<p style='margin: 25px 10px 0'><b>&quot;Nearing Journey's End&quot;</b><br>");
msg.document.write("18&quot; by 14&quot;<br>250 signed and numbered copies only<br>PRICE: £18.00</p>");
msg.document.write("<p style='margin: 25px 10px 0'><b>&quot;The Eleventh Hour&quot;</b><br>");
msg.document.write("14&quot; by 18&quot;<br>250 signed and numbered copies only<br>PRICE: £28.00</p>");
msg.document.write("<p style='margin: 25px 10px 0'><b>&quot;Wish You Were Here&quot;</b><br>");
msg.document.write("18&quot; by 14&quot;<br>100 signed and numbered copies only<br>PRICE: £28.00</p>");
msg.document.write("<p style='margin: 25px 10px 0'><b>&quot;The Next Stop is...&quot;</b><br>");
msg.document.write("18&quot; by 14&quot;<br>Limited Edition Print<br>PRICE: £28.00</p>");
msg.document.write("<p style='margin: 25px 10px 0'><b>&quot;One-Horse Power&quot;</b><br>");
msg.document.write("9&quot; by 6&#189;&quot;<br>Open Edition Print<br>PRICE: £14.00</p>");
msg.document.write("<font color='brown'><b><p>CREDIT CARD orders can be taken by<br>");
msg.document.write("PHONE on +44 1773 786820 or sent by<br>FAX to +44 1773 786820</p>");
msg.document.write("<p>Orders can also be placed via the web site</p>");
msg.document.write("<p>ENQUIRES<br>");
msg.document.write("Email: <a href='mailto:paul_atchinson@ntlworld.com?Subject=Enquiry from your page on David Bradley Online'>Paul Atchinson</a></p>");
msg.document.write("<p>Prices include UK post &amp; packing<br>and were correct on 31 March 2005");
msg.document.write("</p></b></font></font>");
msg.document.write("<p style='margin: 25px 55px 20px'>");
msg.document.write("<form><input type='button' value=' Close Window ' onclick='window.close();' style='background-color: brown; color: #FFFFFF; font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'></form></p><p>&nbsp;</p>");
}

function book1() {
msg=window.open("","msg","height=430,width=725,left=85,top=45,scrollbars=no");
msg.document.open();
msg.document.write("<html><head><title>David Bradley Online - Outer North London</title><link rel='stylesheet' type='text/css' href='online.css'></head>");
msg.document.write("<body onclick='window.close()'>");
msg.document.write("<img align='left' src='../gen-pics/fullsize/outernorthlondon.jpg' width='283' height='400' alt='Click to close panel'>");
msg.document.write("<img align=left src='../images/space.gif' width='10' height='400' alt=''>");
msg.document.write("<b><font size='4' color='red' face='Trebuchet MS'><p>Book Review</p></font></b>");
msg.document.write("<font face='Trebuchet MS' size='3' color='#000040'>");
msg.document.write("<p>This book covers these areas:<br><br>");
msg.document.write("North Finchley to Wood Green, Enfield to Manor House,");
msg.document.write("Dalston Junction to Waltham Cross and associated areas.<br><br>");
msg.document.write("168 pages including 8 in full colour. 380 monochrome pictures");
msg.document.write("together with a North London Wiring map.<br><br>");
msg.document.write("First published winter 2000.<br><br>");
msg.document.write("Order today for £16 from:<br>");
msg.document.write("<font color='#008000'>LTPS, 19 Fieldfare, Sandy, Bedfordshire, SG19 2UZ</font>.<br><br>");
msg.document.write("Close this panel if you wish to see the other reviews");
msg.document.write("</p></font>");
msg.document.write("</body></html>");
msg.document.close();
}

function book2() {
msg=window.open("","msg","height=430,width=725,left=85,top=45,scrollbars=no");
msg.document.open();
msg.document.write("<html><head><title>David Bradley Online - Inner North London</title></head>");
msg.document.write("<body onclick='window.close()'>");
msg.document.write("<img align=left src='../gen-pics/fullsize/innernorthlondon.jpg' width='287' height='400' alt=' Click to close panel '>");
msg.document.write("<img align=left src='../images/space.gif' width='10' height='400' alt=''>");
msg.document.write("<b><font size='4' color='red' face='Trebuchet MS'><p>Book Review</p></font></b>");
msg.document.write("<font face='Trebuchet MS' size='3' color='#000040'>");
msg.document.write("<p>This book covers these areas:<br><br>");
msg.document.write("North Finchley, East Finchley, Highgate Village, Archway,");
msg.document.write("the &quot;Hampstead Routes&quot;, Camden, Nags Head Holloway,");
msg.document.write("Islington, Midway Park, Finisbury Park and Manor House.<br><br>");
msg.document.write("136 pages including 8 in full colour. 300 monochrome pictures");
msg.document.write("together with a North London Wiring map.<br><br>");
msg.document.write("First published Spring 1999.<br><br>");
msg.document.write("Order today for £16 from:<br>");
msg.document.write("<font color=#008000>LTPS, 19 Fieldfare, Sandy, Bedfordshire, SG19 2UZ</font>.<br><br>");
msg.document.write("Close this panel if you wish to see the other reviews");
msg.document.write("</p></font>");
msg.document.write("</body></html>");
msg.document.close();
}

function book3() {
msg=window.open("","msg","height=430,width=725,left=85,top=45,scrollbars=no");
msg.document.open();
msg.document.write("<html><head><title>David Bradley Online - West London</title></head>");
msg.document.write("<body onclick='window.close()'>");
msg.document.write("<img align=left src='../gen-pics/fullsize/westlondon.jpg' width='286' height='400' alt=' Click to close panel '>");
msg.document.write("<img align=left src='../images/space.gif' width='10' height='400' alt=''>");
msg.document.write("<b><font size='4' color='red' face='Trebuchet MS'><p>Book Review</p></font></b>");
msg.document.write("<font face='Trebuchet MS' size='3' color='#000040'>");
msg.document.write("<p>This book covers these areas:<br><br>");
msg.document.write("Wimbledon, Kingston, Hounslow, Acton and Uxbridge.<br><br>");
msg.document.write("128 pages including 8 in full colour. 260 monochrome pictures.<br><br>");
msg.document.write("First published November 1996 - Now out of print.<br>");
msg.document.write("Secondhand copies might be found on eBay.<br><br>");
msg.document.write("Close this panel if you wish to see the other reviews");
msg.document.write("</p></font>");
msg.document.write("</body></html>");
msg.document.close();
}

function book4() {
msg=window.open("","msg","height=430,width=725,left=85,top=45,scrollbars=no");
msg.document.open();
msg.document.write("<html><head><title>David Bradley Online - North West London</title></head>");
msg.document.write("<body onclick='window.close()'>");
msg.document.write("<img align=left src='../gen-pics/fullsize/northwestlondon.jpg' width='281' height='400' alt=' Click to close panel '>");
msg.document.write("<img align=left src='../images/space.gif' width='10' height='400' alt=''>");
msg.document.write("<b><font size='4' color='red' face='Trebuchet MS'><p>Book Review</p></font></b>");
msg.document.write("<font face='Trebuchet MS' size='3' color='#000040'>");
msg.document.write("<p>This book covers these areas:<br><br>");
msg.document.write("Paddington, Harlesdon, Sudbury, Willesden, Edgeware,");
msg.document.write("and Cannons Park, Golders Green, Finchley and Barnett.<br><br>");
msg.document.write("128 pages including 8 in full colour. 260 monochrome pictures");
msg.document.write("together with a North London Wiring map.<br><br>");
msg.document.write("First published November 1997.<br><br>");
msg.document.write("Order today for £16 from:<br>");
msg.document.write("<font color=#008000>LTPS, 19 Fieldfare, Sandy, Bedfordshire, SG19 2UZ</font>.<br><br>");
msg.document.write("Close this panel if you wish to see the other reviews");
msg.document.write("</p></font>");
msg.document.write("</body></html>");
msg.document.close();
}

function drg1() {
msg=window.open("","msg","height=430,width=818,left=5,top=5,scrollbars=no");
msg.document.open();
msg.document.write("<html><head><title>David Bradley Online - 654 Route Map</title><link rel='stylesheet' type='text/css' href='subhtml.css'></head>");
msg.document.write("<body  background='../images/75.gif' onclick='window.close()'>");
msg.document.write("<img src='../fullsize/wilsher/654.jpg' border='1' width='800' height='300' alt='Click to Close'>");
msg.document.write("<p class='narrative'><font color='#008000'>Image DW1</font><br>");
msg.document.write("Diagramatic Map of Route 654. &nbsp; Map can be printed by pressing Control-P. &nbsp; Kill");
msg.document.write(" window by clicking on image.<br>");
msg.document.write("This Map has been especially created for &quot;David Bradley Online&quot; by Dave Wilsher. &copy; 2006. All Rights Reserved.</p>");
msg.document.write("</body></html>");
msg.document.close();
}


