function pause(numberMillis) {
        var now = new Date();
        var exitTime = now.getTime() + numberMillis;
        while (true) {
            now = new Date();
            if (now.getTime() > exitTime)
                return;
        }
    }

v_top=0;

v_left=0;
    
function init_menu() 
{
  v_top=parseInt(document.getElementById("menu").offsetTop);
  v_left=parseInt(document.getElementById("container").offsetLeft);
}


function create_menu() 
{
	document.writeln('<div class="topmenu">');
  new menu (MENU_ITEMS1, MENU_POS1);
  new menu (MENU_ITEMS2, MENU_POS2);
  new menu (MENU_ITEMS3, MENU_POS3);
  new menu (MENU_ITEMS4, MENU_POS4);
  new menu (MENU_ITEMS5, MENU_POS5);
  new menu (MENU_ITEMS6, MENU_POS6);
  new menu (MENU_ITEMS7, MENU_POS7);
	document.writeln('</div>');
}    


function no_click (text) {
	return '<div class="no_click">&nbsp;&nbsp;' + text + '</div>';
}