﻿function goToURL( url, target ){
    window.open( url, target );
}

function exibeSubMenu(itemIndex, itemCount)
{

  for (i=0; i < itemCount; i++)
  {
    obj = document.getElementById("subMenu" + i);
    
    if (obj != null)
      obj.style.display = "none";
      
  }
  
  obj = document.getElementById("subMenu" + itemIndex);
  
  if (obj != null)
    obj.style.display = "block";
  
}