var text = '';
var str1 = '';

text = text + '</td><td class=menucontainer1 title=""><table class=menu1 cellspacing=0>';
  
for (var i = 0; i < menu1.length; i++ ) {
  if ( menu1[i].length > 0 ) {
    if ( i > 0 ) 
      text = text + '<tr><td class=menuitem1><hr></td></tr>';
    for (var j = 0; j < menu1[i].length; j++) {
	text = text + '<tr>';
        if (menu1[i][j][0] == '-') {
          text = text + '<td class=menuitem1><hr></td>';
        }	
        else {
	  text = text + '<td class=menuitem1 ';		  	
	  if ((menu1[i][j].length > 3) && (menu1[i][j][3] != null))
		text = text + 'title="' + menu1[i][j][3] + '" ';
	  else
		text = text + 'title=""'; 
	// the empty title is required to get past a bug. 
	// when the page is changed by clicking on the menu, 
	// any displayed tip reappears, unless the new element at that point has a title.
	// for the same reason, an empty title has been specified for the menucontainer1 element, 
	//	as the new menu may be shorter.

	  text = text + 'onMouseOver="javascript:onMouseOverMenu(this)" onMouseDown="javascript:onMouseDownMenu(this)" onMouseUp="javascript:onMouseUpMenu(this)" onMouseOut="javascript:onMouseOutMenu(this)" ';
          if ((menu1[i][j].length > 2)  && (menu1[i][j][2] == 'popup')) 
		text = text + 'onClick="javascript:popUp(\'' + menu1[i][j][0] + '\')" ';
	  else
		text = text + 'onClick="javascript:load(\'' + menu1[i][j][0] + '\')" ';
	  text = text + '>';
	  text = text + menu1[i][j][1] + '</td>';
	}  	
	text = text + '</tr>';
    }			
  }
}			
text = text + '</table></td></tr>';
text = text + '<tr class=ftg1 cellspacing="0"><td class=ftg1l>Updated ' + dateFormat( new Date( document.lastModified ) ) + '. Trademarks&nbsp;are&nbsp;properties&nbsp;of&nbsp;owners.</td><td class=ftg1r>&copy;&nbsp;Minisoft&nbsp;Pvt&nbsp;Ltd</td></tr></table>'

document.write( text );

text = '';


