  function moveHeader() 
  {
    var vc = cn( cn( document.all.tableheadings,0 ),1 ).childNodes;
	   if ( vc[0].offsetWidth < 1 ) return;
    for ( i = 0; i < vc.length; i++ ) 
				{
	     if (vc[i].offsetWidth < 1 ) vc[i].width='1px';
      else vc[i].width=vc[i].offsetWidth;
    }
				var fc = cn( cn( document.all.tableheadings,0 ),0 );
	   var newHead =  "<table border=0 cellpadding=0 cellspacing=0 style='height:18px;' width=100%><tr><td class=richLightBack>";
        newHead +=  "<table border=0 cellpadding=0 cellspacing=0 class=listFormat id=copyiedHeader style='height:18px;table-layout:fixed;'>";
								newHead += "<tr height=18 class='richLightBack'>" + fc.innerHTML + "</tr>";
        newHead += "</table></td></tr></table>";		
    fc.style.display='none';
    insertAdjacentHTML(document.all.genericScroller, "BeforeBegin",newHead);
    var c = cn( cn( document.all.copyiedHeader,0 ),0 ).childNodes;
    for ( i = c.length-1; i > -1; i-- ) 
				{
	     if (vc[i].offsetWidth < 1 ) c[i].width = '1';
      else c[i].width = vc[i].offsetWidth;
    }
	   addToGlobalEventHandler( "onresize", window, "keepHeadersInline()" );
				keepHeadersInline();
  }
  
  var keepTimer;
  function keepHeadersInline()
  {
    keepTimer=setTimeout( "keepHeadersInlineTimer()",100 );
  }
  function keepHeadersInlineTimer(){
    var vc = cn( cn( document.all.tableheadings,0 ),1 ).childNodes;	  
    var c = cn( cn( document.all.copyiedHeader,0 ),0 ).childNodes;
    for ( i = c.length-1; i > -1; i-- ) 
				{
	     if (vc[i].offsetWidth < 1 ) c[i].width = '1';
      else c[i].width = vc[i].offsetWidth;
    }	
  }