function checkThumbs() {
  el = document.getElementsByTagName("div");
  for (i = 0; i < el.length; ++i)
    if (el[i].className == "thumblow" || el[i].className == "thumbhigh")
    {
      el[i].style.right = null;
      if (document.body.offsetWidth < el[i].offsetLeft + el[i].offsetWidth + 20)
      {
//        el[i].style.top = 20;  // Move it down a bit
        el[i].style.right = 20;
      }
    }
}

function hover(l, lClass, p, pClass) {
//	if (l) l.className = lClass;
//	if (p) p.className = pClass;
	if (l) document.getElementById(l).className = lClass;
	if (p) document.getElementById(p).className = pClass;
}
