function sendForm(obj)
{
        var select;
        select = obj;

        for(i=0; i< select.length ; i++)
        {
          if(i==select.selectedIndex)
          {
            selectform.action = select.options[i].value;

            selectform.submit();
          }
        }
}

function sendDrawForm(obj)
{
        var select;
        select = obj;

        for(i=0; i< select.length ; i++)
        {
          if(i==select.selectedIndex)
          {
            drawForm.action = select.options[i].path;

            drawForm.submit();
          }
        }
}

function sendTypeOfOrderForm(obj)
{
        var select;
        select = obj;

        for(i=0; i< select.length ; i++)
        {
          if(i==select.selectedIndex)
          {
            typeOfOrderForm.action = select.options[i].path;

            typeOfOrderForm.submit();
          }
        }
}

function sendSearchForm()
{
        var select;

        window.alert(searchForm.searchstring.value);

        /*for(i=0; i< select.length ; i++)
        {
          if(i==select.selectedIndex)
          {
            typeOfOrderForm.action = select.options[i].path;

            typeOfOrderForm.submit();
          }
        }   */
}
