function CW(message)
{
  try{
    Element.show('debugwindow');
  }
  catch(e)
  {
    var dw = '<div style ="'+
                    'right:0pt;'+
                    'opacity:0.6;'+
                    'position:fixed;'+
                    'top:0pt;'+
                    'width:300px;'+
                    'height:600px;'+
                    'z-index:3;'+
                    'background-color:#85BBEF;'+
                    'overflow:auto;'+
                    'display:none;"'+
              'id="debugwindow">'+
              '</div>';
  
    document.body.innerHTML += dw;
    Element.show('debugwindow');
  }
  $('debugwindow').innerHTML += message+"<br />";
}


