function DrawPictureLeft(thepicture, thelink, thecomment )
{
	document.write("<center>");
	document.write("<table>");
	document.write("<tr>");
	document.write("	<td rowspan=2 align=right>");
	if(thelink!=null)
		document.write("		<a href='"+thelink+"'><img src='"+thepicture+"' border=0></a>");
	else
		document.write("		<img src='"+thepicture+"' border=0>");
	document.write("	</td>");
	document.write("	<td class=pictureleft width=30%>");
	document.write("		&nbsp;");
	document.write("	</td>");
	document.write("	<td width=20%>");
	document.write("		&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("	</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("	<td class=comment valign=top>");
	document.write(thecomment);
	document.write("	</td>");
	document.write("	<td>");
	document.write("		&nbsp;");
	document.write("	</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</center>");
}

function DrawPictureRight(thepicture, thelink, thecomment )
{
	document.write("<center>");
	document.write("<table>");
	document.write("<tr>");
	document.write("	<td width=20%>");
	document.write("		&nbsp;&nbsp;&nbsp;&nbsp;");
	document.write("	</td>");
	document.write("	<td class=pictureright width=30%>");
	document.write("		&nbsp;");
	document.write("	</td>");
	document.write("	<td rowspan=2>");
	if(thelink!=null)
		document.write("		<a href='"+thelink+"'><img src='"+thepicture+"' border=0></a>");
	else	
		document.write("		<img src='"+thepicture+"' border=0>");	
	document.write("	</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("	<td>");
	document.write("		&nbsp;");
	document.write("	</td>");
	document.write("	<td class=comment valign=top>");
	document.write(thecomment);
	document.write("	</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</center>");	
}						

// Preloading Images:
arImageSrc = new Array (
        "images/mf_home_green.gif",
        "images/mf_lexicon_green.gif",
        "images/mf_wwwlinks_green.gif",
        "images/mf_tradelist_green.gif",
        "images/mf_mailme_green.gif",
        "images/mf_mytown_green.gif",
        "images/mf_mytrains_green.gif",
        "images/mf_technic_green.gif",
        "images/mf_mycreations_green.gif",
        "images/mf_raytraced_green.gif"
    )

arImageList = new Array ();

for (counter in arImageSrc) {
    arImageList[counter] = new Image();
    arImageList[counter].src = arImageSrc[counter];
}

// Header
document.write("<title>Frank's LEGO site</title>");
document.write("<link rel=stylesheet href='lego.css' type='text/css'>");
document.write("<body bgcolor='#B70000' leftmargin=0 topmargin=0><font face=verdana>");
document.write("<center>");
document.write("<br>");
document.write("<table cellpadding=0 cellspacing=0 border=0 width=90% height=100%>");
document.write("	<tr>")
document.write("		<td background='images/borderleft.gif' width=99 valign=top>");
document.write("			<a href='index.html'><img src='images/mf_home.gif' border=0 OnMouseOver=\"this.src='images/mf_home_green.gif';\" OnMouseOut=\"this.src='images/mf_home.gif';\"></a>");
document.write("			<a href='lexicon.html'><img src='images/mf_lexicon.gif' border=0 OnMouseOver=\"this.src='images/mf_lexicon_green.gif';\" OnMouseOut=\"this.src='images/mf_lexicon.gif';\"></a>");
document.write("			<a href='links.html'><img src='images/mf_wwwlinks.gif' border=0 OnMouseOver=\"this.src='images/mf_wwwlinks_green.gif';\" OnMouseOut=\"this.src='images/mf_wwwlinks.gif';\"></a>");
document.write("			<a href='tradelist.html'><img src='images/mf_tradelist.gif' border=0 OnMouseOver=\"this.src='images/mf_tradelist_green.gif';\" OnMouseOut=\"this.src='images/mf_tradelist.gif';\"></a>");
document.write("			<a href='mailme.html'><img src='images/mf_mailme.gif' border=0 OnMouseOver=\"this.src='images/mf_mailme_green.gif';\" OnMouseOut=\"this.src='images/mf_mailme.gif';\"></a>");
document.write("		</td>");
document.write("		<td valign=top>");


