function printPage() {
  var i;
  var aDivId = new Array('top','prawa_podstrona','bottom','drukuj');  
  for(i = 0; i < aDivId.length; i++) {    
    if(oDivObj = document.getElementById(aDivId[i])) {
      oDivObj.style.display = 'none';      
      oDivObj.innerHTML = '';
    }
  }  
  
  if(oDivObj = document.getElementById('main')) {
    oDivObj.style.width = 'auto';
		oDivObj.style.background = 'none'; 
  }  
    
  if(oDivObj = document.getElementById('top_content')) {
    oDivObj.style.background = 'none';      
    oDivObj.style.borderBottom = '1px solid #cccccc';      
    oDivObj.style.textAlign = 'left';
    oDivObj.innerHTML = '<div style="padding-left:23px;padding-top:10px;"><a href="index.php"><img src="/images/logo_pfleiderer.jpg" border="0"></a></div><br/>';
  }
  
  if(oDivObj = document.getElementById('body')) {
    oDivObj.style.background = 'none';       
  }
    
  window.print();
}