
// GLOBAL FUNCTIONS


//New Swap functions
function get(id)
{
    if (document.getElementById!=undefined) return document.getElementById(id);
    else return document.all[id];
}
function showDIV(id)
{
    get(id).style.display = 'block';
}
function hideDIV(id)
{
    get(id).style.display = 'none';
}
function toggleVisible(id)
{
    (get(id).style.display=='block') ? hide(id) : show(id);
}

window.onload = function(){
  var anchors = document.getElementById('twitter').getElementsByTagName('a');
  for (var i=0; i<anchors.length; i++){
    anchors[i].setAttribute('target', '_blank');
  }
}
