var action = window.location.href; 
var action = soapURL; 
	__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( "([&|?]{1}__format\s*)=([^&|^#]*)", "gi" );			if( action.search( reg ) < 0 )			{				action = action + "&__format=pdf";			}			else			{				action = action.replace( reg, "$1=pdf" );			}						// Force "__overwrite" as false			reg = new RegExp( "([&|?]{1}__overwrite\s*)=([^&|^#]*)", "gi" );			if( action.search( reg ) < 0 )			{				action = action + "&__overwrite=false";			}			else			{				action = action.replace( reg, "$1=false" );			}									formObj.action = action;			formObj.method = "post";						formObj.submit( );		}	},
9270	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9270/57c6f1556d319f026af64b96544c98b87cc82d4f/BirtReportDocument.js/clean/viewer/org.eclipse.birt.report.viewer/birt/webcontent/birt/ajax/ui/report/BirtReportDocument.js