var menuBackgroundColor="330022"
var menuTitleColor="550033"
var menuDropColor="440022"
var menuHighlightColor="bb0077"
var menuSpacerNumber=1

function OpenMenu()
{
document.write("<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td width=5>&nbsp</td><td height=1>")
}

function CloseMenu()
{
document.write("</td><td width=5>&nbsp</td></tr></table>")
}

function EmptySpace(_numberOf)
{
for (a=0;a<_numberOf;a++)
{
document.write(" &nbsp ")
}
}

function MenuSpacer(_height,_color)
{
document.write("<table border=0 width=100% cellspacing=0 cellpadding=0><tr><td bgcolor=#"+_color+" height="+_height+"><table border=0 width=100% cellspacing=0 cellpadding=0><tr><td></td></tr></table></td></tr></table>")
}

function MenuVerticalLine()
{
document.write("<td width=1 bgcolor=#"+menuHighlightColor+"><table border=0 width=100% cellspacing=0 cellpadding=0><tr><td></td></tr></table></td>")
}

function MenuItem(_title,_name,_url)
{
if (_title)
{
MenuSpacer(1,menuHighlightColor)
}
document.write("<table border=0 width=100% cellspacing=0 cellpadding=0>")
if (_url != "")
{
document.write("<a href='"+_url+"'>")
}
document.write("<tr>")
MenuVerticalLine()
if (_title)
{
document.write("<td bgcolor=#"+menuTitleColor+" height=16")
}
else
{
document.write("<td bgcolor=#"+menuDropColor+" height=1 align=right")
}
if (_url!="")
{
document.write(" onmouseover=\"this.style.background='")
document.write(menuHighlightColor)
document.write("';this.style.cursor='hand';\"")
document.write(" onmouseout=\"this.style.background='")
if (_title)
{
document.write(menuTitleColor)
}
else
{
document.write(menuDropColor)
}
document.write("';this.style.cursor='';\"")
}
document.write(">")
document.write("<font face=Arial size=1 color=ffffff>")
if (_title)
{
EmptySpace(menuSpacerNumber)
}
if (_url!="")
{
document.write("<a href='"+_url+"' style='text-decoration: none;color=#eeeeee'>"+_name+"</a>")
}
else
{
document.write(_name)
}
if (!_title)
{
EmptySpace(menuSpacerNumber)
}
document.write("</font>")
MenuVerticalLine()
document.write("</td>")
document.write("</tr>")
if (_url!="")
{
document.write("</a>")
}
document.write("</table>")
if (_title)
{
MenuSpacer(1,menuHighlightColor)
}
}

function CloseDropMenu()
{
MenuSpacer(1,menuHighlightColor)
}

function DoMenu(_prePath)
{
OpenMenu()

MenuItem(1,"info","")
MenuItem(0,"news",_prePath+"info/news.html")
MenuItem(0,"about us",_prePath+"info/aboutus.html")
MenuItem(0,"contact us",_prePath+"info/contactus.html")
MenuItem(0,"upcoming",_prePath+"info/upcoming.html")
//MenuItem(0,"newsletter",_prePath+"info/newsletter.html")
CloseDropMenu()

MenuSpacer(5,menuBackgroundColor)
MenuItem(1,"atari","")
MenuItem(0,"released",_prePath+"atari/released.html")
MenuItem(0,"unreleased",_prePath+"atari/unreleased.html")
MenuItem(0,"downloads",_prePath+"atari/downloads.html")
MenuItem(0,"links",_prePath+"atari/links.html")
CloseDropMenu()

MenuSpacer(5,menuBackgroundColor)
MenuItem(1,"oracle","")
MenuItem(0,"intro",_prePath+"oracle/index.html")
MenuItem(0,"downloads",_prePath+"oracle/downloads.html")
MenuItem(0,"links",_prePath+"oracle/links.html")
CloseDropMenu()

MenuSpacer(5,menuBackgroundColor)
MenuItem(1,"pc","")
MenuItem(0,"released",_prePath+"pc/released.html")
MenuItem(0,"downloads",_prePath+"pc/downloads.html")
CloseDropMenu()
	
MenuSpacer(5,menuBackgroundColor)
MenuItem(1,"web","")
MenuItem(0,"WebKick",_prePath+"webkick/index.html")
MenuItem(0,"released",_prePath+"web/released.html")
CloseDropMenu()

MenuSpacer(5,menuBackgroundColor)
MenuItem(1,"misc","")
MenuItem(0,"links",_prePath+"misc/links.html")
CloseDropMenu()

document.write("<br><font face=Arial size=1 color=#eeeeee><p align=right>&#169 ")
var time=new Date()
if (time.getYear()<2000)
{//nscape?
document.write(time.getYear()+1900)
}
else
{
document.write(time.getYear())
}
document.write("<br>Digi Tallis<br><br>")

document.write("<img src='/cgi-bin/Count.cgi?prgb=238;238;238|ft=0|tr=1|wxh=15;20|md=6|dd=D|st=1|sh=1|df=maguay.dat' align=right border=0><br>")

document.write("</p></font>")

CloseMenu()
}

