function setVisible()
{
  for (var i=0; i<setVisible.arguments.length; ++i) {
    if (document.getElementById(setVisible.arguments[i])!= null){
      document.getElementById(setVisible.arguments[i]).style.visibility = "visible";
    }
  }
}

function setHidden()
{
  for (var i=0; i<setHidden.arguments.length; ++i) {
    if (document.getElementById(setHidden.arguments[i])!= null){
      document.getElementById(setHidden.arguments[i]).style.visibility = "hidden";
    }
  }
}
function posOLD(Element,tab,hLeft) {
  if(document.getElementById(tab)!=null){
    var posLeft = Element.offsetLeft;
    var pos = posLeft+hLeft;
    //window.status = "posLeft+hLeft= "+pos+ " und nu "+document.getElementById(tab).style.left;
    document.getElementById(tab).style.left=pos;
  }
  return 0;
}

function pos(Element,tab,hLeft) {
  if(document.getElementById(tab)!=null){
    var posLeft = Element.offsetLeft;
    var posLeft2 = document.all.b2000.offsetLeft
    var pos = posLeft+posLeft2;
    //window.status = "TagName: "+Element.offsetParent.offsetLeft+" "+posLeft2+" offsetParent2: "+document.all.Tabelle_01.offsetLeft +" posLeft("+posLeft+")+hLeft("+hLeft+")= "+pos+ " und nu "+document.getElementById(tab).style.left;
    document.getElementById(tab).style.left=pos;
  }
  return 0;
}

var aktiv
function initScroll()
{
  aktiv = window.setInterval("setPosEbene2()",50); //25
  //window.status("NetCon Solutions AG");
}

function setPosEbene2()
{
      var posLeft2 = document.all.Tabelle_01_FLASH.offsetLeft;
      document.getElementById("b2000").style.left = posLeft2;
      document.getElementById("b2001").style.left = posLeft2;
      document.getElementById("b2002").style.left = posLeft2;
      document.getElementById("b2003").style.left = posLeft2;
      document.getElementById("b2004").style.left = posLeft2;
      document.getElementById("b2005").style.left = posLeft2;
      document.getElementById("b2006").style.left = posLeft2;
}

function getLeft(h_id)
{
 if(document.getElementById(h_id)!= null) {
   var pos = document.getElementById(h_id).style.left;
   //window.status = pos;
   //alert("pos "+pos);
 }
 return  0;
}

function setBackground(h_id,farbe)
{
 if(document.getElementById(h_id)!= null) {
   document.getElementById(h_id).style.background=farbe;
 }
 return 0;
}

function fett(h_id)
{
 if(document.getElementById(h_id)!= null) {
  document.getElementById(h_id).style.fontWeight="bold";
 }
 return 0;
}

function duenn(h_id)
{
 if(document.getElementById(h_id)!= null) {
  document.getElementById(h_id).style.fontWeight="normal";
 }
 return 0;
}
/*font-weight: bold;*/
function swapFontWeight(h_id,_weight)
{
 document.getElementById(h_id).style.fontWeight=_weight;
 return 0;
}

function swapColor(h_id,_color)
{
 document.getElementById(h_id).style.color=_color;
 return 0;
}

function swapBgColor(h_id,_bgcolor)
{
 document.getElementById(h_id).style.backgroundColor=_bgcolor;

 return 0;
}