function cell_mway(name) {
	document.write("<td rowspan='2'>")
	document.write(name)
	document.write("</td>")
}

function cell_header(col_span, header) {
	document.write("<td colspan='")
	document.write(col_span)
	document.write("'><div class='list_title'>")
	document.write(header)
	document.write("</div></td>")
}

function cell_header_name(col_span, header) {
	document.write("<td colspan='")
	document.write(col_span)
	document.write("'>")
	document.write(header)
	document.write("</td>")
}

function cell_image(type, thumb, image, title) {
	document.write("<td><a href='")
	document.write(thumb)
	document.write("' onFocus='if(this.blur)this.blur();'><img src='")
	document.write(image)
	if (type == "mway") {document.write(".jpg' height='44' width='59' alt='") }
	if (type == "peop") {document.write(".jpg' height='58' width='77' alt='") }
	if (type == "sign") {document.write(".jpg' height='60' width='90' alt='") }
	if (type == "sprt") {document.write(".jpg' height='60' width='90' alt='") }
	if (type == "name") {document.write(".jpg' height='44' width='59' alt='") }
	document.write(title)
	document.write("' title='")
	document.write(title)
	document.write("' border='0' /></a></td>")
}

function cell_image_name(image) {
	document.write("<td><a href='name.htm?")
	document.write(image)
	document.write(".jpg' onFocus='if(this.blur)this.blur();'><img src='thumbs/")
	document.write(image)
	{document.write(".jpg' height='44' width='59' alt=''") }
	document.write("' border='0' /></a></td>")
}

function cell_number(number) {
	document.write("<td><font size='-2'>" + number + "</font></td>")
}

function cell_no_number() {
	document.write("<td>&nbsp;</td>")
}

function new_row() {
	document.write("</tr><tr>")
}

function cell_title(title) {
	document.write("<td>" + title + "</td>")
}

function cell_sign() {
	document.write("<td colspan='2'><a class='cut' href='../../cruising/photos/canal.htm' onFocus='if(this.blur)this.blur();'><img src='../../images/navigate/cut.gif' alt='Along the cut' title='Along the cut' border='0' height='40' width='87' /></a></td>")
}

<!-- Original:  Richard Cleaver (richard@cleaver.org.uk) -->
<!-- Web Site:  http://www.cleaver.org.uk -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Start of script -->
function floatButton () {
if (document.all) {
document.all.topButton.style.pixelTop = document.body.scrollTop;
}
else if (document.layers) {
document.topButton.top = window.pageYOffset;
}
else if (document.getElementById) {
document.getElementById('topButton').style.top = window.pageYOffset + 'px';
   }
}
if (document.all)
window.onscroll = floatButton;
else
setInterval ('floatButton()', 100);
function initButton () {
if (document.all) {
document.all.topButton.style.pixelLeft = document.body.clientWidth - document.all.topButton.offsetWidth-100;
document.all.topButton.style.visibility = 'visible';
}
else if (document.layers) {
document.topButton.left = window.innerWidth - document.topButton.clip.width - 15;
document.topButton.visibility = 'show';
}
else if (document.getElementById) {
document.getElementById('topButton').style.left = (window.innerWidth - 35) + 'px';
document.getElementById('topButton').style.visibility = 'visible';
   }
}

function open_sub_win(number) {
	window.open('pict.htm?pict_' + number + '.jpg','picture','height=600,width=600,resizeable=yes,scrollbars=yes,screenX=100,screenY=100') 
}

function write_circle(name, left, top, type, dat) {
	document.write("<area shape='circle' alt='" + name + "' title='" + name + "' coords='" + left + "," + top + ",4' href='javascript:")
	if (type == "sub") {
	document.write("open_sub_win(\"" + dat + "\")' onFocus='if(this.blur)this.blur();'>")
	}
}

function head_name(upper,lower) {
	document.write("<em>&lt;&lt;&nbsp;<a class='em' href='../../../index.html' onFocus='if(this.blur)this.blur();' target='_top'>home page</a> | <a class='em' href='../../../search/alpha.htm' onFocus='if(this.blur)this.blur();'>Search (All)</a> | <a class='em' href='../../../search/alpha_" + lower + ".htm' onFocus='if(this.blur)this.blur();'>Search (" + upper + "\'s)</a>")
	document.write("<em> or <a href='#' onClick='history.go(-1)'>back to previous page</a></em>")
	document.write("<div class='name_head'>Multiple Boat Names: " + upper + "</div>")
	document.write("<div class='place'><table border='2' width='80%'><tr>")
}


