function gSubStart() {
	dw('<div id=MM_subMenu width=100%><table id="tblHeader" class="Menu2Table" cellpadding=0 cellspacing=0 width="100%">')
	dw('<tr>')
}
function gSubStartLinks()	{	dw('<td valign=middle align="right" style="padding:0 8 0 8;" valign=bottom><table cellpadding=0 cellspacing=0><tr>');}
function gSubStartLinksTabs(){	dw('<td align="center" valign=middle class=subTopBottom><table cellpadding=0 cellspacing=0><tr>');}
var nSM_counter=0;
function gSubLink(strPath,strName,bIsFirst,bIsSel) {
	nSM_counter++;
	if (!bIsFirst)	dw('<td class=subSepSpan><img src="images/c.gif" class=subMenuSep align=absmiddle></td>')
	if (bIsSel)		dw("<td nowrap class=subTdSelected><span class=SubMenuTextR style='padding-bottom:0px;'>"+strName+"</span></td>");
	else			dw("<td nowrap><a id=sm"+nSM_counter+" class='thText SubMenuLinkR' href='"+strPath+"' valign=middle>"+strName+"</a></td>")
}
function gSubEndLinks(){	dw('</tr></table></td>');		}

function gSubMiddle() {		dw('<td width=100%>&nbsp;</td>');	}

function gSubStartPaths()	{	dw('<td nowrap align="left" style="padding-left:8px">&nbsp;');}

var m_nSMLeft	= 0;
function gSubPath(strPath,strName,bIsFirst) {
	m_nSMLeft++;
	if (!bIsFirst) dw('<span class=SubMenuText>&nbsp;&gt;&nbsp;</span>')
	if (strPath.length>0)	dw('<a class="thText SubMenuLink" href="'+strPath+'">'+strName+'</a>')
	else					dw('<span style="width:'+(m_nSMLeft>2?"250":"350")+'px;overflow:hidden;text-overflow:ellipsis;cursor:default;" class=SubMenuText title="'+strName+'">'+strName+'</span>');
}

function gSubEndPaths(){	dw('</td>');}

function gSubEnd() {
	dw('</tr>')
	dw('<tr height=1><td colspan=5 class="Menu2TdBottom"><img src="images/c.gif" height=1 width=1></td></tr>')
	dw('</table></div>')
}
//background-image: url(images/vert3px.gif);background-repeat: repeat-x;