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 0px 0 150px;")
document.write("			background-color: #ffffff;")
document.write("		}")
document.write("		#rightcol {")
document.write("			float: right;")
document.write("			width: 0px;")
document.write("			border: #000 0px solid;")
document.write("			}")
document.write("		</style>")
}

function topheading3()
{
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+"'><A HREF='"+rootlocation+"index.html'><IMG SRC='")
document.write(rootlocation)
document.write(bannertop)
document.write("' HEIGHT=75></A></TD></TR>")
document.write("</TABLE>")
document.write("<DIV ID='leftcol'>")
menu()
// linkcolumnl()
document.write("</DIV>")
document.write("<DIV ID='main'>")
document.write("<DIV ID='rightcol'>")
// linkcolumnr()
document.write("</DIV>")
document.write("<DIV ID='centercol'>")
}

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+"'><A HREF='"+rootlocation+"index.html'><IMG SRC='")
document.write(rootlocation)
document.write(bannertop)
document.write("' HEIGHT=75 BORDER=0></A></TD></TR>")
document.write("</TABLE>")
document.write("<DIV ID='leftcol'>")
menu()
// 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("<META NAME='keywords' CONTENT='"+keywords+"'>")
document.write("<BODY BACKGROUND='")
document.write(rootlocation)
document.write(imagebackdrop)
document.write("' BGPROPERTIES='fixed'")
document.write(" NOSAVE onUnload='cleanup();'>")
showsnow()
if (pagename=="Home")
		{
		}
		else
		{

document.write("<TABLE BORDER="+tableborder+" WIDTH="+tablewidth+" CELLSPACING="+tablespacing+" CELLPADDING="+tablespacing+" >");
document.write("<TR><TD BACKGROUND='"+rootlocation+bannerback+"'><IMG SRC='")
document.write(rootlocation)
document.write(bannertop)
document.write("' HEIGHT=75></TD></TR>")
document.write("</TABLE>")
document.write("<TABLE BORDER="+tableborder+" WIDTH="+tablewidth+" CELLSPACING="+tablespacing+" CELLPADDING="+tablespacing+" >");
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+">");
linkcolumn()
document.write("</TABLE>")
document.write("<TABLE BORDER="+tableborder+" WIDTH="+maincolumnwidth+" CELLSPACING="+tablespacing+" CELLPADDING="+tablespacing+">");
document.write("<TR><TD>")
document.write("<FONT COLOR='"+fontcolor+"' FACE='"+fonttype+"'>")
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='"+breadcrumbfontcolor+"'>")
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='"+breadcrumbfontcolor+"'>")
	document.write("<B> ")
	document.write(breadcrumbicon)
	document.write("</B> ")
	}
	if (dir10up=="")
		{
		document.write("")
		}
		else
		{
		document.write("<A HREF='../../../../../../../../../../../'><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='../../../../../../../../../'><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='../../../../../../../../'><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='../../../../../../../'><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='../../../../../../'><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='../../../../../'><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='../../../../'><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='../../../'><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='../../'><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='../'><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='default.htm'><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 linkcolumnline()
{
testlinktype()
if (pagename==linklabel)
	{
	document.write("<TR><TD BGCOLOR='"+linkselectedbackcolor+"'>")
	}
	else
	{
	document.write("<TR><TD 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)
document.write(imagehtm)
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>")
}

function linkcolumnpic()
{
testlinktype()
document.write("<TR><TD>")
if (hyperlink=="")
	{
	}
	else
	{
	document.write("<A HREF='")
	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.
document.write("<IMG SRC='"+rootlocation+"shared/images/misc/divide.jpg' HEIGHT=2 WIDTH=100%>")
document.write("<DIV STYLE='width: 100%;' display: block;>")
document.write("<FONT COLOR='800000' FACE='Arial Black' SIZE=+2>")
document.write(headlabel)
document.write("</FONT>")
document.write("</CENTER></DIV>")

}

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

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

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

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 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()
{
tableend()
tablestart()
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:eric@pcgeeks4u.com'>eric@pcgeeks4u.com</A></FONT><BR>")
// document.write("<HR>")
// tableend()
// tablestart()
// 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:schroeder@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.")
// document.write("</FONT>")
// document.write("</TD></TR>")
// tableend()
// tablestart()
// document.write("<TR><TD>")
// document.write("</FONT><HR>")
// document.write("</TD></TR>")
// document.write("</TABLE>")
}

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 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+"><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("</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()
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>")
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 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("</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><BR>")
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><BR></TD>")
}

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=200,width=350,resizable=no,scrollbars=tno,dependent=yes,screenX=50,screenY=50,left=50,top=150');
//albumwin.focus();  //this will bring the window to the front  
}

function picturecell()
{
// 	document.write("<A HREF='"+imagename+".html' BORDER=0 ONCLICK='albumwindow()' TARGET='Links'>")
// 	document.write("<CENTER><IMG SRC='"+rootlocation+imagehtm+".gif'")
//	testpicturesize()
// 	document.write(">")
// 	document.write("</A>")
// 	document.write("</CENTER></TD><TD>")
}

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 pictureline()
{
// document.write("<TABLE WIDTH='"+maincolumnwidth+"' BORDER="+tableborder+"><TR><TD>")
// if (pictureside=="left")
// 	{
// 	picturecell()
// 	}
// document.write("<FONT SIZE=+2>")
document.write("<A HREF='"+imagename+".html' BORDER=0 ONCLICK='albumwindow()' TARGET='Links'>")
document.write(name)
// document.write("</A>")
// document.write("</FONT>")
//document.write("</TD><TD>")
// if (pictureside=="right")
// 	{
// 	picturecell()
// 	}
// document.write("</TD></TR>")
// document.write("</TABLE>")
}

function pageend()
{
document.write("<HR>")
document.write("</CENTER></CENTER>")
document.write("<P><FONT SIZE=-2>This Pages 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 toplink()
{

document.write("<DIV><DIV class='bl-grey'><DIV class='br-grey'><DIV class='tl-grey'><DIV class='tr-grey'>")
document.write("</DIV></DIV></DIV></DIV>")
document.write("<IMG SRC='"+image+"' ALIGN=RIGHT WIDTH=200>")
document.write("<CENTER><FONT FACE='Arial' COLOR=000000>")
document.write("<A HREF='"+hyperlink+"'><B>"+title+"</B></A>")
document.write("<HR>")
document.write(""+description+"<P>")
document.write("</FONT></CENTER>")
document.write("<DIV STYLE='PADDING:2px'></DIV>")
}

function toplink()
{
document.write("<DIV id='primary' STYLE='float: left; display: block; background: #FFFFFF; padding: 2px; width: 270;'>")
document.write("<DIV STYLE='display: block; background: #FFFFFF; color: #600001; padding: 0px; width: 270px; height: 120px;'>")
document.write("<DIV class='bl-ltgrey'><DIV class='br-ltgrey'><DIV class='tl-ltgrey'><DIV class='tr-ltgrey'>")
document.write("<A HREF='"+hyperlink+"'><CENTER><IMG SRC='"+image+"' HEIGHT=75 WIDTH=200><FONT FACE='Arial Black'><BR>"+title+"</FONT></A></CENTER>")
document.write("</DIV></DIV></DIV></DIV></DIV>")
document.write("</DIV>")
}

function topdownload()
{
document.write("<DIV id='primary' STYLE='float: left; display: block; background: #FFFFFF; padding: 2px; width: 275;'>")
document.write("<DIV STYLE='display: block; background: #FFFFFF; color: #600001; padding: 0px; width: 275px; height: 70px;'>")
document.write("<DIV class='bl-ltgrey'><DIV class='br-ltgrey'><DIV class='tl-ltgrey'><DIV class='tr-ltgrey'>")
document.write("<IMG SRC='free.jpg'><BR><FONT FACE='Arial Black'><A HREF='"+hyperlink+"'>"+title+"</A></FONT><BR><FONT SIZE=-1>"+description)
document.write("</FONT></DIV></DIV></DIV></DIV></DIV>")
document.write("</DIV>")
}

function topnetcast()
{
document.write("<DIV id='primary' STYLE='float: left; display: block; background: #FFFFFF; padding: 2px; width: 48%;'>")
document.write("<DIV STYLE='display: block; background: #FFFFFF; color: #600001; padding: 0px; width: 100%; height: 60px;'>")
document.write("<DIV class='bl-ltgrey'><DIV class='br-ltgrey'><DIV class='tl-ltgrey'><DIV class='tr-ltgrey'>")
document.write("<IMG SRC='"+rootlocation+"shared/images/misc/feed.png' ALIGN='LEFT' WIDTH=50><FONT SIZE=+1 FACE='Arial Black'><A HREF='"+hyperlink+"'>"+title+"</A></FONT><BR><FONT SIZE=-1>")
document.write("</FONT><A HREF='"+hyperlink+"'><IMG SRC='websites.gif' BORDER=0></A><A HREF='"+feed+"'><IMG SRC='feed.gif' BORDER=0></A></DIV></DIV></DIV></DIV></DIV>")
document.write("</DIV>")
}

function websites()
{
document.write("<DIV STYLE='display: inline; float: left; background: #FFFFFF; color: #000; padding: 5px; text-decoration: none; font-family: Sans -Serif;'>")
document.write("<FONT FACE='Arial'>"+title+"</FONT><BR>")
document.write("<A HREF='"+hyperlink+"'><IMG SRC='"+image+"' HEIGHT=180 WIDTH=250></A>")
document.write("</DIV>")
}

function tiplink(title, hyperlink)
{
document.write("<DIV STYLE='background: #FFFFFF; padding: 2px;'><FONT FACE='Arial Black'>"+title+"</FONT><BR>")
document.write("<A HREF='"+hyperlink+"'>"+hyperlink+"</A></DIV>")
}
