var aMenuText = new Array(L_HomeMenu_Text, L_ArtistInfoMenu_Text, L_AlbumInfoMenu_Text, L_LyricsMenu_Text, L_RelatedMusicMenu_Text, L_FileInfoMenu_Text);
function buildMenu()
{
var s = '<table id=menuTable border=0 cellpadding=0 cellspacing=0 style="padding-top:15; padding-bottom:13;"><tr><td width=6></td>', i;
iCurrent = parseInt(currentItem);
if (isNaN(iCurrent)) iCurrent = 0;
for (i = 0; i < aMenuText.length; i++)
{
s += '<td nowrap>';
if (iCurrent != i)
s += '<a onmouseout="' + element.id + '.mout(' + i + ');" onmouseover="' + element.id + '.mover(' + i + ');" onclick="return ' + element.id + '.clickIt(' + i + ')" id="menuItem' + i + '">' + getTextTable(aMenuText[i], '#666666') + '</a></td>';
else
s += '<span class=menu>' + getTextTable(aMenuText[i], getCurrentColor()) + '</span></td>';
}
element.innerHTML = s + '</tr></table>';
setMenu(iCurrent, 'down');
}
function getTextTable(sText, sColor)
{
var s = '<table border=0 cellpadding=0 cellspacing=0><tr>', sImgLeft, sImgRight;