function pagestyle()
{
document.write("	<style type='text/css'>")
document.write("		html, body {")
document.write("			margin: 0 auto;")
document.write("		}")
// document.write("		#leftcol {")
// document.write("			float: auto;")
// document.write("			width: auto;")
// document.write("			border: #000 0px solid;")
// document.write("		}")
document.write("		#main {")
document.write("			margin: 0 auto;")
document.write("			width: 750px;")
document.write("			margin-right:auto;")
document.write("			margin-left:auto;")
document.write("		}")
document.write("		#centercol {")
document.write("			border: #f00 0px solid;")
document.write("			margin: 0 auto;")
// document.write("			background-color: #e7dec1;")
document.write("				background: url("+rootlocation+sitethemedir+"bodyback3.png) repeat;")
// document.write("			background: #000000 url(../themes/theme-0001/bodyback2.png) repeat")
// background-image:url('bgdesert.jpg')
document.write("			font-family: Sans-Serif;")
document.write("			font-weight: bold;")
document.write("			font-style: italic;")
document.write("			font-size: 12px;")
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 topheading()
{
pagestyle()

document.write("<BODY BACKGROUND='")
document.write(rootlocation)
document.write(imagebackdrop)
document.write("'>")

// if (pagename=="Home")
// 		{
// 		}
// 		else
// 		{
// 		}
// document.write("<TABLE BORDER=0 WIDTH=100% CELLSPACING=0 CELLPADDING=0 >");
// document.write("<TR><TD BACKGROUND='"+rootlocation+bannerback+"'><A HREF='"+rootlocation+"index.html'>")
// document.write("<IMG SRC='")
// document.write(rootlocation)
// document.write(bannertop)
// document.write("' HEIGHT=0 BORDER=0 ALIGN=RIGHT>")
// document.write("</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'>")
if (pagename=="Home")
{
}
else
{
document.write("<A HREF='"+rootlocation+"index.html'>")
document.write("<IMG SRC='"+rootlocation+bannertop+"' BORDER=0>")
document.write("</A>")
}
// document.write("<IMG SRC='"+rootlocation+"shared/images/misc/menu_back.gif' width=750 height=40 BORDER=0 ALIGN=LEFT>")
// document.write("<BR>")
// document.write("<DIV STYLE='width: 100%; height: 0px;'>")
// function Go(){return}
// document.write("</DIV><P>")
}

function pageend()
{

document.write("<IMG SRC='"+rootlocation+"shared/images/themes/theme-0001/body-bottom.png'>")
document.write("<DIV STYLE='background: #131445; color: #FFFFFF;'><CENTER>")
// document.write("<B><FONT SIZE=+1>Stillwater Farm</FONT></B><BR>")
document.write("")
document.write("<B><FONT SIZE=+1>Clinton, Nicki, and Madison Jones</FONT></B><BR>")
document.write("<FONT COLOR='FFFFFF'><A HREF='mailto:clinton@stillwaterhorses.com' style='text-decoration : none; color: #FFFFFF'>clinton@stillwaterhorses.com</A></FONT><BR>")
document.write("Berry, Kentucky<BR>")
document.write("Phone: 859-654-1597<BR>")
document.write(" Cell: 859-620-3040<BR><P>")
document.write("<FONT COLOR='white' SIZE=-2>Site Design by <A HREF='http://www.pcgeeks4u.com' style='text-decoration : none; color: #FFFFFF'>PCGeeks4U.com</A></FONT>")
document.write("</CENTER></DIV>")
// document.write("<P>")
// document.write("<IMG SRC='"+rootlocation+bannerbottom+"'>")
// document.write("<CENTER>")
// document.write("<A HREF='"+rootlocation+"index.html'>Home</A>")
// document.write(" = ")
// document.write("<A HREF='"+rootlocation+"show_horses/index.html'>Show Horses</A>")
// document.write(" = ")
// document.write("<A HREF='"+rootlocation+"broodmares/index.html'>Broodmares</A>")
// document.write(" = ")
// document.write("<A HREF='"+rootlocation+"stallions/index.html'>Stallions</A>")
// document.write(" = ")
// document.write("<A HREF='"+rootlocation+"sales_list/index.html'>Sales List</A>")
// document.write(" = ")
// document.write("<A HREF='"+rootlocation+"nursery/index.html'>Nursery</A>")
// document.write(" = ")
// document.write("<A HREF='"+rootlocation+"links/index.html'>Links</A>")
// document.write(" = ")
// document.write("<A HREF='"+rootlocation+"email/index.html'>Email</A>")
// document.write("</CENTER>")
// document.write("<P><HR>")
// document.write("<DIV STYLE='width: 420px; float: left; padding: 0px'>")
// headlabel=" +"
// simpleheading()
// document.write("<P><DIV STYLE='width: 800px; float: none;'>")
// document.write("</CENTER></CENTER>")
// document.write("<P><FONT SIZE=-2 FACE='Sans-Serif'>This site was created by<BR></FONT><A HREF='http://www.pcgeeks4u.com' TARGET='_top'>")
// document.write("<FONT SIZE=+1 FACE='Sans-Serif'>PCGeeks4U.com</FONT></A></DIV>")
}

function gallerypic(picture,caption,shape)
{
document.write("<DIV CLASS='birthlink'>")
if (shape=="wide")
{
document.write("<DIV CLASS='birthlinkcontainer'><a href='"+picture+"' rel='lightbox[birth]' title='"+caption+"'><IMG SRC='"+picture+"' WIDTH=80 BORDER=0></DIV><DIV CLASS='birthlinkcontainer'></A>")
}
if (shape=="tall")
{
document.write("<DIV CLASS='birthlinkcontainer'><a href='"+picture+"' rel='lightbox[birth]' title='"+caption+"'><IMG SRC='"+picture+"' HEIGHT=80 BORDER=0></DIV><DIV CLASS='birthlinkcontainer'></A>")
}
document.write("</DIV></DIV>")
}
