function thumbOn(id) {
  document.getElementById("tl_" + id).className = "hover";
  document.getElementById("t_" + id).className = "hover";
}
  
function thumbOff(id) {
  document.getElementById("tl_" + id).className = "";
  document.getElementById("t_" + id).className = "";
}

function swapVisual(id) {
  for(i=1; i <= 3; i++) {
    if(i!=id) {
      document.getElementById("visual_" + i).style.display = "none";
    } else {
      document.getElementById("visual_" + i).style.display = "";
    }
  }
}

function openWindow (url, w, h) {
  newWindow = window.open(url, "whPopup", "width=" + w+ ",height="+ h + ",left=100,top=150,scrollbars=yes,resizable=yes");
  newWindow.focus();
}

/*

// TEST: print.css 

window.onload = function ()
{
  var head = document.getElementsByTagName("head")[0];

  var link = document.createElement("link");
  link.rel = "stylesheet";
  link.href = "css/print/print.css";
  link.type = "text/css";
  link.media = "all";

  head.appendChild(link);
};

*/
