var m_IsIE = (document.all != null);

function TabHovHL(p_obj,p_Color)
{
  while (p_obj.tagName.toUpperCase()!='TD' && p_obj!=null)
  {
    p_obj=(document.all?p_obj.parentElement:p_obj.parentNode);
  }
  if (p_obj)
  {
    if(p_Color==null)
    {
      p_obj.bgColor=p_obj.id;
    }
    else
    {
      p_obj.bgColor=p_Color;
    }
  }
}

function ShowHide(p_Item)
{
  m_ButtonID=document.getElementById('FPFButton');
  m_PanelID =document.getElementById('FPFFoldOut');
  if(m_ButtonID.value=="Show me more...")
  {
    m_ButtonID.value="Show me less...";
    m_PanelID.display='';
  }
  else
  {
    m_ButtonID.value="Show me more...";
  }
}

function ShowSlide(p_url)
{
  document.images['Screen'].src=p_url;
}


//SHOWHIDEPOPUP : Handles Mouseover & MouseOut events for pop-up menu panel.
function ShowHideFPF()
{
  m_Button=document.getElementById('FPFButton');
  m_Panel =document.getElementById('FPFPanel');

  m_Panel.style.display=(m_Panel.style.display=='block'?'none':'block');
  m_Button.value=(m_Button.value=='Show me more...'?'Close Windows 7 feature list...':'Show me more...');
  if(m_Panel.style.display=='none')
  {
    document.location='#FPF';
  }

}
