rem: var pwin = window.open( "", "print" ); pwin.document.write( docObj.innerHTML ); pwin.print( ); pwin.location.reload( ); 
add: var action = window.location.href; var reg = new RegExp( "/frameset[^\\?]*", "g" ); action = action.replace( reg, "/run" );  var divObj = document.createElement( "DIV" ); document.body.appendChild( divObj ); divObj.style.display = "none";  var formObj = document.createElement( "FORM" ); divObj.appendChild( formObj );  if ( !birtParameterDialog.collect_parameter( ) ) return;  if ( birtParameterDialog.__parameter != null ) { for( var i = 0; i < birtParameterDialog.__parameter.length; i++ ) { var param = document.createElement( "INPUT" ); formObj.appendChild( param ); param.TYPE = "HIDDEN"; param.name = birtParameterDialog.__parameter[i].name; param.value = birtParameterDialog.__parameter[i].value;   var reg = new RegExp( "&" + param.name + "[^&]*&*", "g" ); action = action.replace( reg, "&" ); } }  formObj.action = action; formObj.method = "post"; formObj.submit( );  window.print( ); 
context: 	__beh_print : function( id )	{		var docObj = document.getElementById( 'Document' );		if ( docObj )		{			var pwin = window.open( "", "print" ); 			pwin.document.write( docObj.innerHTML ); 			pwin.print( );			pwin.location.reload( );		}		else		{			window.print( );		}	},
meta: 855	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/855/fd5808d604ebbc8bd9946c14e770079e7cd27bf0/BirtReportDocument.js/buggy/viewer/org.eclipse.birt.report.viewer/birt/webcontent/birt/ajax/ui/report/BirtReportDocument.js