// IE HACK: use behavior for PNG alpha transparency
if (document.styleSheets && document.styleSheets[0].addRule) {
  document.styleSheets[0].addRule('div.map img',
      'behavior:url("/pngbehavior.htc")');
}

// set initial current objects
currTitleObj = false;
currInfoObj = false;

function show_course(name) {
  if (document.getElementById) {
    infoObj = document.getElementById(name + '_info');
    if (currInfoObj == infoObj) return;
    
    if (currInfoObj) {
      currInfoObj.style.display = 'none';
    }
    if (infoObj) {
      infoObj.style.display = 'block';
    }
    currInfoObj = infoObj;
  }
}
