function writePageStart(path)
{
document.write("<TABLE WIDTH='800' CELLPADDING='0' CELLSPACING='0' BORDER='0' BACKGROUND='"+path+"images/bannerbg.jpg'>")
document.write("<TR>")
document.write("<TD ROWSPAN='4' WIDTH='180'><IMG SRC='"+path+"images/qmlogo.jpg' ALT='Aquatec Quality Matters Logo' WIDTH='180' HEIGHT='100' BORDER='0' HSPACE='0' VSPACE='0'></TD><TD CLASS='menuBarTitle' WIDTH='10'>&nbsp;</TD>")
document.write("<TD COLSPAN='12' CLASS='menuBarTitle'>Welcome to Aquatec (UK) Ltd.</TD>")
document.write("</TR>")
document.write("<TR><TD CLASS='nbsp' WIDTH='10'>&nbsp;</TD><TD COLSPAN='12' CLASS='menuBarTitle'>Catering for the Sports & Commercial Diver</TD></TR>")
document.write("<TR>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM' WIDTH='10' HEIGHT='1'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM' HEIGHT='1'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM' HEIGHT='1'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM' HEIGHT='1'>&nbsp;</TD>")
// document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM' WIDTH='1' HEIGHT='1' BGCOLOR='#0080C0'>&nbsp;</TD>")
// document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='90' VALIGN='BOTTOM' HEIGHT='1' BGCOLOR='#0080C0'>&nbsp;</TD>")
// document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='1' VALIGN='BOTTOM' HEIGHT='1' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM' WIDTH='1' HEIGHT='1'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='90' VALIGN='BOTTOM' HEIGHT='1'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='1' VALIGN='BOTTOM' HEIGHT='1'BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='90' VALIGN='BOTTOM' HEIGHT='1' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='1' VALIGN='BOTTOM' HEIGHT='1' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='90' VALIGN='BOTTOM' HEIGHT='1' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='1' VALIGN='BOTTOM' HEIGHT='1' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='90' VALIGN='BOTTOM' HEIGHT='1' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='1' VALIGN='BOTTOM' HEIGHT='1' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("</TR>")
document.write("<TR>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM' WIDTH='10'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='menuBar' VALIGN='BOTTOM'><SPAN ID='dte' CLASS='clock'></SPAN>&nbsp;&nbsp;<SPAN ID='clock' CLASS='clock'></SPAN></TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM'>&nbsp;</TD>")
// document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM' WIDTH='1' BGCOLOR='#0080C0'>&nbsp;</TD>")
// document.write("<TD ALIGN='CENTER' CLASS='menuBar' WIDTH='90' VALIGN='BOTTOM'>Products</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' VALIGN='BOTTOM' WIDTH='1'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='90' VALIGN='BOTTOM'>&nbsp</TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='1' VALIGN='BOTTOM' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='menuBar' WIDTH='90' VALIGN='BOTTOM'><A HREF='"+path+"pages/stockists/stockists.html' CLASS='menuBar'>Stockists</A></TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='1' VALIGN='BOTTOM' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='menuBar' WIDTH='90' VALIGN='BOTTOM'><A HREF='"+path+"pages/contact/contact.html' CLASS='menuBar'>Contact Us</A></TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='1' VALIGN='BOTTOM' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("<TD ALIGN='CENTER' CLASS='menuBar' WIDTH='90' VALIGN='BOTTOM'><A HREF='"+path+"pages/contact/feedback.html' CLASS='menuBar'>Feedback</A></TD>")
document.write("<TD ALIGN='CENTER' CLASS='nbsp' WIDTH='1' VALIGN='BOTTOM' BGCOLOR='#0080C0'>&nbsp;</TD>")
document.write("</TR>")
document.write("</TABLE>")
document.write("<TABLE WIDTH='125' CELLPADDING='0' CELLSPACING='0' BORDER='0' BGCOLOR='#FDFC99' ALIGN='LEFT'>")
document.write("<TR><TD ROWSPAN='65' WIDTH='5' CLASS='nbsp'>&nbsp;</TD><TD HEIGHT='5' CLASS='nbsp'>&nbsp;</TD><TD ROWSPAN='57' WIDTH='5' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='2' CLASS='nbsp' BGCOLOR='#0080C0'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='10' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"index.html' CLASS='menuItem'>Home</A></TD></TR>")
document.write("<TR><TD CLASS='nbsp' HEIGHT='4'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='nbsp' HEIGHT='1' BGCOLOR='#0080C0'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='nbsp' HEIGHT='4'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/new/new.html' CLASS='menuItem'>New Products</A></TD></TR>")
document.write("<TR><TD HEIGHT='9' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='2' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='9' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/location/location.html' CLASS='menuItem'>Diver Location Solutions</A></TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='1' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/carrying/carrying.html' CLASS='menuItem'>Aquatec Carrying Solutions</A></TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD>")
document.write("</TR><TR><TD HEIGHT='1' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/lifting/lifting.html' CLASS='menuItem'>Aquatec Lifting Solutions</A></TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='1' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/cylinder/cylinder.html' CLASS='menuItem'>Aquatec Cylinder Accessories</A></TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='1' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/weight/weight.html' CLASS='menuItem'>Aquatec Weight Solutions</A></TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='1' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/harness/harness.html' CLASS='menuItem'>Aquatec Harness Hardware</A></TD></TR>")
document.write("<TR><TD HEIGHT='1' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='1' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/accessories/accessories.html' CLASS='menuItem'>Other Accessories</A></TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='1' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/commercial/commercial.html' CLASS='menuItem'>JR Commerical Diving</A></TD></TR>")
document.write("<TR><TD HEIGHT='9' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='2' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='9' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/qwikclips/qwikclips.html' CLASS='menuItem'>Qwik-Clips Attachment Soultions</A></TD></TR>")
document.write("<TR><TD HEIGHT='9' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='2' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='9' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/stockists/stockists.html' CLASS='menuItem'>Stockists</A></TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='1' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/contact/contact.html' CLASS='menuItem'>Contact Us</A></TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='1' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='menuItem'><A HREF='"+path+"pages/links/links.html' CLASS='menuItem'>Links</A></TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='2' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='10' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD CLASS='webBy'>Web Design<BR>& Management By<BR>Steve Ray<BR>SJR Computing</TD></TR>")
document.write("<TR><TD HEIGHT='4' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='2' BGCOLOR='#0080C0' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='10' CLASS='nbsp'>&nbsp;</TD></TR>")
document.write("<TR><TD align='centre'>")
document.write("<a href='http://top.addfreestats.com/cgi-bin/main.cgi?usr=00221088P000' target='_blank'>")
document.write("<img src='http://www2.addfreestats.com")
document.write("/cgi-bin/connect.cgi?")
document.write("usr=00221088P000")
document.write("&refer='+escape(parent.document.referrer)+'")
document.write("&tips='+Math.random()+'")
document.write("' alt='AddFreeStats' border=0></A>")
document.write("</TD></TR>")
document.write("</TABLE>")
}

function writePageEnd()
{
document.write("<DIV align='right'><TABLE WIDTH='250' CELLPADDING='0' CELLSPACING='0'>")
document.write("<TR><TD CLASS='nbsp' HEIGHT='1' BGCOLOR='#000000' ALIGN='RIGHT'>&nbsp;</TD></TR>")
document.write("<TR><TD HEIGHT='7' CLASS='nbsp' ALIGN='RIGHT'>&nbsp;</TD></TR>")
document.write("<TR><TD ALIGN='RIGHT' CLASS='copyright'>&copy; 1997-2005, Aquatec (UK) Ltd., UK</TD></TR>")
document.write("<TR><TD ALIGN='RIGHT' CLASS='copyright'><A HREF='mailto:info@aquatec.co.uk'>info@aquatec.co.uk</A></TD></TR>")
document.write("<TR><TD ALIGN='RIGHT' CLASS='copyright'>Tel: +44 (0)1305 776037<BR>Fax: +44 (0)1305 769977</TD></TR>")
document.write("<TR><TD HEIGHT='20' CLASS='nbsp' ALIGN='RIGHT'>&nbsp;</TD></TR>")
document.write("</TABLE></DIV>")
// InLive Counter
document.write("<div align='center'><SCRIPT language='javascript' src='http://www2.addfreestats.com/cgi-bin/countnow.cgi?usr=00221088&type=0'></SCRIPT></div>")
}

function getTime() {
	DaysofWeek = new Array()
	  DaysofWeek[0]='Sunday'
	  DaysofWeek[1]='Monday'
	  DaysofWeek[2]='Tuesday'
	  DaysofWeek[3]='Wednesday'
	  DaysofWeek[4]='Thursday'
	  DaysofWeek[5]='Friday'
	  DaysofWeek[6]='Saturday'

	Months = new Array()
	  Months[0]='Jan'
	  Months[1]='Feb'
	  Months[2]='Mar'
	  Months[3]='Apr'
	  Months[4]='May'
	  Months[5]='Jun'
	  Months[6]='Jul'
	  Months[7]='Aug'
	  Months[8]='Sep'
	  Months[9]='Oct'
	  Months[10]='Nov'
	  Months[11]='Dec'

	var date= new Date();
	
	var day2 = DaysofWeek[date.getDay()]
	var dte2 = date.getDate()
	var month = Months[date.getMonth()]
	var year = date.getFullYear()
	if(dte2<10){ dte2='0'+dte2 }
//	day.innerHTML=day2
	dte.innerHTML=dte2+' '+month+' '+year;

	var h = date.getHours();
	var m = date.getMinutes();
	var s = date.getSeconds();
	if(m<10){ m='0'+m }
	if(s<10){ s='0'+s }
	clock.innerHTML=h+ ':' +m+ ':' +s;
	setTimeout('getTime()',100)
}

function formHandler(form){
self.location = document.form.site.options[document.form.site.selectedIndex].value;
}
