rem: action = action + '&__format=pdf'; 
add: action = action + "&__format=pdf"; 
context: 	__beh_pdf : function( id )	{			var docObj = document.getElementById( 'Document' );		if ( !docObj || birtUtility.trim( docObj.innerHTML ).length <= 0)		{			alert ( "Report document should be generated first." );				return;		}			else		{				var divObj = document.createElement( "DIV" );			document.body.appendChild( divObj );			divObj.style.display = "none";					var formObj = document.createElement( "FORM" );			divObj.appendChild( formObj );			// Replace "html" to "pdf"			var action = window.location.href;						var reg = new RegExp( "&__format=html", "g" );			if ( action.search( reg ) > -1 )			{				action = action.replace( reg, "&__format=pdf" );			}			else			{				action = action + '&__format=pdf';			}			formObj.action = action;			formObj.method = "post";						formObj.submit( );		}	}		
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