var agt=navigator.userAgent.toLowerCase();
var agt=navigator.userAgent.toLowerCase();
var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);
var is_ie   = (agt.indexOf("msie") != -1);
var is_opera = (agt.indexOf("opera") != -1);
var is_firefox = (agt.indexOf("firefox") != -1);
	  

<!--//
// Note where menu initialization block is located in HTML document.
// Don't try to position menu locating menu initialization block in
// some table cell or other HTML element. Always put it before </body>

// each menu gets two parameters (see demo files)
// 1. items structure
// 2. geometry structure
if (is_firefox)
{
	new menu (MENU_ITEMS, MENU_POS_FIREFOX);
}
else if (is_opera)
{
	new menu (MENU_ITEMS, MENU_POS_OPERA);
}
else
{
	new menu (MENU_ITEMS, MENU_POS);
}

// make sure files containing definitions for these variables are linked to the document
// if you got some javascript error like "MENU_POS is not defined", then you've made syntax
// error in menu_tpl.js file or that file isn't linked properly.
	
// also take a look at stylesheets loaded in header in order to set styles
//-->

