function printPreview() {
  var i;
  var aDivId = new Array('mtop', 'bar', 'pt', 'footer', 'cr', 'cl', 'mnytop', 'mnysky', 'comments','mnyscr','mny_kropek');  
  for(i = 0; i < aDivId.length; i++) {    
    if(oDivObj = document.getElementById(aDivId[i])) {
      oDivObj.style.display = 'none';      
      oDivObj.innerHTML = '';
    }
  }   
  if(oDivObj = document.getElementById('ctnt')) {
    oDivObj.style.background = 'none';      
  }    
  if(oDivObj = document.getElementById('main')) {
    oDivObj.style.width = 'auto';
	oDivObj.style.background = 'none'; 
  }    
  if(oDivObj = document.getElementById('hdr')) {
    oDivObj.style.background = 'none';      
    oDivObj.style.borderBottom = '1px solid #cccccc';      
    oDivObj.style.textAlign = 'left';
    oDivObj.innerHTML = '<div style="margin:auto;width:770px"><img src="/i/loga/logo2.gif" alt="Money.pl" width="134" height="44" style="margin:0;"></div>';
  }
   if(oDivObj = document.getElementById('body')) {
    oDivObj.style.background = 'none';      
    
  }
    
  window.print();
}