VoceMnu="";
mnuColorShadow="#AAAAAA";
mnuColorBorder="#C0C0C0";
mnuColorBack="#333333";
mnuColorBackHL="#777777";
mnuColorText="#FFFFFF";

document.write('<STYLE TYPE="text/css">');
document.write('.mnuShadow{left: 0; top: 0; height:11; border:1px solid '+mnuColorShadow+'; background-color:'+mnuColorShadow+'; position: relative}');
document.write('.mnuText{left: 1; top: 1; height:11; width:100%; border:1px solid '+mnuColorBorder+'; background-color:'+mnuColorBack+'; position: absolute}');
document.write('.mytextfont{font-family: Arial, Tahoma;font-size: 9pt;color: #000000;}');
document.write('</STYLE>');

function mnuInit()
{
	document.write('<table border="0" width="99%">');
	document.write('<tr>');
	VoceMnu=0;
}

function mnuEnd()
{
	document.write('</tr>');
	document.write('</table>');
}

function mnuOver(obj)
{
	obj.style.backgroundColor=mnuColorBackHL;
}

function mnuOut(obj)
{
	obj.style.backgroundColor=mnuColorBack;
}

function mnuItem(strMenu,src,target)
{
	document.write('<td align="center">');
	document.write('<div class="mnuShadow">');
	document.write('<font face="Verdana" size="1" color="'+mnuColorShadow+'">'+strMenu+'</font>');
	document.write('<div src="'+src+'" target="'+target+'" id="IDmnu'+VoceMnu+'" class="mnuText" onmouseover="mnuOver(this);" onmouseout="mnuOut(this);" onclick="clickMnu(this);";>');
	document.write('<font face="Verdana" size="1" color="'+mnuColorText+'">'+strMenu+'</font>');
	document.write('</div>');
	document.write('</div>');
	document.write('</td>');
	VoceMnu++;
}

function clickMnu(obj)
{
	if (obj.target=="_parent" || obj.target=="")
		parent.location.href=obj.src;
	else
		parent.frames(obj.target).location.href=obj.src;
}

