function hide_forms()
{
  for (i=0;i<document.forms.length;i++)
  {
    current_form=document.forms[i];
    for (j=0;j<current_form.elements.length;j++)
    {
      if (typeof current_form.elements[j].options != "undefined"){current_form.elements[j].style.visibility='hidden';}
    }
  }
}

function show_forms()
{
  for (i=0;i<document.forms.length;i++)
  {
    current_form=document.forms[i];
    for (j=0;j<current_form.elements.length;j++)
    {
      current_form.elements[j].style.visibility='visible';
    }
  }
}

function pause(numberMillis) {
        var now = new Date();
        var exitTime = now.getTime() + numberMillis;
        while (true) {
            now = new Date();
            if (now.getTime() > exitTime)
                return;
        }
    }
    
function init_menu() 
{
  v_top=document.getElementById("menuplacer").offsetTop+17;
  v_left=document.getElementById("menuplacer").offsetLeft;
}

function create_menu() 
{
  MENU_CURRENT=MENU_POS1;
  new menu (MENU_ITEMS1, MENU_CURRENT);
     document.write('<div style="position:absolute;top:'+MENU_CURRENT[0]['block_top']+';left:'+(MENU_CURRENT[0]['block_left']+MENU_CURRENT[0]['width'])+';z-index:100"><img src="images/menu/menu_bolletje.jpg"></div>');

  MENU_CURRENT=MENU_POS2;
  new menu (MENU_ITEMS2, MENU_CURRENT);
     document.write('<div style="position:absolute;top:'+MENU_CURRENT[0]['block_top']+';left:'+(MENU_CURRENT[0]['block_left']+MENU_CURRENT[0]['width'])+';z-index:100"><img src="images/menu/menu_bolletje.jpg"></div>');

  MENU_CURRENT=MENU_POS3;
  new menu (MENU_ITEMS3, MENU_CURRENT);
     document.write('<div style="position:absolute;top:'+MENU_CURRENT[0]['block_top']+';left:'+(MENU_CURRENT[0]['block_left']+MENU_CURRENT[0]['width'])+';z-index:100"><img src="images/menu/menu_bolletje.jpg"></div>');

  MENU_CURRENT=MENU_POS4;
  new menu (MENU_ITEMS4, MENU_CURRENT);
     document.write('<div style="position:absolute;top:'+MENU_CURRENT[0]['block_top']+';left:'+(MENU_CURRENT[0]['block_left']+MENU_CURRENT[0]['width'])+';z-index:100"><img src="images/menu/menu_bolletje.jpg"></div>');

  MENU_CURRENT=MENU_POS5;
  new menu (MENU_ITEMS5, MENU_CURRENT);
     document.write('<div style="position:absolute;top:'+MENU_CURRENT[0]['block_top']+';left:'+(MENU_CURRENT[0]['block_left']+MENU_CURRENT[0]['width'])+';z-index:100"><img src="images/menu/menu_bolletje.jpg"></div>');

  MENU_CURRENT=MENU_POS6;
  new menu (MENU_ITEMS6, MENU_CURRENT);

}    

