﻿// functions for hiding/showing all select elements (to keep them from showing through layered Div's in IE6)

function hideSelect(){
 for (var i = 0; i < document.all.length; i++) {
  o = document.all(i);
  if (o.type == 'select-multiple') {
   if (o.style) o.style.display = 'none';
  }
  if (o.type == 'select-one') {
   if (o.style) o.style.display = 'none';
  }
 }
}

function restoreSelect(){
 for (var i = 0; i < document.all.length; i++) {
  o = document.all(i);
  if (o.type == 'select-one') {
   if (o.style) o.style.display = '';
  }
  if (o.type == 'select-multiple') {
   if (o.style) o.style.display = '';
  }
 }
}