<!--
function getMenu(level, logo)
{
	oMenu=new menuObj('oMenu');

	oMenu.clMain='letter-spacing: 3px; padding: 1px; font: bold 9pt Arial, Helvetica, sans-serif; text-decoration: none; ';
	oMenu.clSub='letter-spacing: 0px; padding: 1px; font: bold 8pt Arial, Helvetica, sans-serif; text-decoration: none; ';
	oMenu.clSubSub='letter-spacing: 0px; padding: 1px; font: bold 8pt Arial, Helvetica, sans-serif; text-decoration: none; ';
	oMenu.clAMain='letter-spacing: 1px; padding: 1px; font: bold 8pt Arial, Helvetica, sans-serif; text-decoration: none; ';
	oMenu.clASub='letter-spacing: 1px; padding: 1px; font: bold 8pt Arial, Helvetica, sans-serif; text-decoration: none; ';
	oMenu.clASubSub='letter-spacing: 1px; padding: 1px; font: bold 8pt Arial, Helvetica, sans-serif; text-decoration: none; ';
	oMenu.backgroundbar=0;
	oMenu.mainheight=18;

	oMenu.fromleft=27;
	oMenu.fromtop=80;		//in pixel or %
	oMenu.pxbetween=2;

	if (window.innerWidth)
		width = window.innerWidth - oMenu.fromleft - 16 // ns
	else if (document.body.clientWidth)
		width = document.body.clientWidth - oMenu.fromleft // ie
	else
		width = 800
	oMenu.nItems = 6 // the number of menu items, which are to be added later
	oMenu.mainwidth = (Math.max(width, 800) - oMenu.pxbetween*(oMenu.nItems - 1))/oMenu.nItems
	oMenu.subwidth=210;
	oMenu.subheight=18;
	oMenu.subsubwidth=oMenu.mainwidth;
	oMenu.subsubheight=oMenu.subheight;
	//alert(oMenu.makeStyle())
	oMenu.makeStyle();
	oMenu.subplacement=oMenu.mainheight;
	oMenu.subYplacement=8;
	oMenu.subsubXplacement=oMenu.subwidth/2;
	oMenu.subsubYplacement=8;
	oMenu.mainbgcoloroff='#E5E5E5';
	oMenu.mainbgcoloron='#FFFFFF';
	oMenu.subbgcoloroff='#E5E5E5';
	oMenu.subbgcoloron='#FFFFFF';
	oMenu.subsubbgcoloroff='#E5E5E5';
	oMenu.subsubbgcoloron='#FFFFFF';
	oMenu.stayoncolor=0;
	oMenu.menuspeed=10;
	oMenu.menusubspeed=15;
	oMenu.menurows=1;
	oMenu.menueventon="mouse";
	oMenu.menueventoff="mouse";
	oMenu.menuplacement=0;
	
	// the menu URLs depend on the position of the page in the site tree
	goUp = ""
	for(i = 0; i < level; ++i)
		goUp += "../"

	// string to append to every item text, to cover the entire width of the item's cell
	sItemTail = " &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "

	oMenu.makeMain(0, 'Home' + sItemTail, goUp + "INDEX.HTML");

	oMenu.makeMain(1, 'Products' + sItemTail, goUp + "PRODUCTS.HTML");
	oMenu.makeSub(1, 0, 'Directory Organization Charts' + sItemTail, goUp + "EWICHART.HTML", 2);
	oMenu.makeSub(1, 1, 'Directory Content Management' + sItemTail, goUp + "SECURITY.HTML", 2);
	
	oMenu.makeMain(2, 'Download' + sItemTail, goUp + "DEMO.HTML");
	oMenu.makeSub(2, 0, 'Demo Kit' + sItemTail, goUp + "DEMO_DOWNLOAD.HTML", 3);
	oMenu.makeSub(2, 1, 'Download presentations' + sItemTail, goUp + "DEMO_PRESENTATIONS.HTML", 3);
	oMenu.makeSub(2, 2, 'Online Demo' + sItemTail, goUp + "DEMO_ONLINE.HTML", 3);

	oMenu.makeMain(3, 'References' + sItemTail, goUp + "CLIENTS.HTML");

	oMenu.makeMain(4, 'estWest' + sItemTail, goUp + "ABOUT.HTML");
	oMenu.makeSub(4, 0, 'About estWest' + sItemTail, goUp + "ABOUT_EWI.HTML", 3);
	oMenu.makeSub(4, 1, 'Partners' + sItemTail, goUp + "ABOUT_PARTNERS.HTML", 3);
	oMenu.makeSub(4, 2, 'Recruitment' + sItemTail, goUp + "ABOUT_JOBS.HTML", 3);

	oMenu.makeMain(5, 'Contact' + sItemTail, goUp + "CONTACT.HTML");
	oMenu.makeSub(5, 0, 'Our coordinates' + sItemTail, goUp + "CONTACT_US.HTML", 2);
	oMenu.makeSub(5, 1, 'Get contacted by a consultant' + sItemTail, goUp + "CONTACT_YOU.HTML", 2);

	oMenu.construct(logo);
	return oMenu
}

// -->
