banners = Array();

function moveDown(y)
{ 
  for (i = 0; i < banners.length; i++)
  { dd = document.getElementById("banner" + i);
    dd.style.top = y;
    }
  }

function search()
{ form = document.getElementById("searchForm");
  form.submit();
  }

function searchNavigate(url)
{ form = document.getElementById("searchForm");
  form.action=url;
  form.submit();
  }

function prehear(url, width, height)
{ 
  //oldw = document.getElementByName('prehear');
  newwindow = window.open(url, 'prehear', 'width='+width+',height='+height+',resizable=no,scrollbars=no,location=no,titlebar=no');
  newwindow.focus();
  }

function instructions(url, type)
{ if (type == 12) 
  { w = 500;
    h = 350;
    }

  if (type == 13) 
  { h = 340;
    w = 550;
    }

  if (type == 14) 
  { w = 500;
    h = 300;
    }

  newwindow = window.open(url + 'instructions.php?type=' + type, 'instructions', 'width=' + w + ',height=' + h + ',location=no,titlebar=no');
  newwindow.focus();
}

