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("container").offsetTop)+101;
  v_left=parseInt(document.getElementById("container").offsetLeft)+195;
}

function create_menu() 
{
if (typeof MENU_ITEMS1 !='undefined'){new menu (MENU_ITEMS1, MENU_POS1);}
if (typeof MENU_ITEMS2 !='undefined'){  new menu (MENU_ITEMS2, MENU_POS2);}
if (typeof MENU_ITEMS3 !='undefined'){  new menu (MENU_ITEMS3, MENU_POS3);}
if (typeof MENU_ITEMS4 !='undefined'){  new menu (MENU_ITEMS4, MENU_POS4);}
if (typeof MENU_ITEMS5 !='undefined'){  new menu (MENU_ITEMS5, MENU_POS5);}
if (typeof MENU_ITEMS6 !='undefined'){  new menu (MENU_ITEMS6, MENU_POS6);}
if (typeof MENU_ITEMS7 !='undefined'){  new menu (MENU_ITEMS7, MENU_POS7);}
if (typeof MENU_ITEMS8 !='undefined'){  new menu (MENU_ITEMS8, MENU_POS8);}
 
}    


function no_click (text) {
	return '<div class="no_click">&nbsp;&nbsp;' + text + '</div>';
}
