var oldlink = 0;

function popup(x,y,file)
{
  fenster = window.open(file,'popup'+y,'height='+y+',width='+x+',status=no');
  fenster.focus();
}

function highlight(link)
{
  if (oldlink != 0 && oldlink != "home")
  {
    document.getElementById(oldlink).firstChild.getAttributeNode("class").nodeValue = "no";
  }
  oldlink = link;
  
  if (link != "home")
  {
    document.getElementById(link).firstChild.getAttributeNode("class").nodeValue = "act";
  }
  
//  alert(document.getElementById("microsoft").childNodes.length);
  
  if (document.getElementById("microsoft"))
  {
    if (link == "link01")
    {
      document.getElementById("microsoft").firstChild.firstChild.getAttributeNode("class").nodeValue = "imageShow";
    }
    else
    {
      document.getElementById("microsoft").firstChild.firstChild.getAttributeNode("class").nodeValue = "imageNoShow";  
    }
  }
}

