function photo(object, thumbnail, photo, subject, title, desc, page) {
	this.object = object;
	this.thumbnail = thumbnail;
	this.photo = photo;
	this.subject = subject;
	this.title = title;
	this.desc = desc;
	this.page = page;
}

function title(photo)
{
	document.write('<TITLE>Christopher Morrow Photography - Portfolio - ' + photo.subject + ' - ' + photo.title + '</TITLE>');
}

function index(photo)
{
	document.write('\
<TABLE BORDER=3 CELLSPACING=0 CELLPADDING=3 COLS=1 WIDTH=220 BGCOLOR="#FFFFFF">\
<TR ALIGN=CENTER VALIGN=CENTER>\
<TD>\
<A HREF="'+photo.page+'"><IMG SRC="'+photo.thumbnail+'" BORDER=0 ALT="'+photo.title+'"></A>\
</TD>\
</TR>\
</TABLE>\
');
}

function thumbnail(photo)
{
	document.write('\
<TABLE BORDER=3 CELLSPACING=0 CELLPADDING=3 COLS=1 WIDTH=220 BGCOLOR="#FFFFFF">\
<TR ALIGN=CENTER VALIGN=CENTER>\
<TD>\
<A HREF=javascript:photopage('+photo.object+')><IMG SRC="'+photo.thumbnail+'" BORDER=0 ALT="'+photo.title+'"></A>\
</TD>\
</TR>\
</TABLE>\
');
}

function fullsize(photo)
{
	document.write('<IMG SRC="'+photo.photo+'" BORDER=0 ALT="'+photo.desc+'"></A>');
}

function footer(image)
{
	document.write('\
<CENTER>\
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=1 HEIGHT=40 WIDTH="640">\
<TR ALIGN=CENTER VALIGN=CENTER>\
<TD WIDTH="100%">\
<IMG USEMAP="#menu" SRC="images/'+image+'" BORDER=0>\
</TD>\
</TR ALIGN=CENTER VALIGN=CENTER>\
<TD WIDTH="100%" HEIGHT="10">\
<CENTER><I><FONT SIZE=2>\
Copyright 2004 - <A HREF="mailto:chris@chrismorrow.com">Christopher Morrow Photography</A><BR>\
Web Page Design by <A HREF="mailto:IceNineSW@aol.com">Ice Nine Software</A>\
</FONT></I></CENTER>\
</TD>\
</TR>\
</TABLE>\
</CENTER>\
<MAP NAME="menu">\
<AREA SHAPE="rect" COORDS="0,0,150,40" HREF="index.htm" ALT="Home">\
<AREA SHAPE="rect" COORDS="160,0,310,40" HREF="bio.htm" ALT="Bio">\
<AREA SHAPE="rect" COORDS="320,0,470,40" HREF="reviews.htm" ALT="Reviews">\
<AREA SHAPE="rect" COORDS="480,0,630,40" HREF="portfolio.htm" ALT="Portfolio">\
</MAP>\
');
}

function photopage(photo) {
	document.write('\
<HTML>\
<HEAD>\
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">\
   <META NAME="Author" CONTENT="Ice Nine Software">\
   <TITLE>Christopher Morrow Photography - Portfolio - ' + photo.subject + ' - ' + photo.title + '</TITLE>\
</HEAD>\
<BODY BGCOLOR="#E7E4E7">\
<CENTER>\
<TABLE BORDER=0 CELLSPACING=0 COLS=1 HEIGHT="50" WIDTH="640">\
<TR ALIGN=CENTER VALIGN=CENTER>\
<TD>\
<IMG SRC="images/title.gif" ALT="Christopher Morrow Photography">\
</TD>\
</TR>\
</TABLE>\
</CENTER>\
<CENTER>\
<TABLE BORDER=0 CELLSPACING=0 COLS=1 HEIGHT="380" WIDTH="640" BGCOLOR="#FFFCE8">\
<FONT SIZE=3>\
<TR ALIGN=CENTER VALIGN=CENTER>\
<TD>\
<TABLE BORDER=3 CELLSPACING=0 CELLPADDING=3 COLS=1 WIDTH=1 HEIGHT=1 BGCOLOR="#FFFFFF">\
<TR ALIGN=CENTER VALIGN=CENTER>\
<TD>\
<IMG SRC="'+photo.photo+'" BORDER=1 ALT="'+photo.desc+'">\
</TD>\
</TR>\
</TABLE>\
</TD>\
</TR>\
<TR ALIGN=CENTER VALIGN=CENTER>\
<TD>\
<I><A HREF="'+photo.page+'">Back</A></I>\
</TD>\
</TR>\
</FONT>\
</TABLE>\
</CENTER>\
');
	document.write('\
<CENTER>\
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=1 HEIGHT=40 WIDTH="640">\
<TR ALIGN=CENTER VALIGN=CENTER>\
<TD WIDTH="100%">\
<IMG USEMAP="#menu" SRC="images/menu4.gif" BORDER=0>\
</TD>\
</TR ALIGN=CENTER VALIGN=CENTER>\
<TD WIDTH="100%" HEIGHT="10">\
<CENTER><I><FONT SIZE=2>\
Copyright 2004 - <A HREF="mailto:chris@chrismorrow.com">Christopher Morrow Photography</A><BR>\
Web Page Design by <A HREF="mailto:IceNineSW@aol.com">Ice Nine Software</A>\
</FONT></I></CENTER>\
</TD>\
</TR>\
</TABLE>\
</CENTER>\
<MAP NAME="menu">\
<AREA SHAPE="rect" COORDS="0,0,150,40" HREF="index.htm" ALT="Home">\
<AREA SHAPE="rect" COORDS="160,0,310,40" HREF="bio.htm" ALT="Bio">\
<AREA SHAPE="rect" COORDS="320,0,470,40" HREF="reviews.htm" ALT="Reviews">\
<AREA SHAPE="rect" COORDS="480,0,630,40" HREF="portfolio.htm" ALT="Portfolio">\
</MAP>\
');
	document.write('\
</BODY>\
</HTML>\
');
	document.close();
}
