// This JavaScript file contains many functions written by Peter Wright - Seek permission to re-use.
// Version 

var imageDir="images/";			// path to background image'
var myName="mideng.js";			// name of this file for nesting purposes

var xPost="in" + "fo@miden" + "g.co.uk";
var ePost="rec" + "eption@miden" + "g.co.uk";
var mPost="me" + "mo@miden" + "g.co.uk";

var good;

var sbNarrative="Midhurst Engineering";             // 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() + " Guy Morgan.  Picture not to be published elsewhere without authority from pictures" + "@" + "mideng.co.uk";

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 ";


//MIDHURST ENGINEERING


// -------------------------------

// Remember to addd mouse click

var message="Web Site ©2010\nMidhurst Engineering & Motor Co. Ltd           \n---------------------------------------------\nRumbolds Hill       \nMidhurst       \nWest Sussex      \nGU29 9DD\n       \nTelephone: 01730 812162       ";

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 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
   imgH=winH-56;					// calculate maximum image height
   if(window.navigator.userAgent.indexOf("SV1") != -1) {imgH-=25}		// allow for mandatory status bar in IE on XP with SP2
   if(navigator.userAgent.toLowerCase().indexOf('firefox')!=-1) {imgH-=25} 	// depth allowance for Firefox status bar
   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>Midhurst Engineering 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: #000000; font-family: Verdana, sans-serif; margin: 10px 0 10px; }';
   nn+=' .descriptive { font-family: Verdana, sans-serif; font-size: 24px; font-weight: bold; text-align: center; color: red; }';
   nn+=' .click { font-family: Arial, sans-serif; font-size: 11px; font-weight: normal; text-align: left; color: silver; }';
   nn+='</style></head><body><center>';
   nn+='<script language="JavaScript" type="text/javascript" src="' + myName + '"></script>';
   nn+='<script language="JavaScript" 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 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>Midhurst Engineering 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: #000000; font-family: Verdana, sans-serif; margin: 10px 0 10px; }';
   nn+=' .descriptive { font-family: Verdana, sans-serif; font-size: 24px; font-weight: bold; text-align: center; color: red; }';
   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 language="JavaScript" 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 web( text, subject) {
   nn="";
   nn+='<a href="mailto:' + xPost;
   if (subject!="" && subject!=null) { nn+='?Subject=' + subject }
   nn+='">' + text + '</a>';
   return nn;
}

function mePic( subject) {
   nn="";
   nn+='<a href="mailto:' + xPost;
   if (subject!="" && subject!=null) { nn+='?Subject=' + subject }
   nn+='">' + '<img src="images/mailstamp.gif" height="16" width="32" alt=" Click here to send us an email " border="0">' + '</a>';
   return nn;
}

function veh() {
   nn="";
   nn+='<html><head><title>Midhurst Engineering - Air Conditioning Service</title>';
   nn+='<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">';
   nn+='<link rel="stylesheet" type="text/css" href="styles/mot.css"></head>';
   nn+='<body bgcolor="#ffffff" title="Air Conditioning Service">';
   nn+='<img style="margin: 12px 18px 0" align="left" src="images/Penguins3.jpg" width="90" height="68" alt="Air Con" border="1">';
   nn+='<table border="0" cellpadding="7" cellspacing="0" width="450">';
   nn+='<tr><td><font size="4" face="Trebuchet MS"><b>Air Conditioning Service</b></font>';
   nn+='<p style="margin: 5px 0 0" align="justify">Over 65% of vehicles are fitted with air conditioning and climate control systems as standard these days. Many of us are familiar with using air-con in our car'; 
   nn+=' on both hot and cold days, but many people are unaware the air-conditioning system needs regular attention to make sure it is working efficiently.<br><br>'; 
   nn+='Over 10% of air-con gas permeates from the system every year, which means that it may not work as well as it should. This is why car manufacturers';
   nn+=' recommend your Air-Con system is recharged with gas and lubricant every three years. This service is not part of routine vehicle servicing, so if your vehicle';
   nn+=' is more than three years old it&#39;s probably due a recharge, possibly at the same time that your MOT test is carried out.<br><br>';
   nn+='<font color="red">Midhurst Engineering</font> offers a complete air conditioning recharge service. Operated on a drive-in basis there is usually';
   nn+=' no need for an appointment, but you may wish to book an appointment using our online booking service. Within an hour the whole recharge process is completed.';
   nn+=' The process can also include a system de-bug to clear bacterial build up from within the system, which will remove any unpleasant odours.</p>';
   nn+='<img src="images/ac.jpg" width="311" height="400" align="center" style="margin: 0 0 0" alt="Air Conditioning" class="nbr">';
   nn+='</td></tr></table><center>';
   nn+='<form style="margin: 30px 0 30px"><input type="button" value=" Close Window " onclick="window.close();" style="font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC"></form>';
   nn+='</center></body></html>';
   window1=window.open('', 'aaa', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,left=10,top=10,width=600,height=500');
   window1.document.open();
   window1.document.write(nn);
   window1.document.close();
   window1.focus()
}

function rmi() {
   nn="";
   nn+='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';
   nn+='<html><head><title>Midhurst Engineering - Trust my Garage</title>';
   nn+='<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">';
   nn+='<link rel="stylesheet" type="text/css" href="styles/mot.css"></head>';
   nn+='<body bgcolor="#ffffff" title="Trust my Garage">';
   nn+='<img style="margin: 12px 18px 0" align="left" src="logos/trust-my-garage3.gif" width="95" height="132" alt="Trust my Garage" class="nbr" title="Trust my Garage">';
   nn+='<table border="0" cellpadding="7" cellspacing="0" width="450">';
   nn+='<tr><td><font size="4" face="Trebuchet MS"><b>Trust my Garage</b></font>';
   nn+='<p style="margin: 5px 0 0" align="justify">This is an <a href="http://www.rmif.co.uk/" target="_new">RMI-backed</a>, consumer focused programme designed to raise awareness and perceived quality of vehicle servicing and repair.'; 
   nn+=' The aim is to provide consumers with total confidence in using a <i>Trust My Garage</i> member for work carried out.<br><br>'; 
   nn+='It is a unique programme with no ties to other products and services and covers every aspect of <font color="red">Midhurst Engineering</font> activities.';
   nn+=' The scheme is designed to enhance both parts and labour warranties already in place or offered and is at no cost to the customer.<br><br>';
   nn+=' <font color="red">Midhurst Engineering</font> will deal with you fairly by:</p>';
   nn+='<ul style="margin: 0 10px 0 0px"><li>having staff who know their customer service standards;</li>';
   nn+='<li>only do what they are qualified to do;</li>';
   nn+='<li>complying with a &quot;code of practice&quot; if they belong to a trade association;</li>';
   nn+='<li>giving clear details of repair options and costs if you phone them;</li>';
   nn+='<li>agreeing any work with you;</li>';	
   nn+='<li>giving fixed-price, written quotes [including VAT], or written estimates if quotes are not possible;</li>';
   nn+='<li>explaining why any diagnostic work is needed to identify a problem and get your agreement to any follow-on work and costs;</li>';
   nn+='<li>telling you in advance if they don t take certain types of payment [such as cheques, credit or debit cards] or if they charge for these;</li>';
   nn+='<li>getting your permission to go ahead if the cost is likely to exceed the estimate;</li>';
   nn+='<li>explaining why any replacement parts are needed;</li>';
   nn+='<li>letting you inspect any replaced parts or return them to you;</li>';
   nn+='<li>using only new replacements unless you agree otherwise;</li>';
   nn+='<li>providing full details of work done on invoices and receipts, including:</li>';
   nn+='<ul style="margin: 0 0 0 0">';
   nn+='<li>materials used</li>';
   nn+='<li>descriptions of any replacements used, if not new</li>';
   nn+='<li>labour charges</li>';
   nn+='<li>the total cost including VAT;</li></ul>';
   nn+='<li>compling with consumer protection legislation;</li>';
   nn+='<li>telling you who will deal with any complaints.</li></ul>';
   nn+='</td></tr></table>';
   nn+='<center><form style="margin: 30px 0 30px"><input type="button" value=" Close Window " onclick="window.close();" style="font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC"></form>';
   nn+='</center></body></html>';
   window1=window.open('', '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,left=10,top=10,width=600,height=500');
   window1.document.open();
   window1.document.write(nn);
   window1.document.close();
   window1.focus()
}

function eFlash() {
    var nn="";
    nn+='<object id="navbar" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="650" height="63">';
    nn+='<param name="movie" value="navigation/Clicker.swf">';
    nn+='<param name="quality" value="high">';
    nn+='<param NAME="wmode" VALUE="transparent">';
    nn+='<param name="menu" value="true">';
    nn+='<embed src="navigation/Clicker.swf" quality="high" menu="true" wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="650" height="63" swLiveConnect="true" name="navbar"><\/embed>';
    nn+='<\/object>';
    return nn;
}

function gFlash() {
    var nn="";
    nn+='<object id="navbar" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="650" height="63">';
    nn+='<param name="movie" value="../comments/Clicker.swf">';
    nn+='<param name="quality" value="high">';
    nn+='<param NAME="wmode" VALUE="transparent">';
    nn+='<param name="menu" value="true">';
    nn+='<embed src="../comments/Clicker.swf" quality="high" menu="true" wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="650" height="63" swLiveConnect="true" name="navbar"><\/embed>';
    nn+='<\/object>';
    return nn;
}

function g2Flash() {
    var nn="";
    nn+='<object id="navbar" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="130" height="61">';
    nn+='<param name="movie" value="../comments/guest2.swf">';
    nn+='<param name="quality" value="high">';
    nn+='<param NAME="wmode" VALUE="transparent">';
    nn+='<param name="menu" value="true">';
    nn+='<embed src="../comments/guest.swf" quality="high" menu="true" wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="130" height="61" swLiveConnect="true" name="navbar"><\/embed>';
    nn+='<\/object>';
    return nn;
}

function bFlash(qwer) {
    var nn="";
    nn+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="30" height="18">';
    nn+='<param name="movie" value="navigation/butNext.swf?url=http://www.bbc.co.uk/travelnews/local/' + qwer +'">';
    nn+='<param name="quality" value="high">';
    nn+='<param name="wmode" value="transparent">';
    nn+='<param name="menu" value="true">';
    nn+='<embed src="navigation/butNext.swf?url=http://www.bbc.co.uk/travelnews/local/' + qwer +'" quality="high" menu="true" wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="30" height="18"><\/embed>';
    nn+='<\/object>';
    return nn;
}

function lFlash(sl) {
    var nn="";
    nn+='<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="30" height="18">';
    nn+='<PARAM NAME="movie" VALUE="navigation/butNext.swf?url=' + sl +'">';
    nn+='<PARAM NAME="quality" VALUE="high">';
    nn+='<PARAM NAME="wmode" VALUE="transparent">';
    nn+='<PARAM NAME="menu" VALUE="true">';
    nn+='<embed src="navigation/butNext.swf?url=' + sl +'" quality="high" menu="true" wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="30" height="18"><\/embed>';
    nn+='<\/object>';
    return nn;
}

function onebFlash(which) {
    var nn="";
    nn+='<OBJECT id="navbar" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="140" height="33">';
    nn+='<PARAM name="movie" value="navigation/'+which+'.swf">';
    nn+='<PARAM name="quality" value="high">';
    nn+='<PARAM name="menu" value="true">';
    nn+='<EMBED src="navigation/'+which+'.swf" quality="high" menu="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="140" height="33" swLiveConnect="true" name="navbar"><\/EMBED>';
    nn+='<\/OBJECT>';
    return nn;
}

function twobFlash(which) {
    var nn="";
    nn+='<OBJECT id="navbar" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="284" height="33">';
    nn+='<PARAM name="movie" value="navigation/'+which+'.swf">';
    nn+='<PARAM name="quality" value="high">';
    nn+='<PARAM name="menu" value="true">';
    nn+='<EMBED src="navigation/'+which+'.swf" quality="high" menu="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="284" height="33" swLiveConnect="true" name="navbar"><\/EMBED>';
    nn+='<\/OBJECT>';
    return nn;
}

function pagebaseT() {
   nn=""
   nn+='<table style="margin: 0 0 0">';
   nn+='<tr>';
   nn+='<td width="200" align="left" valign="bottom"><img src="logos/mrc2.jpg" class="silbdr" width="190" height="42" alt="Click here to connect to Midhurst Rewards Card scheme web site"></td>';
   nn+='<td align="center"><span class="ucon">Vehicle Servicing and 24 Hour Rescue Service: 01730 812162</span><br>';
   nn+='<span class="ecdt">Midhurst Engineering &amp; Motor Company Limited registered in England &amp; Wales<br>';
   nn+='Registered Office: Rumbolds Hill, Midhurst, West Sussex, GU29 9DD  Registration Number: 432447<br>';
   nn+='</span></td>';
   nn+='</tr></table>';
   return nn;
}

function pagebaseTz() {
   nn=""
   nn+='<table style="margin: 0 0 0">';
   nn+='<tr>';
   nn+='<td valign="bottom">';
   nn+='<td><img src="images/telephonehelpline.gif" hspace="0" height="42" width="42" vspace="0" alt="Phone"></td>';
   nn+='<td width="25">&nbsp;</td>';
   nn+='<td valign="middle" align="center">';
   nn+='<span class="ucon">24 Hour Roadside Recovery Service: &nbsp; 01730 812162</span><br>';
   nn+='<span class="ecdt">Registered Office: Rumbolds Hill, Midhurst, West Sussex, GU29 9DD &nbsp; &nbsp; Registered in England &nbsp;#432447<br>';
   nn+=lastMod();
   nn+='</span>';
   nn+='</td></tr></table>';
   return nn;
}

function pagebaseGB() {
   nn=""
   nn+='<table style="margin: 3px 0 0">';
   nn+='<tr>';
   nn+='<td><img src="../../images/telephonehelpline.gif" hspace="0" height="42" width="42" vspace="0" alt="Phone"></td>';
   nn+='<td><span class="ucon">24 Hour Roadside Recovery Service: &nbsp; 01730 812162</span><br>';
   nn+='<span class="ecdt">Registered Office: Rumbolds Hill, Midhurst, West Sussex, GU29 9DD &nbsp; &nbsp; Registered in England &nbsp;#432447<br>';
   nn+=lastMod();
   nn+='</span></td>';
   nn+='</tr></table>';
   return nn;
}

function pagebaseH() {
   nn=""
   nn+='<table style="margin: 0 0 0">';
   nn+='<tr>';
   nn+='<td valign="bottom" align="center"><a href="http://praxiom.com/iso-9001.htm" target="_new">';
   nn+='<img class="nbr" src="images/9001ukasw.jpg" width="109" height="60" vspace="0" alt="Midhurst Engineering have been assessed and registered as meeting the requirements of ISO 9002. This is the standard used to meet customer and applicable regulatory requirements. For more information, click on this logo."></td>';
   nn+='<td width="25">&nbsp;</td>';
   nn+='<td valign="middle" align="center">';
   nn+='<span class="ucon">24 Hour Roadside Recovery Service: &nbsp; 01730 812162</span><br>';
   nn+='<span class="ecdt">Registered Office: Rumbolds Hill, Midhurst, West Sussex, GU29 9DD &nbsp; &nbsp; Registered in England &nbsp;#432447<br>';
   nn+=lastMod();
   nn+='</span></td>';
   nn+='</tr></table>';
   return nn;
}

function pagebaseFP() {
   nn=""
   nn+='<table style="margin: 0 0 0">';
   nn+='<tr>';
   nn+='<td valign="bottom">';
   nn+='<td><img src="images/telephonehelpline.gif" hspace="0" height="42" width="42" vspace="0" alt="Phone"></td>';
   nn+='<td valign="middle" align="center">';
   nn+='<span class="ecdt">Midhurst Engineering &amp; Motor Company Limited registered in England &amp; Wales<br>';
   nn+='Registered Office: Rumbolds Hill, Midhurst, West Sussex, GU29 9DD &nbsp; &nbsp; Registration Number: &nbsp;432447<br>';   nn+='<span class="ecdt">Registered Office: Rumbolds Hill, Midhurst, West Sussex, GU29 9DD &nbsp; &nbsp; Registered in England &nbsp;#432447<br>';
   nn+='</span>';
   nn+='</td></tr></table>';
   return nn;
}

function pagebase() {
   nn=""
   nn+='<span class="ecdt">';
   nn+=lastMod();
   nn+='</span>';
   return nn;
}

function pagebaseB() {
   nn=""
   nn+='<table style="margin: 25px 0 0">';
   nn+='<tr>';
   nn+='<td valign="bottom"><img src="images/accident2.jpg" width="79" height="98" vspace="0" alt=" Accident Sign "></td>';
   nn+='<td width="25">&nbsp;</td>';
   nn+='<td valign="bottom"><img src="images/yellow.jpg" width="21" height="21" vspace="23" alt=" Yellow Ball "><br>';
   nn+='<span class="ucon">Breakdown &amp; Recovery Service for Heavy and Light Vehicles</span><br>';
   nn+='<span class="ecdt">';
   nn+=lastMod();
   nn+='</span></td>';
   nn+='</tr></table>';
   return nn;
}

function pagebaseF() {
   nn=""
   nn+='<table style="margin: 50px 0 0">';
   nn+='<tr>';
   nn+='<td valign="bottom"><img src="../images/accident2.jpg" width="79" height="98" vspace="0" alt=" Accident Sign "></td>';
   nn+='<td width="25">&nbsp;</td>';
   nn+='<td valign="bottom"><img src="../images/yellow.jpg" width="21" height="21" vspace="23" alt=" Yellow Ball "><br>';
   nn+='<span class="ucon">Breakdown &amp; Recovery Service for Heavy and Light Vehicles</span><br>';
   nn+='<span class="ecdt">';
   nn+=lastMod();
   nn+='</span></td>';
   nn+='</tr></table>';
   return nn;
}

function takeYear(theDate) {
  y = theDate.getYear();
  y += (y < 1900) ? 1900 : 0;
  return y;
}

function javahere() {
   if (navigator.javaEnabled()) {
      return 1
  } else {
      return 2
  }
}

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 = '&copy;' + Year2 + ' Midhurst Engineering';
  towrite += ' &nbsp; &nbsp; This page last updated ';
  if (daysago == 0) towrite += 'today';
  else if (daysago == 1) towrite += 'yesterday';
  else towrite += daysago + ' ' + unit + ' ago';
  return towrite;
}

function verFlash(vHi) {
      if (navigator.appName.indexOf('Microsoft') >=0) {
         for (fv=vHi; fv>0; fv--) {
            if (eval("activeXDetect('ShockwaveFlash.ShockwaveFlash."+fv+"')")) return fv
         }
      } else {
         for (pn=0; pn<navigator.plugins.length; pn++) {
            if (navigator.plugins[pn].name.indexOf('Flash')>=0) {
               for (fv=vHi; fv>0; fv--) {
                  if (navigator.plugins[pn].description.indexOf(fv+'.')>=0) return fv
               }
            }
         }
      }
      return '0';
}


function emailPage(){
zxcv = document.title .substring (39 ,99)
document.location = 'mailto:?subject=[MIDENG] ' + zxcv + '&bcc=registrar&#064;cyberpictures.net&body=Hello, %0D%0DOn the Midhurst Engineering web site, I found the ' + zxcv + ' page and thought it would be of interest to you: ' + document.location+ ' %0D%0DMidhurst Engineering provides a 24hr Breakdown and Rescue Service for West Sussex, Hampshire and Surrey. Their home page can be found at http://www.mideng.co.uk %0D%0DBye for now.';
   }

function nw3c() {
   asdf = document.title .substring (39 ,99)
   nn="";
   nn+='<br><a href="http://validator.w3.org/check?uri=' + location.toString() + '" 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" title="Web page with valid HTML 4.01 markup">Check HTML</a>';
   nn+='&nbsp; &bull; &nbsp; <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_w3c" onmouseover="self.status=\'This site uses Cascading Style Sheets [CSS] which is a mechanism for adding style [e.g. fonts, colors, spacing] to our pages\'; return true" onmouseout="self.status=\'\'; return true" title="This site uses Cascading Style Sheets [CSS] which is a simple mechanism for adding style [e.g. fonts, colors, spacing] to our pages. Hyperlink checks for design errors.">Check CSS</a>';
   nn+=' &nbsp; &bull; &nbsp; <a href="javascript:emailPage()" onmouseover="self.status=\'Have a nice day\'; return true" onmouseout="self.status=\'\'; return true" title="Sends the URL of this page via email to your friend">Share Page</a><br>';
    return nn;
}

function atp() {
   asdf = document.title .substring (39,99)
   nn="";
   nn+='URL: ' + location.toString();
   nn+='&nbsp; &nbsp; &nbsp;Title: ' + asdf;
   nn+='<br>';
   return nn;
}

function xw3c() {
   asdf = document.title .substring (39 ,99)
   nn="";
   nn+='<p class="menu" style="margin: 10px 0 0">';
   nn+='<a href="http://validator.w3.org/check?uri=' + location.toString() + '" 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="' + imageDir + 'w3c-401.gif" alt="Web page with valid HTML 4.01 markup" border="0" height="31" width="93" hspace="0"></a>';
   nn+='<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_w3c" onmouseover="self.status=\'This site uses Cascading Style Sheets [CSS] which is a mechanism for adding style [e.g. fonts, colors, spacing] to our pages\'; return true" onmouseout="self.status=\'\'; return true"><img src="' + imageDir + 'w3c-css.gif" alt="This site uses Cascading Style Sheets [CSS] which is a simple mechanism for adding style [e.g. fonts, colors, spacing] to our pages. Hyperlink checks for design errors." border="0" height="31" width="93" hspace="5"></a>';
   nn+='<a href="http://www.anybrowser.org/campaign/index.html" target="_new" onmouseover="self.status=\'With minor differences this site should be viewable with any graphical browser that supports Java\'; return true" onmouseout="self.status=\'\'; return true"><img src="logos/anybrowser.gif" alt="With minor differences this site should be viewable with any graphical browser that supports Java. Some features will be lost when using a Java incapable browser." border="0" height="32" width="96" hspace="0"></a>';
   nn+='<a href="http://www.icra.org/sitelabel/" target="_neW" onmouseover="self.status=\'Click NOW to connect to the Internet Content Rating Association web site\'; return true" onmouseout="self.status=\'\'; return true"><img hspace="5" src="logos/icra.gif" alt="The Internet Content Rating Association runs a global self-labelling system providing Internet users with the choice to limit access to content they consider harmful, especially to children." class="img" height="31" width="88"></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="Sends the URL of this page via email to your friend" border="0" height="32" width="130" vspace="0" hspace="0"></a>';
   nn+='<a href="http://www.mideng.co.uk/comments/" onmouseover="self.status=\'Customer Feedback - Publish your thoughts about Midhurst Engineering on this web site\'; return true" onmouseout="self.status=\'\'; return true"><img src="images/feedback.jpg" alt="Customer Feedback&#13;------------------------&#13;Publish your thoughts about&#13;Midhurst Engineering on this web site." class="img" height="32" width="66" hspace="5"></a>';
   nn+='<br>Page URL: &nbsp; ' + location.toString();
   nn+=lastMod();
   nn+='<br>Page Title: &nbsp; ' + asdf;
   nn+='<br>Website created and maintained by David Bradley</p><p>&nbsp;</p>';
   return nn;
}

function w3cFP() {
   asdf = document.title .substring (39 ,99)
   var FlashVersion = verFlash(10);
   var jh = javahere()
   nn="";
   nn+='<p class="menu" style="margin: 15px 0 0">Using <script language="JavaScript" type="text/javascript">document.write(whichBrs())</script>, all pages on this site should render correctly if Flash Player and Java are available<br>';
   if (jh == 1) nn+= 'Inspecting your system, Java appears to be enabled ';
   else nn+= 'Some features on this site can not being shown as Java is not present or enabled. &nbsp; &nbsp;';
   if (FlashVersion == 0) nn+= 'but this site requires Flash Player. &nbsp; Please download the software using the button above.';
   else nn+= 'and Flash Player Version ' + FlashVersion + ' is probably present</p>';
   nn+='<p class="menu" style="margin: 3px 0 0">';
   nn+='<a href="http://www.java.com" target="_new"><img hspace="0" src="logos/get_java_blue-button.gif" border="0" width="88" height="31" alt="Get Java" onmouseover="self.status=\'To display this site as intended, the Java 2 Runtime Environment is desirable. Free download available by clicking on the icon.\'; return true" onmouseout="self.status=\'\'; return true">';
   nn+='<a href="http://www.macromedia.com/go/getflashplayer/" target="_new"><img hspace="3" src="logos/get_flash_player.gif" border="0" width="88" height="31" alt=" Get Flash Player " onmouseover="self.status=\'To display this site as intended, Flash Player is required. Free download available by clicking on the icon.\'; return true" onmouseout="self.status=\'\'; return true">';
   nn+='<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 hspace="0" src="' + imageDir + 'w3c-401.gif" alt="Web page with valid HTML 4.01 markup" border="0" height="31" width="93"></a>';
   nn+='<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_w3c" onmouseover="self.status=\'This site uses Cascading Style Sheets [CSS] which is a mechanism for adding style [e.g. fonts, colors, spacing] to our pages\'; return true" onmouseout="self.status=\'\'; return true"><img hspace="3" src="' + imageDir + 'w3c-css.gif" alt="This site uses Cascading Style Sheets [CSS] which is a simple mechanism for adding style [e.g. fonts, colors, spacing] to our pages. Hyperlink checks for design errors." border="0" height="31" width="93"></a>';
   nn+='<a href="http://www.anybrowser.org/campaign/index.html" target="_new" onmouseover="self.status=\'With minor differences this site should be viewable with any graphical browser that supports Java\'; return true" onmouseout="self.status=\'\'; return true"><img hspace="0" src="logos/anybrowser.gif" alt="With minor differences this site should be viewable with any graphical browser that supports Java. Some features will be lost when using a Java incapable browser." border="0" height="32" width="96"></a>';
   nn+='<a href="http://www.icra.org/sitelabel/" target="_neW" onmouseover="self.status=\'Click NOW to connect to the Internet Content Rating Association web site\'; return true" onmouseout="self.status=\'\'; return true"><img hspace="3" src="logos/icra.gif" alt="The Internet Content Rating Association runs a global self-labelling system providing Internet users with the choice to limit access to content they consider harmful, especially to children." class="img" height="31" width="88"></a>';
   nn+='<a href="javascript:emailPage()" onmouseover="self.status=\'Have a nice day\'; return true" onmouseout="self.status=\'\'; return true"><img hspace="0" src="images/tell-a-friend.gif" alt="Sends the URL of this page via email to your friend" border="0" height="32" width="130" vspace="0"></a>';
   nn+='<a href="http://www.mideng.co.uk/comments/" onmouseover="self.status=\'Customer Feedback - Publish your thoughts about Midhurst Engineering on this web site\'; return true" onmouseout="self.status=\'\'; return true"><img hspace="3" src="images/feedback.jpg" alt="Customer Feedback&#13;------------------------&#13;Publish your thoughts about&#13;Midhurst Engineering on this web site." class="img" height="32" width="66"></a>';
   nn+='<br>Page URL: &nbsp; ' + location.toString();
   nn+='<br>Page Title: &nbsp; ' + asdf;
   nn+='</p><p>&nbsp;</p>';
   return nn;
}

function w3cF() {
   asdf = document.title .substring (39 ,99)
   nn="";
   nn+='<p class="menu" style="margin: 10px 0 0">';
   nn+='<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="../' + imageDir + 'w3c-401.gif" alt="Web page with valid HTML 4.01 markup" border="0" height="31" width="93" hspace="0"></a>';
   nn+='<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_w3c" onmouseover="self.status=\'This site uses Cascading Style Sheets [CSS] which is a mechanism for adding style [e.g. fonts, colors, spacing] to our pages\'; return true" onmouseout="self.status=\'\'; return true"><img src="../' + imageDir + 'w3c-css.gif" alt="This site uses Cascading Style Sheets [CSS] which is a simple mechanism for adding style [e.g. fonts, colors, spacing] to our pages. Hyperlink checks for design errors." border="0" height="31" width="93" hspace="5"></a>';
   nn+='<a href="http://www.anybrowser.org/campaign/index.html" target="_new" onmouseover="self.status=\'With minor differences this site should be viewable with any graphical browser that supports Java\'; return true" onmouseout="self.status=\'\'; return true"><img src="../logos/anybrowser.gif" alt="With minor differences this site should be viewable with any graphical browser that supports Java. Some features will be lost when using a Java incapable browser." border="0" height="32" width="96" hspace="0"></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="Sends the URL of this page via email to your friend" border="0" height="32" width="130" vspace="0" hspace="5"></a>';
   nn+='<br>Page URL: &nbsp; ' + location.toString();
   nn+='<br>Page Title: &nbsp; ' + asdf;
   nn+='</p><p>&nbsp;</p>';
   return nn;
}

function whichBrs() {
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("opera") != -1) return 'Opera';
if (agt.indexOf("staroffice") != -1) return 'Star Office';
if (agt.indexOf("beonex") != -1) return 'Beonex';
if (agt.indexOf("chimera") != -1) return 'Chimera';
if (agt.indexOf("netpositive") != -1) return 'NetPositive';
if (agt.indexOf("phoenix") != -1) return 'Phoenix';
if (agt.indexOf("safari") != -1) return 'Safari';
if (agt.indexOf("skipstone") != -1) return 'SkipStone';
if (agt.indexOf("msie") != -1) return 'Internet Explorer';
if (agt.indexOf("netscape") != -1) return 'Netscape';
if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
if (agt.indexOf('\/') != -1) {
if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
return navigator.userAgent.substr(0,agt.indexOf('\/'));}
else return 'Netscape';} else return navigator.userAgent.substr(0,agt.indexOf(' '));
}

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 xpopBig(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>Midhurst Engineering Image Library - Image ' + winname + '</title>';
   nn+='<meta http-equiv="imagetoolbar" content="no">';
   nn+='<meta name="MSSmartTagsPreventParsing" content="TRUE">';
   nn+='<style type="text/css">';
   nn+=' body { background: #72BC5C; font-family: Verdana, sans-serif; margin: 10px 0 10px; }';
   nn+=' .descriptive { font-family: Verdana, sans-serif; font-size: 24px; font-weight: bold; text-align: center; color: #0000C0; }';
   if (description.indexOf('<h6>')>0) { nn+=' h6 { font-family: Verdana, Arial, sans-serif; font-size: 12pt; font-weight: bold; text-align: center; color: #0000C0; 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 LINK="#000000" ALINK="#000000" VLINK="#000000"><center>';
   nn+='<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">';
   nn+=' <tr>';
   nn+='  <td align="center"><a href="javascript:window.close()"><img src="' + filename + '" width="' + imageW + '" height="' + imageH + '" border="1" alt=" 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=no,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 xpopUp(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 || (screen.availWidth>=imageW && screen.availHeight>=imageH)) { 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
   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
   }
   nn="";
   nn+='<html><head><title>Midhurst Engineering Image Library -' + winname + '</title>';
   nn+='<meta http-equiv="imagetoolbar" content="no">';
   nn+='<meta name="MSSmartTagsPreventParsing" content="TRUE">';
   nn+='<style type="text/css">';
   nn+=' body { background: red; font-family: Verdana, sans-serif; margin: 10px 0 10px; }';
   nn+=' .descriptive { font-family: "Trebuchet MS", sans-serif; font-size: 24px; font-weight: bold; text-align: center; color: #0000C0; }';
   nn+=' .click { font-family: Arial, sans-serif; font-size: 11px; font-weight: normal; text-align: left; color: #0000C0; }';
   nn+='</style></head><body><center>';
   nn+='<script language="JavaScript" type="text/javascript" src="' + myName + '"></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()"><img src="' + filename + '" width=' + imgW + ' height=' + imgH + ' border="0" alt=" Image ' + winname + ' "></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<br><a href="javascript:' + bigURL + '"><img src="' + imageDir + 'redsq.gif" width="9" height="9" border="0" alt=""></a> &nbsp; See image at maximum resolution</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 display_time_in_status_line(  )
{
 var d = new Date(  );
   // Get the current time
 var h = d.getHours(  );
   // Extract hours: 0 to 23
 var m = d.getMinutes(  );
   // Extract minutes: 0 to 59
 var ampm = (h >= 12)?"pm":"am";
   // Is it a.m. or p.m.?
 if (h > 12) h -= 12;
   // Convert 24-hour format to 12-hour
 if (h == 0) h = 12;
   // Convert 0 o'clock to midnight
 if (m < 10) m = "0" + m;
   // Convert 0 minutes to 00 minutes, etc.
 var t = 'A breakdown service that gets to you fast!  The time is now:  ' + h + ':' + m + ' ' + ampm;
   // Put it all together

    defaultStatus = t;
      // Display it in the status line

    // Arrange to do it all again in one minute
    setTimeout("display_time_in_status_line(  )", 60000);
      // 60000 ms is one minute
}

function calbox() {
	var Today=new Date();
	var ThisDay=Today.getDay();
	var ThisDate=Today.getDate();
	var ThisMonth=Today.getMonth()+1;
	var ThisYear=Today.getFullYear();  //included if you wish to insert the year
	function DayTxt (DayNumber) {
	var Day=new Array();
	Day[0]="Sunday";
	Day[1]="Monday";
	Day[2]="Tuesday";
	Day[3]="Wednesday";
	Day[4]="Thursday";
	Day[5]="Friday";
	Day[6]="Saturday";
	return Day[DayNumber];
	}
	var DayName=DayTxt(ThisDay);
	function MonthTxt (MonthNumber) {
	var Month=new Array();
	Month[1]="January";
	Month[2]="February";
	Month[3]="March";
	Month[4]="April";
	Month[5]="May";
	Month[6]="June";
	Month[7]="July";
	Month[8]="August";
	Month[9]="September";
	Month[10]="October";
	Month[11]="November";
	Month[12]="December";
	return Month[MonthNumber];
	}
	var MonthName=MonthTxt(ThisMonth);
	var d = new Date();
	var h = d.getHours();
	document.write("<table align='left' border='1' bgcolor='#303030' width='75' height='85'>"+"<tr><td align='center'>"+"<!--->"+"<font size='-2' >"+DayName+"<br>"+"<font color='orangered' size='+3' >"+ThisDate+"</font>"+"<br>"+MonthName+"<br>"+"</b>"+"</font>"+"</td>"+"</tr>"+"</table>");
}

function gifLink(subject) {
   nn="";
   nn+='<a href="mailto:' + hPost;
   if (subject!="" && subject!=null) { nn+='?Subject=' + subject }
   nn+='"><img src="fpimages/mailoff.gif" width=120 height=25 border=0 vspace=0></a>';
   return nn;
}


function oLink(subject) {
   nn="";
   nn+='<a href="mailto:' + hPost;
   if (subject!="" && subject!=null) { nn+='?Subject=' + subject }
   nn+='">Contact Us</a>';
   return nn;
}

function slideit(){
	if (!document.images)
	return
	if (document.all)
	slide.filters.blendTrans.apply()
	document.images.slide.src=eval("image"+step+".src")
	if (document.all)
	slide.filters.blendTrans.play()
	whichimage=step
	if (step<number_of_images)
	step++
	else
	step=1
	if (document.all)
	setTimeout("slideit()",speed*1000+3000)
	else
	setTimeout("slideit()",speed*1000)
 }

var number_of_images=12
//change speed below (in seconds)
var speed=10
var step=1
var whichimage=1

function reapply(){
setTimeout("slideit()",2000)
return true
}
window.onerror=reapply

var image1=new Image()
image1.src="pictures/fleet/thumbnails/pic.jpg"
var image2=new Image()
image2.src="pictures/fleet/thumbnails/009.jpg"
var image3=new Image()
image3.src="pictures/fleet/thumbnails/064.jpg"
var image4=new Image()
image4.src="pictures/fleet/thumbnails/171.jpg"
var image5=new Image()
image5.src="pictures/fleet/thumbnails/2711.jpg"
var image6=new Image()
image6.src="pictures/fleet/thumbnails/ME07RTA1.jpg"
var image7=new Image()
image7.src="pictures/fleet/thumbnails/012.jpg"
var image8=new Image()
image8.src="pictures/fleet/thumbnails/185.jpg"
var image9=new Image()
image9.src="pictures/fleet/thumbnails/4952.jpg"
var image10=new Image()
image10.src="pictures/fleet/thumbnails/530.jpg"
var image11=new Image()
image11.src="pictures/fleet/thumbnails/017.jpg"
var image12=new Image()
image12.src="pictures/fleet/thumbnails/g021.jpg"

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function mot() {
msg=window.open("","","height=500,width=630,left=10,top=10,scrollbars=yes");
msg.document.write("<html><head><title>Midhurst Engineering - Vehicle Testing Station</title>");
msg.document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>");
msg.document.write("<link rel='stylesheet' type='text/css' href='styles/mot.css'></head>");
msg.document.write("<body bgcolor='#FFFFD2' title=' MOT Information '>");
msg.document.write("<img style='margin: 0 18px 0' align='left' src='logos/mot.jpg' width='78' height='100' alt=' MOT Logo '>");
msg.document.write("<b><font size='4' face='Trebuchet MS'><p>MOT Information</p></font></b>");
msg.document.write("<table border='0' cellpadding='7' cellspacing='0' width='450'>");
msg.document.write("<tr><td>The MOT scheme is primarily a road safety measure designed to ensure as far as possible that all cars,");
msg.document.write(" motorcycles and light goods vehicles more than 3 years old:"); 
msg.document.write("<ul style='margin: 0 60px 0'><li>Are properly maintained</li>");
msg.document.write("<li>At least once a year are examined at an authorised MOT test station to make sure that they comply with"); 
msg.document.write(" certain important requirements of the law</li></ul></td></tr><tr>");
msg.document.write("<td><p><font color='#FF0000'><b>Remember</b></font></p>");
msg.document.write("<p>The test certificate relates only to the condition of the");
msg.document.write(" testable items at the time of the test and should not be regarded as evidence of their condition at any other");
msg.document.write(" time; nor should it be accepted as evidence of the general mechanical condition of the vehicle.</p>");
msg.document.write("<p><font color='#FF0000'><b>Your Car and the MOT</b></font></p>");
msg.document.write("<p>If you have a car that is more than 3 years old it will need an MOT test each year to ensure that it meets at least the minimum road safety and environmental standards.</p>");
msg.document.write("<p>The test relates only to the condition of the testable items at the time of the test. It should not be regarded");
msg.document.write(" as evidence of the condition of the items tested at any other time nor should it be taken as evidence of the");
msg.document.write(" general mechanical condition of the vehicle</p>");
msg.document.write("<p><font color='#FF0000'><b>The test</b></font></p>");
msg.document.write("<p>MOT's are undertaken at garages authorised by the Vehicle Inspectorate to carry out the tests. They are easily identifiable by the blue, 3 triangle MOT Sign.</p>");
msg.document.write("<p><font color='#FF0000'><b>What items are examined in the MOT test?</b></font></p>");
msg.document.write("<p><font color='#0000FF'><b>Lighting Equipment, Stop Lamps, Reflectors, and Direction Indicators</b></font></p>");
msg.document.write("<p>Front and rear position lamps<br>Rear registration plate lamps<br>Rear fog lamps<br>Headlamps<br>Stop lamps<br>Rear reflectors<br>Direction indicators and hazard warning devices<br>Headlamp aim</p>");
msg.document.write("<p><font color='#0000FF'><b>Steering [including suspension]</b></font></p>");
msg.document.write("<p>Steering control<br>Steering system<br>Power steering<br>Suspension - general<br>Front suspension, front wheel bearings and drive shafts<br>Rear suspension and rear wheel bearings<br>Shock absorbers</p>");
msg.document.write("<p><font color='#0000FF'><b>Brakes</b></font></p>");
msg.document.write("<p>Parking brake lever mechanism<br>Hand operated brake control valves<br>Service brake control<br>Anti-lock braking system<br>Mechanical brake components<br>Hydraulic, air and vacuum systems<br>Brake performance</p>");
msg.document.write("<p><font color='#0000FF'><b>Tyres</b></font></p>");
msg.document.write("<p>Tyres<br>Road wheels</p>");
msg.document.write("<p><font color='#0000FF'><b>Seat Belts</b></font></p>");
msg.document.write("<p>Seat belts</p>");
msg.document.write("<p><font color='#0000FF'><b>General Items</b></font></p>");
msg.document.write("<p>Drivers view of the road<br>Wipers<br>Washers<br>Windscreen<br>Audible warning [horn]<br>Exhaust system<br>Exhaust emissions - Petrol &amp; diesel</p>");
msg.document.write("<p><font color='#0000FF'><b>General condition of vehicle</b></font></p>");
msg.document.write("<p>Vehicle structure<br>Body Security<br>Body condition<br>Doors<br>Load Security<br>Spare wheel and carrier<br>Seats<br>Mirrors<br>Fuel system<br>Registration plates and VIN details</p>");
msg.document.write("</td></tr></table><center>");
msg.document.write("<form style='margin: 30px 0 30px'>");
msg.document.write("<input type='button' value=' More Info ' onClick='location.replace(&quot;http://www.vosa.gov.uk/vosa/publications/your%20car%20and%20the%20mot.pdf&quot;)' style='font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'> &nbsp; &nbsp;");
msg.document.write("<input type='button' value=' Close Window ' onclick='window.close();' style='font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'>");
msg.document.write("</form></center></body></html>");
}

function uccc() {
msg=window.open("","","height=500,width=600,left=10,top=10,scrollbars=no");
msg.document.write("<html><head><title>Midhurst Engineering - Unipart Care Care Centre</title>");
msg.document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>");
msg.document.write("<link rel='stylesheet' type='text/css' href='styles/mot.css'></head>");
msg.document.write("<body bgcolor='#FFFFD2' title=' Unipart Care Care Centre '>");
msg.document.write("<img style='margin: 0 18px 0' align='left' src='logos/unipart.gif' width='76' height='100' alt=' Unipart Logo '>");
msg.document.write("<b><font size='4' face='Trebuchet MS'><p>Unipart Care Care Centre</p></font></b>");
msg.document.write("<table border='0' cellpadding='7' cellspacing='0' width='450'>");
msg.document.write("<tr><td><p><font color='#FF0000'><b>UCCC Explained</b></font></p>");
msg.document.write("<p>There are lots of different garages out there for you to choose from. However, we believe that what makes a Unipart Car Care Centre different is our ability to offer you the best of everything.</p>");
msg.document.write("<p>On one hand, as a small, independent garage, a Unipart Car Care Centre can offer you that rare thing these days - a genuinely friendly, genuinely personal service. On the other, a Unipart Car Care Centre enjoys the backing of Unipart. Meaning that, in addition to first class mechanics and a well-equipped workshop, a Unipart Car Care Centre can offer you the widest possible selection of top quality parts - all at highly competitive prices.</p>");
msg.document.write("<p>Another good reason for choosing us is that we provide a unique 12 month/12,000 mile warranty on parts and labour which is honoured at all Unipart Car Care Centres nationwide. There are currently over 2,000, which ensures that there is a Unipart Car Care Centre within 5 miles of the vast majority of UK motorists.</p>");
msg.document.write("<p>Click <a href='http://carcare.unipart.co.uk/what/pledge.htm' target='_new'>here</a> to see the Service Pledge that is offered by all Unipart Car Care Centres.</p>");
msg.document.write("</td></tr></table><center>");
msg.document.write("<form style='margin: 30px 0 30px'><input type='button' value=' Close Window ' onclick='window.close();' style='font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'></form>");
msg.document.write("</center></body></html>");
}

function pas43() {
msg=window.open("","","height=500,width=600,left=10,top=10,scrollbars=no");
msg.document.write("<html><head><title>Midhurst Engineering - About PAS43</title>");
msg.document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>");
msg.document.write("<link rel='stylesheet' type='text/css' href='styles/mot.css'></head>");
msg.document.write("<body bgcolor='#FFFFD2' title='PAS43'>");
msg.document.write("<img style='margin: 0 18px 0' align='left' img src='logos/pas43tn.jpg' width='85' height='95' alt='PAS43 logo' border='1'>");
msg.document.write("<b><font size='4' face='Trebuchet MS'><p>WHAT IS PAS43?</p></font></b>");
msg.document.write("<table border='0' cellpadding='7' cellspacing='0' width='450'>");
msg.document.write("<tr><td>PAS43 is a Publicly Available Specification with the aim to improve the safety of all people present during the recovery of vehicles following an accident or breakdown. It was instigated by SURVIVE, a partnership between the Police Service and the motoring sector."); 
msg.document.write("<br><br>The specification addresses the many issues that affect the safety of personnel and the way they work. Topics covered in the document are the vehicles and equipment, personal safety and clothing, technicians, premises and operating procedures.");
msg.document.write("<p><font color='#FF0000'><b>Benefits of obtaining certification:</b></font></p>");
msg.document.write("<ul style='margin: 0 0 0 35px'>");
msg.document.write("<li>Registration by an accredited certification body demonstrates commitment to quality, training and safety.</li>"); 
msg.document.write("<li>An effective management system is in place that satisfies the rigours of an independent, external audit.</li>"); 
msg.document.write("<li>The ISO 9001/PAS 43 certificate enhances Midhurst Engineering's image in the eyes of customers and employees.</li>"); 
msg.document.write("<li>It gives a competitive edge to the organisation's marketing.</li>"); 
msg.document.write("</ul></td></tr></table><center>");
msg.document.write("<form style='margin: 30px 0 30px'><input type='button' value=' Close Window ' onclick='window.close();' style='font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'></form>");
msg.document.write("</center></body></html>");
}

function bwc() {
msg=window.open("","","height=570,width=600,left=10,top=10,scrollbars=no");
msg.document.write("<html><head><title>Midhurst Engineering - About Trading Standards Buy With Confidence</title>");
msg.document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>");
msg.document.write("<link rel='stylesheet' type='text/css' href='styles/mot.css'></head>");
msg.document.write("<body bgcolor='#FFFFD2' title='Buy with Confidence'>");
msg.document.write("<img style='margin: 0 18px 0' align='left' img src='logos/confidencelogo2.jpg' width='93' height='95' alt='Buy With Confidence logo' border='1'>");
msg.document.write("<b><font size='4' face='Trebuchet MS'><p>What is Trading Standards Buy With Confidence?</p></font></b>");
msg.document.write("<table border='0' cellpadding='7' cellspacing='0' width='450'>");
msg.document.write("<tr><td>The Buy with Confidence scheme is an initiative by the Trading Standards Service in West Sussex, in conjunction with other services in the South East to help businesses comply with the law, while improving consumer protection through a partnership approach. It is open to any business with premises within the area covered by West Sussex County Council providing they meet the criteria."); 
msg.document.write("<br><br>Before being accepted as a member the business has demonstrated a high level of commitment to operate in a fair and honest way and has been audited by Trading Standards personnel, including a Criminal Records Bureau check.");
msg.document.write("<p><font color='#FF0000'><b>Benefits to the Consumer:</b></font></p>");
msg.document.write("<ul style='margin: 0 0 0 35px'>");
msg.document.write("<li>Midhurst Engineering is committed to fair trading and to providing a quality service to their customers</li>"); 
msg.document.write("<li>Midhurst Engineering undertakes to comply with the spirit and the letter of the law and not restrict your rights</li>"); 
msg.document.write("<li>Midhurst Engineering deals with customers promptly, efficiently and courteously and in accordance with good trading practice</li>"); 
msg.document.write("<li>Midhurst Engineering has a sound customer complaints procedure</li>");
msg.document.write("<li>Midhurst Engineering esures that their staff are competent for the work they carry out for you</li>");  
msg.document.write("</ul></td></tr></table><center>");
msg.document.write("<form style='margin: 30px 0 30px'><input type='button' value=' Close Window ' onclick='window.close();' style='font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'></form>");
msg.document.write("</center></body></html>");
}

function ftc() {
msg=window.open("","","height=545,width=615,left=10,top=10,scrollbars=no");
msg.document.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>");
msg.document.write("<title>Midhurst Engineering - WSCC Fair Trade Charter</title>");
msg.document.write("<link rel='stylesheet' type='text/css' href='styles/mot.css'></head>");
msg.document.write("<body bgcolor='#FFFFD2' title=' Fair Trade Charter Panel '>");
msg.document.write("<p><img src='logos/ftc-gs.gif' width='108' height='179' alt='' align='left' style='margin: 0 18px 0'></p>");
msg.document.write("<p><font size='4' face='Trebuchet MS'><b>West Sussex County Council</b></font></p>");
msg.document.write("<table border='0' cellpadding='7' cellspacing='0' width='450'><tr><td><font color='#FF0000'><b>Fair Trade Charter</b></font>");
msg.document.write("<br><br>In conjunction with the Retail Motor Industry Federation [RMIF], West Sussex Trading Standards Service has introduced two Fair Trade Charters for the Motor Industry.");
msg.document.write("<ul style='margin: 5px 40px 17px'><li><a href='http://www.westsussex.gov.uk/content/business/trading-standards-for-business/fair-trade-charter.jsp?sectionNumber=3' target='_new'>");
msg.document.write("Click</a> for a list of New and Used Car Sales members</li>");
msg.document.write("<li><a href='http://www.westsussex.gov.uk/content/business/trading-standards-for-business/fair-trade-charter.jsp?sectionNumber=4' target='_new'>");
msg.document.write("Click</a> for a list of Vehicle Servicing, Repairs and Modifications members</li></ul>");
msg.document.write("The schemes are designed to highlight those businesses in the motor industry who operate in a fair and honest way by allowing them to display the charter logo on business documents and at their business premises.");
msg.document.write("<br><br>Traders who demonstrate a high level of commitment to operate in a fair and honest way may apply for membership of the Fair Trade Charter, and following Fair Trading Award training and a quality audit, sign an undertaking that they will adhere to certain principles and commitments.");
msg.document.write("<br><br>Midhurst Engineering &amp; Motor Co. have been vetted by Trading Standards and therefore permitted to display the Charter logo, and use it on documentation, as a clear indication of their commitment to fair trading.</td></tr></table>");
msg.document.write("<form style='margin: 30px 0 30px'><p align='center'><input type='button' value=' Close Window ' onclick='window.close();' style='font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'></p></form></body></html>");
}

function lmap() {
msg=window.open("","","height=500,width=600,left=10,top=10,scrollbars=no");
msg.document.write("<html><head><title>Midhurst Engineering - Location Map</title>");
msg.document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>");
msg.document.write("<link rel='stylesheet' type='text/css' href='styles/mot.css'></head>");
msg.document.write("<body bgcolor='#FFFFD2' title=' Garage Information Panel '>");
msg.document.write("<img src='map/lm.jpg' width='311' height='200' class='nbr' alt=' Our location in the centre of Midhurst ' align='left' style='margin: 0 18px 0'>");
msg.document.write("<b><font size='4' face='Trebuchet MS'><p>Location Map</p></font></b>");
msg.document.write("<p class='loc'>Situated in the centre of town [Next to Natwest Bank].<p class='loc'>&nbsp; Rumbolds Hill<br>&nbsp; Midhurst<br>&nbsp; West Sussex<br>&nbsp; GU29 9DD<br><br>&nbsp; T: 01730 812162<br>&nbsp; F: 01730 816791</p>");
msg.document.write("<ul style='margin: 35px 65px 30px'>");
msg.document.write("<li>Quality repairs and servicing;</li>");
msg.document.write("<li>MOT's [Class IV Vehicle Testing];</li>");
msg.document.write("<li>Diagnostic Centre;</li>");
msg.document.write("<li>Unleaded Conversions;</li>");
msg.document.write("<li>Body Shop with Jig and Oven;</li>");
msg.document.write("<li>24hr Recovery Service;</li>");
msg.document.write("<li>Free Estimates;</li>");
msg.document.write("<li>Free Courtesy Cars;</li>");
msg.document.write("<li>Free Local Collection and Delivery;</li>");
msg.document.write("<li>Personal Service;</li>");
msg.document.write("<li>Family Business, Established since 1926</li></ul>");
msg.document.write("<center>");
msg.document.write("<form style='margin: 30px 0 30px'><input type='button' value=' Close Window ' onclick='window.close();' style='font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'></form>");
msg.document.write("</center></body></html>");
}

function turbo() {
msg=window.open("","","height=500,width=600,left=10,top=10,scrollbars=yes");
msg.document.write("<html><head><title>Midhurst Engineering - GPS Software</title>");
msg.document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>");
msg.document.write("<link rel='stylesheet' type='text/css' href='styles/mot.css'></head>");
msg.document.write("<body bgcolor='#FFFFD2' title=' GPS Software '>");
msg.document.write("<img style='margin: 0 18px 0' align='left' src='logos/mts.jpg' width='100' height='24' alt=' MTS Software '>");
msg.document.write("<b><font size='4' face='Trebuchet MS'><p>GPS Software</p></font></b>");
msg.document.write("<table  style='margin: 0 0 0 136px' border='0' cellpadding='0' cellspacing='0' width='425'>");
msg.document.write("<tr><td><img src='images/turbo.jpg' width='425' height='305' alt=''>"); 
msg.document.write("</td></tr><tr><td><br>Each of Midhurst Engineering\'s recovery trucks has a tracking device fitted which sends a signal back to our control room to display its location on a map. While the screen shot is of central Midhurst, and therefore shows a few of our recovery trucks in the yard, the mapping coverage is nation wide.<br><br>This real time information enables the software to calculate the estimated time of arrival to any incident. This information can be used for SMS reassuring text messages to be sent to the stranded motorists mobile phone.</td></tr></table>");
msg.document.write("<center><form style='margin: 30px 0 30px'><input type='button' value=' Close Window ' onclick='window.close();' style='font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'></form>");
msg.document.write("</center></body></html>");
}

function radio() {
msg=window.open("","","height=500,width=600,left=10,top=10,scrollbars=yes");
msg.document.write("<html><head><title>Midhurst Engineering - Radio Data Network</title>");
msg.document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>");
msg.document.write("<link rel='stylesheet' type='text/css' href='styles/mot.css'></head>");
msg.document.write("<body bgcolor='#FFFFD2' title=' Radio Data Network '>");
msg.document.write("<img style='margin: 0 18px 0' align='left' src='logos/transcomm.jpg' width='110' height='36' border='1' alt=' Transcomm Network '>");
msg.document.write("<b><font size='4' face='Trebuchet MS'><p>Radio Data Network</p></font></b>");
msg.document.write("<table  style='margin: 0 0 0 146px' border='0' cellpadding='15' cellspacing='0' width='420'>");
msg.document.write("<tr><td valign='top' background='images/aerial.jpg' height='575'>");
msg.document.write("<font color='white'>24 hours a day, Midhurst Engineering\'s Control Room is on standby to receive incident information over a data radio link from any motoring organisation to provide rescue and recovery services to stranded motorists.<br><br>The data received populates a bespoke software package which will show all relevant information to ensure that the appropriate breakdown vehicles are quickly on the scene. In cab computer terminals are synchronized with control room information thus avoiding distracting voice messages to the driver on the move.<br><br>The data");
msg.document.write(" network facilities are provided by Transcomm who are the UK\'s leading wireless data provider with over 95% population coverage and 99.5% service availability for secure, reliable business critical communications.<br><br>Midhurst Engineering\'s investment in technology is to ensure that when we are needed we can be contacted without difficulty. We are committed to the highest standards of service and customer satisfaction. The radio data network is the first link in that relationship to our highly professional team.<br><br>If you wish to call us after the incident ring:<br><font color='red' size='4'>01730 812162");
msg.document.write("</font>.<br><br><br><br><br><br>If you are having difficulty reading the text on this page, then right click and SELECT ALL</font></td></tr></table>");
msg.document.write("<center><form style='margin: 30px 0 30px'><input type='button' value=' Close Window ' onclick='window.close();' style='font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'></form>");
msg.document.write("</center></body></html>");
}

function da() {
msg=window.open("","","height=500,width=600,left=0,top=0,scrollbars=yes");
msg.document.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>");
msg.document.write("<title>Midhurst Engineering - First Female Apprentice</title>");
msg.document.write("<link rel='stylesheet' type='text/css' href='styles/mot.css'></head>");
msg.document.write("<body bgcolor='#FFFFD2' title=' First Female Apprentice '>");
msg.document.write("<p><img src='pictures/staff/DanielleArcher.jpg' width='150' height='184' alt='' align='left' style='margin: 0 18px 0'></p>");
msg.document.write("<p><font size='4' face='Trebuchet MS'><b>Danielle breaks new ground</b></font></p>");
msg.document.write("<table border='0' cellpadding='7' cellspacing='0' width='380'><tr><td><font color='#FF0000'><b>First Female Apprentice</b></font>");
msg.document.write("<br><br>Getting under the bonnet of a classy car is just bliss to 18-year-old Danielle Archer.");
msg.document.write(" She admits to being obsessed with cars since she was a child, and now she is breaking new ground with Midhurst Engineering and Motor Company at Midhurst.");
msg.document.write(" Danielle, from Fernhurst, has been signed up as the first female apprentice in the company&#39;s history. In September she began two years of studies to become a light vehicle technician, attending college one day a week, before going on to seek specialist qualifications.<br><br>");
msg.document.write("Previously, Danielle had been spending a day a week with Midhurst Engineering through the Chichester District education business partnership.<br><br>");
msg.document.write("She said: &quot;You get some wonderful cars here. I have worked on a Cobra and the complete rebuild of an engine in a Sierra Cosworth.<br><br>");
msg.document.write("&quot;I have always loved cars and thought &#39;this is the career for me&#39;. My family weren&#39;t at all surprised,&quot; she added.<br><br>");
msg.document.write("Danielle, who is awaiting the results of her A-level exams, has impressed her boss, Guy Morgan, with her enthusiasm and willingness to learn. &quot;She is so keen,&quot; he said.<br><br>");
msg.document.write("&quot;We haven&#39;t had a female apprentice before, not because we have anything against females but they just haven&#39;t come along.&quot;<br><br></td></tr></table>");
msg.document.write("<form style='margin: 30px 0 30px'><p align='center'><input type='button' value=' Close Window ' onclick='window.close();' style='font-family: Verdana; font-size: 10pt; font-weight: bold; border: 1px outset #FFFFCC'></p></form>");
msg.document.write("</body></html>");
}
