function  simpleSearch(typ, pole)
{
  if(pole.value!='')
    if(typ == 'au')
      self.location.href='projekt1.html?id='+pole.value;
    else if(typ == 'aut')
      self.location.href='index.html?aut='+pole.value;
    else if(typ == 'pow')
      self.location.href='index.html?pow='+pole.value;
    else if(typ == 'order')
      self.location.href='zamow2.html?id='+pole.value;
}

function zoomimg(img_no, mirror, projekt_no, typ)
{
  var link = 'zoom.php?p='+projekt_no+'&m='+mirror+'&im='+img_no+'&typ='+typ;
  window.open(link,'','resizable=1, scrollbars=1, width=600, height=450');
}
