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("			width: 800px; margin: 0px; float: left;")
document.write("		}")
document.write("		#centercol {")
document.write("			border: #f00 0px solid;")
document.write("			margin: 0 160px 0 0px;")
document.write("			background-color: #000; width: 800px;")
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("' BGPROPERTIES='fixed'")
document.write(" NOSAVE onUnload='cleanup();'>")
if (pagename=="Home")
		{
		}
		else
		{
document.write("<DIV STYLE='float: left; background: #FFF url("+rootlocation+bannerback+") repeat-x; width: 100%;'><IMG SRC='")
document.write(rootlocation)
document.write(bannertop)
document.write("' HEIGHT=150></DIV>")
		}
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 topheadingold()
{
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=150></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 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 pageend()
{
tableend()
tablestart()
document.write("<HR></TD></TR>")
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 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 linkcolumnpic(columnimage,hyperlink)
{
testlinktype()
// document.write("<TR><TD>")
// document.write("1234")

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 linkcolumnl()
{
	linktype=8
	linklabel="Home"
	hyperlink="index";
	linktype=1
	linkid="Rel"	
document.write("<DIV STYLE='width: 110px;'>")
linkcolumnpic("shared/images/misc/home.gif","index")
linkcolumnpic("shared/images/misc/spacer.jpg","")
linkcolumnpic("shared/images/misc/dwayne.jpg","dwayne/index")
linkcolumnpic("shared/images/misc/steve.jpg","steve/index")
linkcolumnpic("shared/images/misc/treva.png","treva/index")
linkcolumnpic("shared/images/misc/billy.jpg","billy/index")	
linkcolumnpic("shared/images/misc/spacer.jpg","")
linkcolumnpic("shared/images/misc/gallery.jpg","gallery/index")
linkcolumnpic("shared/images/misc/song_list.jpg","songs/index")
linkcolumnpic("shared/images/misc/about.jpg","about/index")
linkcolumnpic("shared/images/misc/spacer.jpg","")
linkcolumnpic("shared/images/misc/dg_sm.jpg","../index")
linkcolumnpic("shared/images/misc/spacer.jpg","")
document.write("</DIV>")
}

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>")
}
