<!-- This message will only appear on non JavaScript enabled browsers. -->
<!-- --> <HR><CENTER><H1>This Page Requires JavaScript</H1></CENTER>
<!-- --> Your browser is not capable of running JavaScript programs
<!-- --> so you will not be able to use this page. Please upgrade to
<!-- --> the latest version of Netscape Navigator or Internet Explorer.
<!-- --> <HR>
<!-- Begin script - do not remove this line - it is here to hide the script from a non JavaScript enabled browser
	browserName = navigator.appName;
	browserVer = parseInt(navigator.appVersion);
	var browseR = "bad";
	if (browserName == "Netscape" && browserVer >= 3)
		browseR = "good";
	if (browserVer >= 4)
		browseR = "good";
	if (browseR == "good")             
	{
		contents_off = new Image;
		introduction_off = new Image;
		pictures_off = new Image;
		diary_off = new Image;
		livestock_off = new Image;
		equipment_off = new Image;
		advice_off = new Image;
		maintenance_off = new Image;
		links_off = new Image;
		email_off = new Image;
		contents_on = new Image;
		introduction_on = new Image;
		pictures_on = new Image;
		diary_on = new Image;
		livestock_on = new Image;
		equipment_on = new Image;
		advice_on = new Image;
		maintenance_on = new Image;
		links_on = new Image;
		email_on = new Image;
		contents_off.src = rootpath + "images/contents_off.jpg";
		introduction_off.src = rootpath + "images/introduction_off.jpg";
		pictures_off.src = rootpath + "images/pictures_off.jpg";
		diary_off.src = rootpath + "images/diary_off.jpg";
		livestock_off.src = rootpath + "images/livestock_off.jpg";
		equipment_off.src = rootpath + "images/equipment_off.jpg";
		advice_off.src = rootpath + "images/advice_off.jpg";
		maintenance_off.src = rootpath + "images/maintenance_off.jpg";
		links_off.src = rootpath + "images/links_off.jpg";
		email_off.src = rootpath + "images/email_off.jpg";
		contents_on.src = rootpath + "images/contents_on.jpg";
		introduction_on.src = rootpath + "images/introduction_on.jpg";
		pictures_on.src = rootpath + "images/pictures_on.jpg";
		diary_on.src = rootpath + "images/diary_on.jpg";
		livestock_on.src = rootpath + "images/livestock_on.jpg";
		equipment_on.src = rootpath + "images/equipment_on.jpg";
		advice_on.src = rootpath + "images/advice_on.jpg";
		maintenance_on.src = rootpath + "images/maintenance_on.jpg";
		links_on.src = rootpath + "images/links_on.jpg";
		email_on.src = rootpath + "images/email_on.jpg";
	}
	write_header();
	write_first_body();


	function img_act(imgName)
	{
		if (browseR == "good")
		{
			imgOn = eval(imgName + "_on.src");
			document.images[imgName].src = imgOn;
		}
	}

	function img_inact(imgName)
	{
		if (browseR == "good")
		{
			imgOff = eval(imgName + "_off.src");
			document.images[imgName].src = imgOff;
		}
	}
	
	function write_header()
	{
		document.write("<a NAME='top'></a><img SRC='");
		document.write(rootpath); 
		document.write("images/corner.jpg' height=60 width=92><img SRC='");
		document.write(titlebar);
		document.write("' height=60 width=550><a HREF='");
		document.write(rootpath);
		document.write("advert.html'><img SRC='");
		document.write(rootpath);
		document.write("images/advert.gif' height=60 width=110 border=0></a><br><img SRC='");
		document.write(rootpath);
		document.write("images/horiz_bar.jpg' height=5 width=760>");
	}

	function write_first_body()
	{
		write_main_start();
		write_leftbar();
		write_text_start();
	}

	function write_next_body()
	{
		write_main_start();
		write_text_start();
	}

	function write_main_start()
	{
		document.write("<table CELLSPACING=0 CELLPADDING=0 WIDTH='760'>");
		document.write("<tr VALIGN=TOP>");
		document.write("<td WIDTH='110'>");
	}

	function write_leftbar()
	{
		document.write("<table CELLSPACING=0 CELLPADDING=0 WIDTH='110'>");
		document.write("<tr><td><a href='");
 		document.write(rootpath);
		document.write("index_g.html' onMouseover=\"img_act('contents'); window.status='Contents Page.'; return true\" onMouseout=\"img_inact('contents'); window.status = '';\"><img SRC='");
  		document.write(rootpath);
		document.write("images/contents_off.jpg' NAME='contents' BORDER=0 height=30 width=110></a></td></tr>");
		document.write("<tr><td><a href='");
 		document.write(rootpath);
		document.write("introduction.html' onMouseover=\"img_act('introduction'); window.status='Start here - an introduction to the site.'; return true\" onMouseout=\"img_inact('introduction'); window.status = '';\"><img SRC='");
 		document.write(rootpath);
		document.write("images/introduction_off.jpg' NAME='introduction' BORDER=0 height=30 width=110></a></td></tr>");
		document.write("<tr><td><a href='");
 		document.write(rootpath);
		document.write("pictures.html' onMouseover=\"img_act('pictures'); window.status='Take a look at my photo album.'; return true\" onMouseout=\"img_inact('pictures'); window.status = '';\"><img SRC='");
  		document.write(rootpath);
		document.write("images/pictures_off.jpg' NAME='pictures' BORDER=0 height=30 width=110></a></td></tr>");
		document.write("<tr><td><a href='");
		document.write(rootpath);
		document.write("diary.html' onMouseover=\"img_act('diary'); window.status='The history of the reef tank.'; return true\" onMouseout=\"img_inact('diary'); window.status = '';\"><img SRC='");
 		document.write(rootpath);
		document.write("images/diary_off.jpg' NAME='diary' BORDER=0 height=30 width=110></a></td></tr>");
		document.write("<tr><td><a href='");
		document.write(rootpath);
		document.write("livestock.html' onMouseover=\"img_act('livestock'); window.status='The reef tank inhabitants.'; return true\" onMouseout=\"img_inact('livestock'); window.status = '';\"><img SRC='");
 		document.write(rootpath);
		document.write("images/livestock_off.jpg' NAME='livestock' BORDER=0 height=30 width=110></a></td></tr>");
		document.write("<tr><td><a href='");
		document.write(rootpath);
		document.write("equipment.html' onMouseover=\"img_act('equipment'); window.status='My reef tank setup.'; return true\" onMouseout=\"img_inact('equipment'); window.status = '';\"><img SRC='");
 		document.write(rootpath);
		document.write("images/equipment_off.jpg' NAME='equipment' BORDER=0 height=30 width=110></a></td></tr>");
		document.write("<tr><td><a href='");
		document.write(rootpath);
		document.write("advice.html' onMouseover=\"img_act('advice'); window.status='Advice for those owning or setting up a reef tank.'; return true\" onMouseout=\"img_inact('advice'); window.status = '';\"><img SRC='");
 		document.write(rootpath);
		document.write("images/advice_off.jpg' NAME='advice' BORDER=0 height=30 width=110></a></td></tr>");
		document.write("<tr><td><a href='");
		document.write(rootpath);
		document.write("maintenance.html' onMouseover=\"img_act('maintenance'); window.status='Reef tank maintenance procedures.'; return true\" onMouseout=\"img_inact('maintenance'); window.status = '';\"><img SRC='");
 		document.write(rootpath);
		document.write("images/maintenance_off.jpg' NAME='maintenance' BORDER=0 height=30 width=110></a></td></tr>");
		document.write("<tr><td><a href='");
		document.write(rootpath);
		document.write("links.html' onMouseover=\"img_act('links'); window.status='Useful internet links.'; return true\" onMouseout=\"img_inact('links'); window.status = '';\"><img SRC='");
 		document.write(rootpath);
		document.write("images/links_off.jpg' NAME='links' BORDER=0 height=30 width=110></a></td></tr>");
		document.write("<tr><td><a href='");
		document.write(rootpath);
		document.write("email.html' onMouseover=\"img_act('email'); window.status='Get in touch with me.'; return true\" onMouseout=\"img_inact('email'); window.status = '';\"><img SRC='");
 		document.write(rootpath);
		document.write("images/email_off.jpg' NAME='email' BORDER=0 height=30 width=110></a></td></tr>");
		document.write("</table>");
	}

	function write_text_start()
	{
		document.write("</td><td WIDTH='650'>");
	}

// End script - do not remove this line - it is here to hide the script from a nonJavaScript enabled browser -->
