  var oSep = $( 'exportDataCSVSeparator' ); if( oSep && oSep.value != '' ) { var hiddenSep = document.createElement( 'input' ); hiddenSep.type = 'hidden'; hiddenSep.name = Constants.PARAM_SEP; hiddenSep.value = oSep.value; hiddenForm.appendChild( hiddenSep ); } 
	__constructForm : function( )	{		var dialogContent = $( 'simpleExportDialogBody' );		var hiddenDiv = document.createElement( 'div' );		hiddenDiv.style.display = 'none';		var hiddenForm = document.createElement( 'form' );		hiddenForm.method = 'post';		hiddenForm.target = '_self';		var url = document.location.href;		url = url.replace( /[\/][a-zA-Z]+[?]/, '/download?' );		hiddenForm.action = url;				// Pass over current element's iid.		var queryNameInput = document.createElement( 'input' );		queryNameInput.type = 'hidden';		queryNameInput.name = "ResultSetName";		var oSelects = this.__instance.getElementsByTagName( 'select' );		queryNameInput.value = oSelects[0].options[oSelects[0].selectedIndex].text;		hiddenForm.appendChild( queryNameInput );		// Total # of selected columns.		if ( this.selectedColumns.length > 0 )		{			var hiddenSelectedColumnNumber = document.createElement( 'input' );			hiddenSelectedColumnNumber.type = 'hidden';			hiddenSelectedColumnNumber.name = "SelectedColumnNumber";			hiddenSelectedColumnNumber.value = this.selectedColumns.length;			hiddenForm.appendChild( hiddenSelectedColumnNumber );			// data of selected columns.			for( var i = 0; i < this.selectedColumns.length; i++ )			{				var hiddenSelectedColumns = document.createElement( 'input' );				hiddenSelectedColumns.type = 'hidden';				hiddenSelectedColumns.name = "SelectedColumn" + i;				hiddenSelectedColumns.value = this.selectedColumns[i];				hiddenForm.appendChild( hiddenSelectedColumns );			}		}				this.selectedColumns = [];				// Pass the export data encoding				var oUTF8 = $( 'UTF8Encoding' );		var hiddenEnc = document.createElement( 'input' );		hiddenEnc.type = 'hidden';		hiddenEnc.name = '__exportEncoding';		if( oUTF8 && oUTF8.checked )		{			hiddenEnc.value = oUTF8.value;		}		else		{			hiddenEnc.value = $('otherEncoding_input').value;		}		hiddenForm.appendChild( hiddenEnc );				var tmpSubmit = document.createElement( 'input' );		tmpSubmit.type = 'submit';		tmpSubmit.value = 'TmpSubmit';		hiddenForm.appendChild( tmpSubmit );				hiddenDiv.appendChild( hiddenForm );		dialogContent.appendChild( hiddenDiv );		tmpSubmit.click( );		dialogContent.removeChild( hiddenDiv );	},
9270	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9270/183a4eef0f755c872f0d31b8cca4f2badcf5b196/BirtSimpleExportDataDialog.js/clean/viewer/org.eclipse.birt.report.viewer/birt/webcontent/birt/ajax/ui/dialog/BirtSimpleExportDataDialog.js