function getElementsByClassName(classname, node) {
    if(!node) node = document.getElementsByTagName("body")[0];
    var a = [];
    var re = new RegExp('\\b' + classname + '\\b');
    var els = node.getElementsByTagName("*");
    for(var i=0,j=els.length; i<j; i++)
    if(re.test(els[i].className))a.push(els[i]);
    return a;
}

function startOverflow() {
  // only ie6
  if (!window.XMLHttpRequest) {
  var a = getElementsByClassName('ie6hoverTarget');
  for(var i = 0; i < a.length; i++){
      a[i].onmouseover=function() {
          this.className+=" ie6hover";
      }
      a[i].onmouseout=function() {
          this.className=this.className.replace(" ie6hover", "");
      }
  }
  }
}
