function hideTCTElement(id) {
    var el = document.getElementById(id);
    if (el) el.style.display = 'none';
}
function showTCTElement(id) {
    var el = document.getElementById(id);
      if (el) el.style.display = 'inline';
}

function bookmarksite(entrytitle,url){
title = entrytitle;
if (window.sidebar) 
  { // Mozilla Firefox Bookmark		
  window.sidebar.addPanel(title, url,"");	
  } 
else if( window.external ) 
  { // IE Favorite		
  window.external.AddFavorite( url, title); 
  }	
else if(window.opera && window.print) 
  { // Opera Hotlist		
  return true; 
  }
}

// ***** Toggle Visibility *****
  function toggle_visibility(id, idimage, add, remove) {
    var e = document.getElementById(id);
    //       var f = document.getElementById(idtext);
    var g = document.getElementById(idimage);
    if(e.style.display == 'inline')
      {
      e.style.display = 'none'; 
    //          f.innerHTML = 'Show';
      g.src = 'http://www.theconsultingtimes.com/mt-static/mt-icons/'+add;
      }
    else
      {
      e.style.display = 'inline';
    //          f.innerHTML = 'Hide';
      g.src = 'http://www.theconsultingtimes.com/mt-static/mt-icons/'+remove;
      }
  }

function nav(sel) {
    if (sel.selectedIndex == -1) return;
    var opt = sel.options[sel.selectedIndex];
    if (opt && opt.value) location.href = opt.value;
  }
