function DisplayTitle(oImg)
	{
	oImg.filters.item(0).apply()
	oImg.style.visibility="visible"
	oImg.filters.item(0).play()
	}

function newWindow(picturename,picwidth,picheight)
	{
	//alert(picturename);
	picheight = picheight + 75;
	picwidth = picwidth + 25;
	options='width=' + picwidth + ',height=' + picheight;
	contents=
		'<HTML><HEAD><title>Sarah Ewart</title></HEAD>' + 
		'<BODY BGCOLOR="BLACK"><img src="' + picturename + '">' + 
		'<P align=right><FORM><INPUT type=button value="Close" name="Close" onclick="javascript:window.close()"></FORM></P></BODY></HTML>';
	pictureWindow = window.open('', 'picwin',options);
	pictureWindow.document.write(contents);
	pictureWindow.focus();
	}
	
function WriteButtons()
	{
	document.writeln('<A HREF="index.htm"><IMG SRC="graphics/bk_ball.gif" BORDER=0 ALT ="Home Page"></A>');
	document.writeln('<A HREF="thumbnails_colour_js.htm"><IMG SRC="graphics/bl_ball.gif" BORDER=0 ALT="Photos: Colour"></A>');
	document.writeln('<A HREF="thumbnails_bw_js.htm"><IMG SRC="graphics/cy_ball.gif" BORDER=0 ALT="Photos: Black and White"></A>');
	document.writeln('<A HREF="thumbnails_montage_js.htm"><IMG SRC="graphics/gr_ball.gif" BORDER=0 ALT="Photos: Montage"></A>');
	document.writeln('<A HREF="thumbnails_ny_js.htm"><IMG SRC="graphics/wh_ball.gif" BORDER=0 ALT="New York"></A>');
	document.writeln('<A HREF="thumbnails_oxford_js.htm"><IMG SRC="graphics/yl_ball.gif" BORDER=0 ALT="Oxford"></A>');
	document.writeln('<A HREF="about_me_js.htm"><IMG SRC="graphics/or_ball.gif" BORDER=0 ALT="About Me"></A>');
	document.writeln('<IMG SRC="graphics/rd_ball.gif" BORDER=0>');
	document.writeln('<IMG SRC="graphics/pr_ball.gif" BORDER=0>');
	}

function WriteNavigation()
	{
document.writeln('<TABLE border=0>');
document.writeln('<TR>');
document.writeln('	<TD ALIGN=CENTER>');
document.writeln('		<A HREF="index.htm" onMouseover="document.home2.src=\'graphics/homeon.jpg\'" onMouseout="document.home2.src=\'graphics/homeoff.jpg\'"><IMG SRC="graphics/homeoff.jpg" Name="home2" BORDER=0 ALT="Home Page"></A>');
document.writeln('	</TD>');
document.writeln('	<TD ALIGN=CENTER>');
document.writeln('		<A HREF="thumbnails_colour_js.htm" onMouseover="document.colour2.src=\'graphics/colouron.jpg\'" onMouseout="document.colour2.src=\'graphics/colouroff.jpg\'"><IMG SRC="graphics/colouroff.jpg" Name="colour2" BORDER=0 ALT="Colour Photography"></A>');
document.writeln('	</TD>');
document.writeln('	<TD ALIGN=CENTER>');
document.writeln('		<A HREF="thumbnails_bw_js.htm" onMouseover="document.bw2.src=\'graphics/bwon.jpg\'" onMouseout="document.bw2.src=\'graphics/bwoff.jpg\'"><IMG SRC="graphics/bwoff.jpg" Name="bw2" BORDER=0 ALT="Black and White Photography"></A>');
document.writeln('	</TD>');
document.writeln('	<TD ALIGN=CENTER>');
document.writeln('		<A HREF="thumbnails_montage_js.htm" onMouseover="document.montage2.src=\'graphics/montageon.jpg\'" onMouseout="document.montage2.src=\'graphics/montageoff.jpg\'"><IMG SRC="graphics/montageoff.jpg" Name="montage2" BORDER=0 ALT="Montage Photography"></A>');
document.writeln('	</TD>');
document.writeln('</TR>');
document.writeln('</TABLE>');
document.writeln('<TABLE border=0>');
document.writeln('<TR>');
document.writeln('	<TD ALIGN=CENTER>');
document.writeln('		<A HREF="thumbnails_ny_js.htm" onMouseover="document.newyork2.src=\'graphics/newyorkon.jpg\'" onMouseout="document.newyork2.src=\'graphics/newyorkoff.jpg\'"><IMG SRC="graphics/newyorkoff.jpg" Name="newyork2" BORDER=0 ALT="New York Photography"></A>');
document.writeln('	</TD>');
document.writeln('	<TD ALIGN=CENTER>');
document.writeln('		<A HREF="thumbnails_oxford_js.htm" onMouseover="document.oxford2.src=\'graphics/oxfordon.jpg\'" onMouseout="document.oxford2.src=\'graphics/oxfordoff.jpg\'"><IMG SRC="graphics/oxfordoff.jpg" Name="oxford2" BORDER=0 ALT="Oxford Photography"></A>');
document.writeln('	</TD>');
document.writeln('	<TD ALIGN=CENTER>');
document.writeln('		<A HREF="about_me_js.htm" onMouseover="document.info2.src=\'graphics/infoon.jpg\'" onMouseout="document.info2.src=\'graphics/infooff.jpg\'"><IMG SRC="graphics/infooff.jpg" Name="info2" BORDER=0 ALT="Information"></A>');
document.writeln('	</TD>');
document.writeln('</TR>');
document.writeln('</TABLE>');
	}