<!-- //

function goThere(form) {
var navIndex=form.myPages.selectedIndex;
location=form.myPages.options[navIndex].value
}

function menu()
{
document.writeln("<table border=0 width='100%' bgcolor=#9bbad6 cellspacing=0 cellpadding=0>");
document.writeln("  <tr>");
document.writeln("    <td class=nav2 width=180 height=35>The Hazmat 101 Web<SUP><SMALL>TM</SMALL></SUP></td>");
document.writeln("    <td class=nav2 width=250 height=35 valign=middle><img src='byprokopis.gif' alt='By Prokopis A. Christou, PE' width='212' height=22></td>");
document.writeln("    <td class=nav2 width=250 height=35 valign=middle>");
document.writeln("<a href='index.html'>Home</a>  |  ");
document.writeln("<a href='archives.html'>Hazmat 101 News<SUP><SMALL>TM</SMALL></SUP></a>  |  ");
document.writeln("<a href='files.html'>Files</a>");
document.writeln("    </td>");
document.writeln("  </tr>");
document.writeln("</table>");

return;
}

function footer() {
//	document.writeln("<br><p align=center><img src='http://cgibin.erols.com/cgi-bin/Count.cgi?df=prokopismaincount&ft=0&tr=N&dd=B&md=6&st=500'></p>");
	document.writeln("<p>&nbsp;</p><p>&nbsp;</p>");
	document.writeln("<p align=center><a href='copyright.html'>Copyright</a> &copy 1998--2009 The Hazmat 101 List &nbsp;&nbsp;|&nbsp;&nbsp;<a href='copyright.html'>Terms of Use</a></p>");
	return;
}

function maximizeWin() {
  if (window.screen) {
    var aw = screen.availWidth;
    var ah = screen.availHeight;
    window.moveTo(0, 0);
    window.resizeTo(aw, ah);
  }
}


// Routine for popup windows with title, size, background colour, resizable, scrollbars and menubar parameter (8 parameters)
browser = navigator.appName;
version = navigator.appVersion;

function browser_caution() {
if (version.substring(0,1)<4) {
document.write('<font size="+1" color="#FF0000"><b>Caution:<\/b> You are running ' + browser + ' version ' + version.substring(0,3) +
' and many browsers lower than Version 4 do not support the JavaScript which provides the Popup images when you click on the thumbnails on this page.</font><p>') 
}
if ( (navigator.userAgent.indexOf("MSIE") != -1) && (navigator.userAgent.indexOf("Mac") != -1) ) {document.write('<font size="+1" color="#FF0000"><b>Caution: Apple Users<\/b> - Please do no close Popup Windows containing the larger images you get by clicking on icons, they will be closed automatically when you leave this page. If you close them you may need to refresh the page.<\/font><p>')
}
}
var newwindow;
var wheight = 0, wwidth = 0;

function popitup5(url, title, iwidth, iheight, colour, tresizable, tscrollbars, tmenubar,tCloseButton,tMaxButton) {
var pwidth, pheight;

if ( !newwindow || newwindow.closed ) {
	pwidth=iwidth+30;
	pheight=iheight+60;
	newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',resizable=' +tresizable +',scrollbars=' +tscrollbars +',menubar=' +tmenubar +',top=50,left=10');
	wheight=iheight;
	wwidth=iwidth;
}
 
if (wheight!=iheight || wwidth!=iwidth ) {
	pwidth=iwidth+30;
	pheight=iheight+60;
	if (version.substring(0,1)>3) { 	// check browser v4+ supporting JavaScript 1.2	
		newwindow.resizeTo(pwidth, pheight);
	}
	wheight=iheight;
	wwidth=iwidth;
}

newwindow.document.clear();
newwindow.focus();
newwindow.document.writeln('<html> <head> <title>' + title + '<\/title>');

if (tMaxButton=='max') {
	newwindow.document.writeln('<script type=\'text\/javascript\' language=\'Javascript\' src=\'menu.js\'>');
	newwindow.document.writeln('</script>');
}

newwindow.document.writeln(' <\/head> <body bgcolor= \"' + colour + '\"> <center>');
if (tCloseButton=='close') {
	newwindow.document.writeln('<FORM><INPUT TYPE=button VALUE=\"Close Window\" onClick=\'window.close()\'></FORM>');
}
if (tMaxButton=='max') {
	newwindow.document.writeln('<FORM><INPUT TYPE=button VALUE=\"Maximize\" onClick=\'maximizeWin()\'></FORM>');
}

newwindow.document.writeln('<img src=' + url + '>');
newwindow.document.writeln('<\/center> <\/body> <\/html>');
newwindow.document.close();
newwindow.focus();
}

//Routines to tidy up popup windows when page is left
function tidyh() {
if (newwindow && !newwindow.closed) { newwindow.close(); }
}
function tidy5() {
tidyh();
fbtidy();
}

//Routines specifically for popup feedback windows
var fbwindow
function fbpopitup(url) {
if (fbwindow && !fbwindow.closed) 
	{ fbwindow.location.href = url; fbwindow.focus(); } 
else 
	{ fbwindow=window.open(url,'fhtmlname','width=520,height=420,resizable=1,scrollbars=1,top=50,left=10'); }
}
function fbtidy(){
if (fbwindow && !fbwindow.closed) {fbwindow.close(); } }
/*
Sample routines for basic popup windows calling new routine in popup.js which can be copied into pages
	function popitup(url) { popitup5(url , 'Digital Image 384x288', 384, 288, 'white') }
	function ppopitup(url) { popitup5(url , 'Photographic Image 400x267', 400, 267, 'white') }
	function vpopitup(url) { popitup5(url , 'Digital Image 288x384', 288, 384, 'white') }
	function pvpopitup(url) { popitup5(url , 'Photographic Image 267x400', 267, 400, 'white') }
	function tidy() {tidy5() }
*/
// Based on JavaScript provided by Peter Curtis at www.pcurtis.com


//-->
