<!--
function menubegin(primaryslotnumber)
{
document.writeln("<div id=\"primarymenuchoice",primaryslotnumber,"\">");
document.writeln("<div id=\"patch\"><img src=\"images/stroke/menu/menutopleft.gif\" width=\"12\" height=\"45\" alt=\"\" border=\"0\"></div>");
document.writeln("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"168\">");
document.writeln("<tr>");
document.writeln("	<td bgcolor=\"FFFFFF\" valign=\"top\"><img src=\"images/stroke/menu/1.gif\" width=\"1\" height=\"6\" border=\"0\"></td>");
document.writeln("	<td bgcolor=\"FFFFFF\" valign=\"top\"><img src=\"images/stroke/menu/2.gif\" width=\"11\" height=\"6\" border=\"0\"></td>");
document.writeln("	<td bgcolor=\"FFFFFF\" valign=\"top\"><img src=\"images/stroke/menu/3.gif\" width=\"10\" height=\"6\" border=\"0\"></td>");
document.writeln("	<td bgcolor=\"FFFFFF\" valign=\"top\"><img src=\"images/stroke/menu/4.gif\" width=\"134\" height=\"6\" border=\"0\"></td>");
document.writeln("	<td colspan=\"2\"><img src=\"images/stroke/menu/5.gif\" width=\"12\" height=\"11\" border=\"0\"></td>");
document.writeln("</tr>");
}
function menuend()
{
document.writeln("<tr>");
document.writeln("	<td colspan=\"2\"><img src=\"images/stroke/menu/menubottomleft.gif\" width=\"12\" height=\"12\" border=\"0\"></td>");
document.writeln("	<td valign=\"bottom\" colspan=\"2\"><img src=\"images/stroke/menu/menubottomrow.gif\" width=\"144\" height=\"12\" border=\"0\"></td>");
document.writeln("	<td colspan=\"2\"><img src=\"images/stroke/menu/menubottomright.gif\" width=\"12\" height=\"12\" border=\"0\"></td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("</div>");
}

function secondaryspacer()
{
document.writeln("<tr>");
document.writeln("	<td bgcolor=\"D4ABFF\"><img src=\"images/stroke/menu/99CCFF.gif\" width=\"1\" height=\"16\" border=\"0\"></td>"); 
document.writeln("	<td bgcolor=\"FFFFFF\"><img src=\"images/stroke/menu/whitepixel.gif\" width=\"11\" height=\"10\" border=\"0\"></td>");
document.writeln("	<td bgcolor=\"FFFFFF\" valign=\"top\"><img src=\"images/stroke/menu/whitepixel.gif\" width=\"1\" height=\"3\" border=\"0\"><br><img src=\"images/stroke/menu/whitepixel.gif\" width=\"5\" height=\"5\" border=\"0\" name=\"name\"></td>");
document.writeln("	<td bgcolor=\"FFFFFF\" valign=\"top\"><FONT class=\"secondarynav\">&nbsp;</font><br><img src=\"images/stroke/menu/whitepixel.gif\" width=\"1\" height=\"4\" border=\"0\"></td>");
document.writeln("	<td bgcolor=\"FFFFFF\"><img src=\"images/stroke/menu/whitepixel.gif\" width=\"8\" height=\"10\" border=\"0\"></td>");
document.writeln("	<td background=\"images/stroke/menu/menuright40.gif\"><img src=\"images/stroke/menu/transpixel.gif\" width=\"4\" height=\"10\" border=\"0\"></td>"); 
document.writeln("</tr>");
}

function emptymenu(emptymenuprimaryslotnumber)
{
document.writeln("<div id=\"primarymenuchoice",emptymenuprimaryslotnumber,"\"> <!-- empty divtag --> </div>");
}

// writeitem passes 4 different vars
// 1. current menu name (string no spaces, for generating image name for rollovers) (if you need one <br> its a 2 line item, as for two <br>'s its a 3 line item)
// 2. line height (coder must use 1, 2, or 3 -- as menu items can be 1, 2, or 3 lines high)
// 3. actual url (url of link)
// 4. menu item label (the name that shows up in the menu)
// 5. menu item name (no spaces, for generating image name for rollovers)


function  writeitem(shortcurrentmenuname,linelength,url,actualname,shortname)
{
document.writeln("<tr>");
document.writeln("	<td bgcolor=\"D4ABFF\"><img src=\"images/stroke/menu/99CCFF.gif\" width=\"1\" height=\"16\" border=\"0\"></td>"); 
document.writeln("	<td bgcolor=\"FFFFFF\"><img src=\"images/stroke/menu/whitepixel.gif\" width=\"11\" height=\"10\" border=\"0\"></td>");
document.writeln("	<td bgcolor=\"FFFFFF\" valign=\"top\"><img src=\"images/stroke/menu/whitepixel.gif\" width=\"1\" height=\"3\" border=\"0\"><br><img src=\"images/stroke/menu/whitepixel.gif\" width=\"5\" height=\"5\" border=\"0\" name=\"",shortcurrentmenuname,shortname,"\"></td>");
document.writeln("	<td bgcolor=\"FFFFFF\" valign=\"top\"><FONT class=\"secondarynav\"><a class=\"normallink\" href=\"",url,"\" onmouseover=\"clearTimeout(TimeOutNum);document.",shortcurrentmenuname,shortname,".src=reddot.src\" onmouseout=\"settimer();document.",shortcurrentmenuname,shortname,".src=whitepixel.src\">",actualname,"</a></font><br><img src=\"images/stroke/menu/whitepixel.gif\" width=\"1\" height=\"4\" border=\"0\"></td>");
document.writeln("	<td bgcolor=\"FFFFFF\"><img src=\"images/stroke/menu/whitepixel.gif\" width=\"8\" height=\"10\" border=\"0\"></td>");
document.writeln("	<td background=\"images/stroke/menu/menuright40.gif\"><img src=\"images/stroke/menu/transpixel.gif\" width=\"4\" height=\"10\" border=\"0\"></td>"); 
document.writeln("</tr>");
}

//-->
