function pagestyle()
{
document.write("	<style type='text/css'>")
document.write("		html, body {")
document.write("			margin: 0;")
document.write("		}")
document.write("		#leftcol {")
document.write("			float: left;")
document.write("			width: 150px;")
document.write("			border: #000 0px solid;")
document.write("		}")
document.write("		#main {")
document.write("			margin: 0px;")
document.write("		}")
document.write("		#centercol {")
document.write("			border: #f00 0px solid;")
document.write("			margin: 0 10px 0 160px;")
document.write("			background-color: #000;")
document.write("		}")
document.write("		#rightcol {")
document.write("			float: right;")
document.write("			width: 5px;")
document.write("			border: #000 0px solid;")
document.write("			}")
document.write("		</style>")
}

function topheading()
{
pagestyle()
document.write("<BODY BACKGROUND='")
document.write(rootlocation)
document.write(imagebackdrop)
document.write("' BGPROPERTIES='fixed'")
document.write(" NOSAVE onUnload='cleanup();'>")
if (pagename=="Home")
		{
		}
		else
		{
document.write("<TABLE BORDER="+tableborder+" WIDTH=100% CELLSPACING="+tablespacing+" CELLPADDING="+tablespacing+" >");
document.write("<TR><TD BACKGROUND='"+rootlocation+bannerback+"'><IMG SRC='")
document.write(rootlocation)
document.write(bannertop)
document.write("' HEIGHT=60></TD></TR>")
document.write("</TABLE>")
		}
document.write("<DIV ID='leftcol'>")
linkcolumnl()
document.write("</DIV>")
document.write("<DIV ID='main'>")
document.write("<DIV ID='rightcol'>")
linkcolumnr()
document.write("</DIV>")
document.write("<DIV ID='centercol'>")
}

function topheading2()
{
document.write("<BODY BACKGROUND='")
document.write(rootlocation)
document.write(imagebackdrop)
document.write("' BGPROPERTIES='fixed'")
document.write(" NOSAVE onUnload='cleanup();'>")
showsnow()
document.write("<CENTER><TABLE BORDER="+tableborder+" WIDTH="+tablewidth+" CELLSPACING="+tablespacing+" CELLPADDING="+tablepadding+" >");
document.write("<TR><TD BACKGROUND='"+rootlocation+bannerback+"'><IMG SRC='")
document.write(rootlocation)
document.write(bannertop)
document.write("' HEIGHT=150></TD></TR>")
// document.write("</TABLE>")
document.write("<TABLE BORDER="+tableborder+" WIDTH="+tablewidth+" CELLSPACING="+tablespacing+" CELLPADDING="+tablepadding+" >");
document.write("<TR><TD BGCOLOR='"+breadcrumbbackcolor+"'><FONT FACE='"+fonttype+"' COLOR='"+linkfontcolor+"'>")
// breadcrumb()
document.write("</FONT></TD></TR>")
// document.write("</TABLE>")
document.write("<TABLE BORDER="+tableborder+" WIDTH="+linkcolumnwidth+" ALIGN='LEFT' CELLSPACING="+tablespacing+" CELLPADDING="+tablespacing+">");
linkcolumnl()
document.write("</TABLE>")
document.write("<TABLE BORDER="+tableborder+" WIDTH="+linkcolumnwidth+" ALIGN='RIGHT' CELLSPACING="+tablespacing+" CELLPADDING="+tablepadding+">");
linkcolumnr()
document.write("</TABLE>")
document.write("<TABLE BORDER="+tableborder+" WIDTH="+maincolumnwidth+" CELLSPACING="+tablespacing+" CELLPADDING="+tablepadding+">");
document.write("<TR><TD>")
document.write("<FONT COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
// newslinkcolumn()
// currentdate()
document.write("</TD></TR>")
setbodyback()
if (pagename=="Home")
		{
		}
		else
		{
		document.write("<CENTER><FONT COLOR='"+fontcolor+"' SIZE=+3 FACE='"+fonttype+"'>")
		document.write(pagename)
		document.write("</FONT></CENTER>")
		}
document.write("<FONT COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
if (ns4up)
	{
	}
	else
	{
	tablestart()
	}
if (pagename=="Home")
		{
		if (sitetheme=="")
			{
			}
			else
			{
//			imagename="shared/images/library/turkey/banner_heading.jpg";
//			document.write("<IMG SRC='"+sitethemedir+"/banner_heading.jpg' WIDTH="+maincolumnwidth+"'>")
			}
		}
}

function breadcrumb()
{
document.write("<FONT COLOR='"+fontcolor+"'>")
if (pagename=="Home")
	{
	document.write("")
	}
	else
	{
	document.write("<A HREF='")
	document.write(rootlocation)
	document.write("index.html' TARGET='_top'><B>Home</B></A>")
	document.write("<FONT COLOR='"+linkfontcolor+"'>")
	document.write("<B> ")
	document.write(breadcrumbicon)
	document.write("</B> ")
	}
	if (dir10up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../../../../../../../../../../../index.html'><B>")
		document.write(dir10up)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	if (dir9up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../../../../../../../../../index.html'><B>")
		document.write(dir9up)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	if (dir8up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../../../../../../../../index.html'><B>")
		document.write(dir8up)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	if (dir7up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../../../../../../../index.html'><B>")
		document.write(dir7up)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	if (dir6up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../../../../../../index.html'><B>")
		document.write(dir6up)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	if (dir5up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../../../../../index.html'><B>")
		document.write(dir5up)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	if (dir4up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../../../../index.html'><B>")
		document.write(dir4up)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	if (dir3up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../../../index.html'><B>")
		document.write(dir3up)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	if (dir2up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../../index.html'><B>")
		document.write(dir2up)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	if (dir1up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../index.html'><B>")
		document.write(dir1up)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	if (dirindex=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='index.html'><B>")
		document.write(dirindex)
		document.write("</B></A>")
		document.write("<B> ")
		document.write(breadcrumbicon)
		document.write("</B> ")
		}
	document.write("<B>")
	document.write(pagename)
	document.write("</B>")
}

function newslinkcolumn()
{

linkcolumnhead="Whats New";	
newslinkheading()
hyperlink="people/samantha/2002-07-21/index.html";
linklabel="Some New pictures of Samantha";
linkdescribe="Some more Samantha pictures taken the past week"
linktype="1";
linkdate="7/21/02"
newslinkcolumnline()
}

function linkheading()
{
// document.write("<TR><TD BGCOLOR='#FFFFFF'><FONT COLOR='#FFFFFF'>")
document.write("<TR><TD BACKGROUND='")
document.write(rootlocation)
document.write(linkheadback)
document.write("' width="+linkcolumnwidth+">")
document.write("<FONT COLOR='"+linkheadfontcolor+"'>")
document.write("<FONT FACE='"+fonttype+"'><CENTER><B>")
document.write(linkcolumnhead)
document.write("</B></CENTER></FONT>")
document.write("</TD></TR>")
}

function newslinkheading()
{
// document.write("<TR><TD BGCOLOR='FFFFFF'><FONT COLOR='FFFFFF'>")
document.write("<TR><TD>")
document.write("<FONT COLOR='#000000'>")
document.write("<FONT FACE='"+fonttype+"'><CENTER><B>")
document.write(linkcolumnhead)
document.write("</B></CENTER></FONT>")
document.write("</TD></TR>")
}

function newslinkcolumnline()
{
testlinktype()
document.write("<TR><TD BGCOLOR='"+newstitlebackcolor+"'>")
document.write("<IMG SRC='")
document.write(rootlocation)
document.write(imageicon)
document.write("' HEIGHT="+linkiconheight+" width="+linkiconwidth+">")
document.write("<A HREF='")
document.write(rootlocation)
document.write(hyperlink)
document.write(hyperlinkextension)
document.write("'><B><FONT COLOR='"+linkfontcolor+"' SIZE=+1 FACE="+fonttype+">")
document.write(linklabel)
document.write("</B></A>")
document.write(" - ")
document.write(linkdate)
document.write("<FONT></TR><TR><TD BGCOLOR='"+newslinkbackcolor+"'>")
document.write("<FONT COLOR='"+linkfontcolor+"' SIZE=-1 FACE="+fonttype+">")
document.write(linkdescribe)
document.write("</FONT></TD></TR>")
}

function archivenewsline()
{
testlinktype()
document.write("</TD></TR><TR><TD><BR>")
document.write("<B><FONT SIZE=-1 COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
document.write(newstitle)
document.write("</B> - (")
document.write(newsdate)
document.write(")")
if (hyperlink=="")
	{
	}
	else
	{
	document.write(" - <FONT SIZE=-1 COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
	document.write("<A HREF='")
	if (linkid=="Rel")
		{
		document.write(rootlocation)
		}
	if (linkid=="Archive")
		{
		document.write(archivelocation)
		}
	document.write(hyperlink)
	document.write(hyperlinkextension)
	document.write("'>")
	document.write("{HYPERLINK}</FONT></A>")
	}
document.write("</FONT></TD></TR>")
document.write("<TR><TD>")
document.write("<FONT SIZE=-1 COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
document.write(newsdescrip)
document.write("<FONT COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
document.write("</TD></TR><TR><TD>")
}

function setbodyback()
{
document.write("<TR><TD BACKGROUND='")
document.write(rootlocation)
document.write(bodyback)
document.write("'>")
}

function runbodyback()
{
document.write("<TD BACKGROUND='")
document.write(rootlocation)
document.write(bodyback)
document.write("'>")
}

function changelinkbackcolor()
{
}

function selected()
{
document.write("")
}

function notselected()
{
document.write("bgColor='#F0F0F0'")
}

function linkcolumnline()
{
testlinktype()
if (pagename==linklabel)
	{
	document.write("<TR><TD BGCOLOR='"+linkselectedbackcolor+"' onmouseover=bgColor='"+linkselectedbackcolor+"' onmouseout=bgColor='"+linkselectedbackcolor+"'>")
	}
	else
	{
	document.write("<TR><TD BGCOLOR='"+linkbackcolor+"' onmouseover=bgColor='"+linkselectedbackcolor+"' onmouseout=bgColor='"+linkbackcolor+"'>")
	}
document.write("<A HREF='")
if (linkid=="Rel")
	{
	document.write(rootlocation)
	}
document.write(hyperlink)
document.write(hyperlinkextension)
document.write("'>")
document.write("<IMG SRC='")
document.write(rootlocation)
//if (linkid=="Abs")
// 	{
if (bulletpic=="")
	{
 	document.write(imagehtm)
	}
else
 	document.write(bulletpic)
// 	}
// else
// 	{
// 	document.write(imagelocalhtm)
// 	}
document.write("' HEIGHT="+linkiconheight+" width="+linkiconwidth+" BORDER=0>")
document.write("<B><FONT COLOR='"+linkfontcolor+"'")
document.write(" SIZE="+linkfontsize+"")
document.write(" FACE="+linkfonttype+"> ")
document.write(linklabel)
document.write("</B></A>")
document.write("</TD></TR>")
bulletpic=""
}

function linkcolumnpic()
{
testlinktype()
document.write("<TR><TD>")
if (hyperlink=="")
	{
	}
	else
	{
	document.write("<A HREF='")
if (linkid=="Rel")
	{
	document.write(rootlocation)
	}
	document.write(hyperlink)
	document.write(hyperlinkextension)
	document.write("'>")
	}
document.write("<IMG SRC='")
document.write(rootlocation)
document.write(columnimage)
document.write("' border=0 width="+linkcolumnwidth+">")
if (hyperlink=="")
	{
	}
	else
	{
	document.write("</A>")
	}
document.write("</TD></TR>")
}

function infocolumnline()
{
document.write("</TD></TR><TR><TD BGCOLOR='"+infotitlebackcolor+"'><CENTER>")
document.write("<FONT SIZE=+1 COLOR='"+infotitlefontcolor+"' FACE='"+infofont+"'>")
document.write(infotitle)
document.write("</FONT></CENTER></TD></TR>")
document.write("<TR><TD>")
document.write("<FONT COLOR='"+infodescripfontcolor+"' FACE='"+infofont+"'><B>")
document.write(infodescrip)
document.write("</B></TD></TR><TR><TD><FONT COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
defaultstyle()
}

function simpleheading()
{
// This is used for the heading of a object in a page such as a table. Not used for top of page.
tableend()
tablestart()
document.write("<TR><TD BGCOLOR='"+headbackcolor+"'><CENTER>")
document.write("<FONT COLOR='"+headfontcolor+"' FACE='"+fonttype+"' SIZE="+fontsize+">")
document.write(headlabel)
document.write("</FONT>")
document.write("</CENTER></TD></TR>")
tableend()
tablestart()
defaultstyle()
setbodyback()
nextlinkcolumn=1
}

function tablestart()
{
// Used to start a simple table
document.write("")
document.write("<TABLE WIDTH=100% CELLSPACING="+tablespacing+" CELLPADDING="+tablespacing+" >")
}

function tableborderstart()
{
// Used to start a simple table with a border
document.write("</CENTER>")
document.write("<TABLE BORDER=0 WIDTH=100% CELLSPACING="+tablespacing+" CELLPADDING="+tablespacing+" >")
}

function tableend()
{
// Used ro end a simple table.
document.write("</TABLE>")
document.write("</CENTER>")
}

function newsline()
{
testlinktype()
document.write("</TD></TR><TR><TD BGCOLOR='"+newstitlebackcolor+"'><CENTER>")
document.write("<FONT SIZE=+1 COLOR='"+newstitlefontcolor+"' FACE='"+fonttype+"'> ")
document.write(newstitle)
document.write(" - (")
document.write(newsdate)
document.write(")")
document.write("</FONT></CENTER></TD></TR>")
document.write("<TR><TD BGCOLOR='"+newsdescripbackcolor+"'>")
document.write("<FONT COLOR='"+newsdescripfontcolor+"' FACE='"+fonttype+"'><B>")
document.write(newsdescrip)
document.write("</B><FONT COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
if (hyperlink=="")
	{
	}
	else
	{
	document.write(" - <FONT SIZE=-1 COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
	document.write("<A HREF='")
	if (linkid=="Rel")
		{
		document.write(rootlocation)
		}
	if (linkid=="Archive")
		{
		document.write(archivelocation)
		}
	document.write(hyperlink)
	document.write(hyperlinkextension)
	document.write("'>")
	document.write("{HYPERLINK}</FONT></A>")
	}
document.write("</TD></TR><TR><TD>")
}

function archivenewsline()
{
testlinktype()
document.write("</TD></TR><TR><TD><BR>")
document.write("<B>")
if (imagename=="")
	{
	}
	else
	{
	document.write("<A HREF='"+imagename+"' TARGET=blank><IMG SRC='"+imagename+"' WIDTH=80></A>")
	}
document.write("<FONT SIZE=-1 COLOR='"+fontcolor+"' FACE='"+fonttype+"'> ")
document.write(newstitle)
document.write("</B> - (")
document.write(newsdate)
document.write(")")
if (hyperlink=="")
	{
	}
	else
	{
	document.write(" - <FONT SIZE=-1 COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
	document.write("<A HREF='")
	if (linkid=="Rel")
		{
		document.write(rootlocation)
		}
	if (linkid=="Archive")
		{
		document.write(archivelocation)
		}
	document.write(hyperlink)
	document.write(hyperlinkextension)
	document.write("'>")
	document.write("{HYPERLINK}</FONT></A>")
	}
document.write("</FONT></TD></TR>")
document.write("<TR><TD>")
document.write("<FONT SIZE=-1 COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
document.write(newsdescrip)
document.write("<FONT COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
document.write("</TD></TR><TR><TD>")
}

function archivenewsline2()
{
testlinktype()
document.write("</TD></TR><TR><TD><BR>")
document.write("<B><FONT SIZE=-1 COLOR='"+fontcolor+"' FACE='"+fonttype+"'> ")
document.write(newstitle)
document.write("</B> - (")
document.write(newsdate)
document.write(")")
if (hyperlink=="")
	{
	}
	else
	{
	document.write(" - <FONT SIZE=-1 COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
	document.write("<A HREF='")
	if (linkid=="Rel")
		{
		document.write(rootlocation)
		}
	if (linkid=="Archive")
		{
		document.write(archivelocation)
		}
	document.write(hyperlink)
	document.write(hyperlinkextension)
	document.write("'>")
	document.write("{HYPERLINK}</FONT></A>")
	}
document.write("</FONT></TD></TR>")
document.write("<TR><TD>")
document.write("<FONT SIZE=-1 COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
document.write(newsdescrip)
document.write("<FONT COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
document.write("</TD></TR><TR><TD>")
}

function pictureline()
{
tablestart()
document.write("<TR><IMG SRC='")
document.write(pagefilescheme)
document.write("_")
document.write(pictureid)
document.write(".jpg'></TR><TR>")
document.write(picturecaption)
document.write("</TR>")
tableend()
}

function pageend()
{
document.write("<TR><TD BGCOLOR='FFFFC0'>")
document.write("<FONT COLOR='"+fontcolor+"' FACE='"+fonttype+"' SIZE=-1>")
document.write("Original copies of pictures on this site can be emailed upon request, just let me know where to email the picture and the file name of the picture requested.")
document.write("</FONT>")
document.write("</TD></TR>")
defaultstyle()
document.write("</FONT></TD></TR><TR><TD WIDTH=50>")
document.write("<IMG SRC='"+rootlocation+"shared/images/misc/ribbon_small.gif'>")
document.write("</TD><TD>")
document.write("<HR>")
document.write("<B>Eric Schroeder</B><BR>")
document.write("<FONT SIZE=-1><A HREF='mailto:eekers@mybfe.com'>eekers@mybfe.com</A></FONT><BR>")
document.write("<B>Tanya Schroeder</B><BR>")
document.write("<FONT SIZE=-1><A HREF='mailto:tanya@mybfe.com'>tanya@mybfe.com</A></FONT><BR>")
document.write("<HR>")
document.write("<TR><TD BGCOLOR='FFFFC0'>")
document.write("<FONT COLOR='"+fontcolor+"' FACE='"+fonttype+"' SIZE=-1>")
document.write("This website was designed, created, and maintained completely by <A HREF='mailto:eekers@mybfe.com'>Eric Schroeder</A>. The website was designed using Wordpad and Notepad and was designed for people using Internet Explorer 4+ and Netscape 4.08+. The website is almost entirely driven from Javascript and HTML. The webpages are best viewed when the 'web browser' is maximized on the screen. The pages on this site are updated on Sunday evenings and 'New' links can be accessed at the top of every page for 1 week from the time it was added. ")
document.write("</FONT>")
document.write("</TD></TR>")
document.write("<TR><TD>")
document.write("</FONT><HR>")
document.write("</TD></TR>")
document.write("</TABLE>")
}

function currentdate()
{
document.write("<TR><TD>")
mydate=new Date()
year=mydate.getYear()
if (year < 1000)
year+=1900
day=mydate.getDay()
month=mydate.getMonth()
mymonth=mydate.getMonth()
daym=mydate.getDate()
if (daym<10)
daym="0"+daym
dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
document.write("<small><FONT ")
document.write("face='Tahoma' SIZE=+1><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</b></font></small>")
//document.write("</TD></TR>")
dayalertmessage=""
// January
if (montharray[month] == "April" && daym == 27)
{
dayalertmessage="Happy Birthday Samantha"
}
if (dayalertmessage=="")
{
}
else
{
document.write("<FONT SIZE=+2 COLOR='"+dayalertcolor+"' FACE='Tahoma'> - "+dayalertmessage+"</FONT></TD></TR>")
}
}

function eventline()
{

document.write("<CENTER>")
document.write("<TABLE BORDER WIDTH='"+maincolumnwidth+"'><TR><TD>")
document.write("<CENTER><FONT SIZE='"+fontsize+"' TYPE='"+fonttype+"' COLOR='"+fontcolor+"'>")
document.write(eventhead)
document.write("</FONT></CENTER><FONT TYPE='"+fonttype+"'>")
document.write("<B>Date</B> - <FONT COLOR='"+fontcolor+"'>")
if (definitedate=="No")
{
document.write("<I>Approx Date</I> - ")
}
else
{
document.write("")
}
document.write(eventdate)
document.write("</FONT><BR>")
document.write("<B>Location</B> - <FONT COLOR='"+fontcolor+"'>")
document.write(eventlocation)
document.write("</FONT><BR>")
document.write("<B>Time</B> - <FONT COLOR='"+fontcolor+"'>")
document.write(eventtime)
document.write("</FONT><BR>")
document.write("<B>Side of Family</B> - <FONT COLOR='"+fontcolor+"'>")
document.write(familyside)
document.write("</FONT><HR>")
document.write(eventtext)
document.write("<BR><BR>")
document.write("</TD></TR></TABLE></CENTER><BR>")
}

function underconstruction()
{
document.write("<CENTER><IMG SRC='")
document.write(rootlocation)
document.write(constructpic)
document.write("'></CENTER><BR>")
document.write("<CENTER><IMG SRC='")
document.write(rootlocation)
document.write(constructpic2)
document.write("'><IMG SRC='")
document.write(rootlocation)
document.write(constructpic2)
document.write("'><IMG SRC='")
document.write(rootlocation)
document.write(constructpic2)
document.write("'><BR></CENTER>")
document.write("<CENTER><IMG SRC='")
document.write(rootlocation)
document.write(constructpic)
document.write("'></CENTER>")
}

function cleanup()
{
if(loginWin && !loginWin.closed)
loginWin.close();               
}       

function defaultstyle()
{
document.write("</FONT><FONT FACE='"+fonttype+"' COLOR='"+fontcolor+"'>")
}

function largefontstyle()
{
document.write("</FONT><FONT SIZE='"+largefontsize+"' FACE='"+largefonttype+"' COLOR='"+fontcolor+"'>")
}

function simpleline()
{
document.write("<TR><TD>")
document.write("<FONT ")
document.write("COLOR='"+fontcolor+"' ")
document.write("FACE='"+fonttype+"'>")
document.write(simpletext)
document.write("</FONT><BR>")
document.write("</TD></TR>")
}

function showsnow()
{
if (runsnoweffect=="Yes")
{
	snow()
	testsnow()
}
else
	{
	}
}

function snow()
{  
	ns4up = (document.layers) ? 1 : 0;  // browser sniffer
	ie4up = (document.all) ? 1 : 0;

	dx = 0
	xp = 0
	yp = 0
// coordinate and position variables
	am = 0
	stx = 0
	sty = 0
// amplitude and step variables
	i = 0
	doc_width = 800
	doc_height = 600;
  
  if (ns4up) {
    doc_width = self.innerWidth;
    doc_height = self.innerHeight;
  } else if (ie4up) {
    doc_width = document.body.clientWidth;
    doc_height = document.body.clientHeight;
  }

  dx = new Array();
  xp = new Array();
  yp = new Array();
  am = new Array();
  stx = new Array();
  sty = new Array();
  
  for (i = 0; i < snowpicsno; ++ i) {  
    dx[i] = 0;                        // set coordinate variables
    xp[i] = Math.random()*(doc_width-50);  // set position variables
    yp[i] = Math.random()*doc_height;
    am[i] = Math.random()*20;         // set amplitude variables
    stx[i] = 0.02 + Math.random()/10; // set step variables
    sty[i] = 0.7 + Math.random();     // set step variables
    if (ns4up) {                      // set layers
      if (i == 0) {
        document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><a href=\"http://dynamicdrive.com/\"><img src='"+rootlocation+""+snowpic+"' border=\"0\"></a></layer>");
      } else {
        document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+rootlocation+""+snowpic+"' border=\"0\"></layer>");
      }
    } else if (ie4up) {
      if (i == 0) {
        document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+rootlocation+""+snowpic+"' border=\"0\"></a></div>");
      } else {
        document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+rootlocation+""+snowpic+"' border=\"0\"></div>");
      }
   }
 }
}
  
function snowNS() {  // Netscape main animation function
    for (i = 0; i < snowpicsno; ++ i) {  // iterate for every dot
      yp[i] += sty[i];
      if (yp[i] > doc_height-50) {
        xp[i] = Math.random()*(doc_width-am[i]-30);
        yp[i] = 0;
        stx[i] = 0.02 + Math.random()/10;
        sty[i] = 0.7 + Math.random();
        doc_width = self.innerWidth;
        doc_height = self.innerHeight;
      }
      dx[i] += stx[i];
      document.layers["dot"+i].top = yp[i];
      document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
    }
    setTimeout("snowNS()", 10);
}

function snowIE() {  // IE main animation function
    for (i = 0; i < snowpicsno; ++ i) {  // iterate for every dot
      yp[i] += sty[i];
      if (yp[i] > doc_height-50) {
        xp[i] = Math.random()*(doc_width-am[i]-30);
        yp[i] = 0;
        stx[i] = 0.02 + Math.random()/10;
        sty[i] = 0.7 + Math.random();
        doc_width = document.body.clientWidth;
        doc_height = document.body.clientHeight;
      }
      dx[i] += stx[i];
      document.all["dot"+i].style.pixelTop = yp[i];
      document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
    }
setTimeout("snowIE()", 10);
}

function testsnow()
{
  if (ns4up) {
    snowNS();
  } else if (ie4up) {
    snowIE();
  }
}

function countdowntodate()
{
var before="Tanya has the Baby"
var current="She should be born"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdown(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)
weeksleft=(Math.round((difference/7)+.49))
weeksalong=40-weeksleft
if (difference==0)
document.write(current)
else if (difference>0)
document.write("<HR><B><I><FONT COLOR='red' SIZE=+1>Only "+difference+" days until "+before)
document.write("</B></I></FONT><HR>")
document.write("<B><I><FONT COLOR='red' SIZE=+1>")
document.write("<A HREF='http://www.babycenter.com/mybabycenter/1")
document.write(weeksalong)
document.write(".html'>")
document.write(weeksalong)
document.write("</A>")
document.write(" weeks pregant and "+weeksleft+" weeks until "+before)
document.write("</B></I></FONT><BR>")
document.write("<A HREF='http://www.babycenter.com/mybabycenter/1")
document.write(weeksalong)
document.write(".html'><FONT SIZE=-1>Babycenter.com</A> information<HR></FONT>")
}
//enter the count down date using the format year/month/day
countdown(2004,04,22)
}

function countdowntodatelexi()
{
var before="Alexis has the Baby"
var current="She should be born"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdownlexi(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)
weeksleft=(Math.round((difference/7)+.49))
weeksalong=40-weeksleft
if (difference==0)
document.write(current)
else if (difference>0)
document.write("<HR><B><I><FONT COLOR='red' SIZE=-1>Only "+difference+" days until "+before)
document.write("</B></I></FONT><HR>")
document.write("<B><I><FONT COLOR='red' SIZE=-1>")
document.write("<A HREF='http://www.babycenter.com/mybabycenter/1")
document.write(weeksalong)
document.write(".html'>")
document.write(weeksalong)
document.write("</A>")
document.write(" weeks pregant and "+weeksleft+" weeks until "+before)
document.write("</B></I></FONT><BR>")
document.write("<A HREF='http://www.babycenter.com/mybabycenter/1")
document.write(weeksalong)
document.write(".html'><FONT SIZE=-1>Babycenter.com</A> information<HR></FONT>")
}
//enter the count down date using the format year/month/day
countdownlexi(2004,04,11)
}

function digitalpic()
{
document.write("<IMG SRC='")
document.write(digpicname)
document.write("' WIDTH="+picturesize+"><FONT COLOR='"+fontcolor+"'><BR>")
document.write(digpicname)
document.write("</FONT><BR><P>")
}

function linkline()
{
testlinktype()
if (linkid=="archive")
{
	linklocation=archivelocation
}
if (linkid=="Rel")
{
	linklocation=""
}
if (linkid=="Abs")
{
	linklocation=""
}
if (linkid=="automatic")
{
	linklocation=""
}
document.write("</TD><TD BGCOLOR="+linklinebackcolor+" onmouseover=bgColor='"+linkselectedbackcolor+"' onmouseout=bgColor='"+linklinebackcolor+"'><A HREF='")
document.write(hyperlink)
document.write(hyperlinkextension)
document.write("'></FONT><FONT COLOR=000000 FACE='Arial' SIZE=+2>")
document.write(linklabel)
document.write("<BR></FONT><FONT COLOR=000000 SIZE=-1>")
document.write(hyperlink)
document.write(hyperlinkextension)
document.write("</A></FONT><HR><FONT COLOR=000000 FACE='"+fonttype+"' SIZE=-1>")
document.write(linkdescribe)
document.write("</FONT>")

if (nextlinkcolumn == maxlinkcolumn)
	{
	document.write("</TD></TR><TR><TD>")
	nextlinkcolumn=1
	}
else
	{
	document.write("</TD><TD>")
	nextlinkcolumn=nextlinkcolumn + 1
	}
defaultstyle()
}

function multilinkline()
{
testlinktype()
document.write("</TD>")
// runbodyback()
document.write("<TD BACKGROUND='"+rootlocation+bodyback+"'>")
if (linkid=="archive")
{
	linklocation=archivelocation
}
if (linkid=="Rel")
{
	linklocation=""
}
if (linkid=="Abs")
{
	linklocation=""
}
if (linkid=="automatic")
{
	linklocation=""
}
document.write("<IMG SRC='")
document.write(rootlocation)
document.write(imageicon)
document.write("' HEIGHT="+iconheight+" width="+iconwidth+" ALIGN=LEFT onmouseover=src='"+rootlocation+imagepick+"' onmouseout=src='"+rootlocation+imageicon+"'>")
document.write("<A HREF='")
if (linkid=="Rel")
{
document.write(rootlocation)
}
document.write(linklocation)
document.write(hyperlink)
document.write(hyperlinkextension)
document.write("'></FONT><FONT FACE='"+fonttype+"' SIZE=+1>")
document.write(linklabel)
document.write("</A></FONT><BR><FONT FACE='"+fonttype+"' SIZE=-1 COLOR='"+fontcolor+"'><B>")
document.write(linkdescribe)
document.write("</B></FONT>")

if (nextlinkcolumn == maxlinkcolumn)
	{
	document.write("</TD></TR><TR><TD>")
	nextlinkcolumn=1
	}
else
	{
	document.write("</TD><TD>")
	nextlinkcolumn=nextlinkcolumn + 1
	}
defaultstyle()

}

function testpicturesize()
{
if (albumpictureshape=="wide")
	{
	document.write(" WIDTH='"+picturesize+"'")
	}
if (albumpictureshape=="tall")
	{
	document.write(" HEIGHT='"+picturesize+"'")
	}
}

function albumwindow()
{
albumwin=window.open(rootlocation+loading,'Links','height=500,width=500,resizable=no,scrollbars=no,dependent=yes,screenX=50,screenY=50,left=50,top=150');
//albumwin.focus();  //this will bring the window to the front  
}

function albumpicturecell()
{
//	document.write("<A HREF='"+albumpicture+"' BORDER=0 ONCLICK='albumwindow()' TARGET='Links'>")
	document.write("<CENTER><IMG SRC='"+albumpicture+"' ")
	testpicturesize()
	document.write(">")
//	document.write("</A>")
	document.write("</CENTER></TD><TD>")
}

function albumline()
{
document.write("<TABLE WIDTH='"+maincolumnwidth+"' BORDER="+tableborder+"><TR><TD>")
if (albumpictureside=="left")
	{
	albumpicturecell()
	}
document.write("<FONT SIZE="+largefontsize+">")
document.write(albumpicturecaption)
document.write("<BR><FONT SIZE=-2>Filename:</FONT><FONT COLOR=BLUE SIZE=-1><B>"+albumpicture+"</B></FONT>")
document.write("</FONT></TD><TD>")
if (albumpictureside=="right")
	{
	albumpicturecell()
	}
document.write("</TD></TR></TABLE>")
}

function setupcookie()
{
<!--
// Copyright (c) 1996-1997 Tomer Shiran. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.geocities.com/~yehuda/

// Boolean variable specified if alert should be displayed if cookie exceeds 4KB
var caution = false

// name - name of the cookie
// value - value of the cookie
// [expires] - expiration date of the cookie (defaults to end of current session)
// [path] - path for which the cookie is valid (defaults to path of calling document)
// [domain] - domain for which the cookie is valid (defaults to domain of calling document)
// [secure] - Boolean value indicating if the cookie transmission requires a secure transmission
// * an argument defaults when it is assigned null as a placeholder
// * a null placeholder is not required for trailing omitted arguments
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "")
if (!caution || (name + "=" + escape(value)).length <= 4000)
document.cookie = curCookie
else
if (confirm("Cookie exceeds 4KB and will be cut!"))
document.cookie = curCookie
}

// name - name of the desired cookie
// * return string containing value of specified cookie or null if cookie does not exist
function getCookie(name) {
var prefix = name + "="

var cookieStartIndex = document.cookie.indexOf(prefix)
if (cookieStartIndex == -1)
return null
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
if (cookieEndIndex == -1)
cookieEndIndex = document.cookie.length
return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
}

// name - name of the cookie
// [path] - path of the cookie (must be same as path used to create cookie)
// [domain] - domain of the cookie (must be same as domain used to create cookie)
// * path and domain default if assigned null or omitted if no explicit argument proceeds
function deleteCookie(name, path, domain) {
if (getCookie(name)) {
document.cookie = name + "=" + 
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
"; expires=Thu, 01-Feb-70 00:00:01 GMT"
}
}

// date - any instance of the Date object
// * you should hand all instances of the Date object to this function for "repairs"
// * this function is taken from Chapter 14, "Time and Date in JavaScript", in "Learn Advanced JavaScript Programming"
function fixDate(date) {
var base = new Date(0)
var skew = base.getTime()
if (skew > 0)
date.setTime(date.getTime() - skew)
}

var now = new Date()
fixDate(now)
now.setTime(now.getTime() + 31 * 24 * 60 * 60 * 1000)
var name = getCookie("name")
if (!name)
name = prompt("Please enter your name:", "John Doe")
setCookie("name", name, now)
document.write("Welcome " + name + "!")
//-->
}

function eventicon()
{
document.write("<TD WIDTH=500 BGCOLOR='"+thismontheventbackcolor+"'>")
if (eventtype == "")
{
}
else
{
document.write("<IMG SRC='"+calanderpic+eventtype+".gif' WIDTH=25>")
}
}

function eventmessageline()
{
eventicon()
document.write("<B><FONT SIZE=+1 COLOR='"+dayalertcolor+"' FACE='Tahoma'>"+montharray[month]+" "+eventdate+" - ")
if (eventhyperlink == "")
{
}
else
{
document.write("<A HREF='"+eventhyperlink+"'>")
}
document.write(eventmessage)
if (eventhyperlink == "")
{
}
else
{
document.write("</A>")
}
document.write("</FONT></B>")
if (eventyear == "")
{
}
else
{
totalyears = year-eventyear
document.write("<B><FONT SIZE=-1> {"+totalyears+" Years}</FONT></B>")
}
if (eventemail == "")
{
}
else
{
document.write("<B><FONT SIZE=-1 FACE='Tahoma'> - <A HREF='mailto:"+eventemail+"'>{EMAIL a message}</A></FONT></B>")
}
eventdatetest=""
eventyear=""
eventtype=""
eventemail=""
eventhyperlink=""
document.write("</TR><TR>")
}

function cornerclock()
{
document.write("<span id='liveclock' style='position:absolute;left:0;top:0;'></span>")
}

function autoimageline()
{
tableend()
tablestart()
document.write("<TR><TD>")
autoimagesize=maincolumnwidth*(autoimagescale/100)
document.write("<CENTER>")
if (hyperlink == "")
{
}
else
{
document.write("<A HREF='"+hyperlink+"'>")
}
document.write("<IMG SRC='"+imagename+"' WIDTH="+autoimagesize+"'>")
textcolumnsize=((99-autoimagescale)/100)*maincolumnwidth
if (hyperlink == "")
{
}
else
{
document.write("</A>")
}
document.write("</TD><TD WIDTH="+textcolumnsize+">")
document.write("<CENTER></FONT><FONT SIZE=+2>"+imagetitle+"</FONT></CENTER><FONT SIZE=+1><HR>"+imagedescription+"")
document.write("<HR>")
document.write("<FONT SIZE=-2>Filename:</FONT><FONT COLOR=BLUE SIZE=-1><B>"+imagename+"</B></FONT></CENTER>")
document.write("</TD></TR>")
autoimagescale=100
tableend()
tablestart()
}

function multipicturewindow()
{
multipicwin=window.open(rootlocation+loading,'Links','height=multipicturewindowheight,width=multipicturewindowwidth,resizable=no,scrollbars=yes,dependent=yes,screenX=50,screenY=50,left=50,top=150');
//albumwin.focus();  //this will bring the window to the front  
}

function multipicturecell()
{
	document.write("<A HREF='"+imagename+".jpg' BORDER=0 ONCLICK='multipicwindow()' TARGET='Links'>")
	document.write("<CENTER><IMG SRC='"+imagename+".jpg' border=0 ")
	testmultipicturesize()
	document.write(">")
	document.write("</A>")
	document.write("</CENTER></TD><TD>")
}

function multipictureline()
{
// document.write("<TABLE WIDTH='"+maincolumnwidth+"' BORDER="+tableborder+"><TR><TD>")
if (pictureside=="left")
	{
	multipicturecell()
	}
document.write("<FONT SIZE=+2>")
document.write(picturecaption)
document.write("</FONT></TD><TD>")
if (pictureside=="right")
	{
	picturecell()
	}

if (nextlinkcolumn == maxlinkcolumn)
	{
	document.write("</TD></TR><TR><TD>")
	nextlinkcolumn=1
	}
else
	{
	document.write("</TD><TD>")
	nextlinkcolumn=nextlinkcolumn + 1
	}
}

function testmultipicturesize()
{
if (multipictureshape=="wide")
	{
	document.write(" WIDTH='"+multipicturesize+"'")
	}
if (multipictureshape=="tall")
	{
	document.write(" HEIGHT='"+multipicturesize+"'")
	}
}

function linksentence()
{
testlinktype()
tableend()
tablestart()
document.write("<TD>")
document.write("<FONT SIZE=-1><B>")
document.write(prelinktext)
document.write("<A HREF='")
document.write(hyperlink)
document.write(hyperlinkextension)
document.write("'>")
document.write(hyperlinklabel)
document.write("</A>")
document.write(postlinktext)
document.write("</B></TD>")
}

function pageend()
{
document.write("<HR>")
document.write("</TABLE></CENTER></CENTER>")
document.write("<P><FONT SIZE=-2>This Page was created by<BR></FONT><A HREF='http://www.pcgeeks4u.com' TARGET='_top'>")
document.write("<FONT SIZE=+1 FACE='Tahoma'>PCGeeks4U.com</FONT></A>")
}

function downloadrow()
{
if (nextlinkcolumn == 0)
	{
	document.write("<TR>")
	nextlinkcolumn=1
	}
document.write("<TD WIDTH=50><IMG SRC='")
document.write(rootlocation)
if (downloadtype=="picture")
{
document.write(picturepic)
}
if (downloadtype=="audio")
{
document.write(audiopic)
}
if (downloadtype=="movie")
{
document.write(moviepic)
}
document.write("' WIDTH=50></TD><TD><A HREF='")
document.write(downloadlink)
document.write("'><FONT SIZE=+2>")
document.write(downloadname)
document.write("</A></FONT><BR><FONT SIZE=-1>")
document.write(downloaddescription)
// document.write("</TD></TR>")
if (nextlinkcolumn == maxlinkcolumn)
	{
	document.write("</TD></TR>")
	nextlinkcolumn=0
	}
else
	{
	document.write("</TD>")
	nextlinkcolumn=nextlinkcolumn + 1
	}
}

function monthheader()
{
document.write("<IMG SRC='spacer.jpg' WIDTH=40 HEIGHT=9><FONT COLOR='FFFFFF' SIZE=+2 FACE='Arial Black'>"+monthlabel+"</FONT><IMG SRC='spacer.jpg' WIDTH=300 HEIGHT=9><P>")
}

function event()
{
document.write("<FONT COLOR='FFFFFF' FACE='Arial'><LI>"+event+"</FONT><P>")
}