rem: previewDiv.innerHTML = "Rendering ...."; 
add: previewDiv.innerHTML = "<img src=\"/sakai-rwiki-tool/images/ajaxload.gif\" />"; 
context: function previewContent(contentId,previewId,pageVersionId,realmId,pageNameId,url) {    try {	 	var content = document.getElementById(contentId);	 	var pageVersion = document.getElementById(pageVersionId);	 	var pageName = document.getElementById(pageNameId);	 	var realm = document.getElementById(realmId);	 	previewDiv = document.getElementById(previewId);	 	var formContent = new Array();	 	formContent[0] = "content"	 	formContent[1] = content.value;	 	formContent[2] = "pageName";	 	formContent[3] = pageName.value;	 	formContent[4] = "save";	 	formContent[5] = "render";	 	formContent[6] = "action";	 	formContent[7] = "fragmentpreview";	 	formContent[8] = "panel";	 	formContent[9] = "Main";	 	formContent[10] = "version";	 	formContent[11] = pageVersion.value;	 	formContent[12] = "realm";	 	formContent[13] = realm.value;	 	var myLoader = new AsyncDIVLoader();	 	myLoader.loaderName = "previewloader";	 	previewDiv.innerHTML = "Rendering ....";	 	myLoader.fullLoadXMLDoc(url,"divReplaceCallback","POST",formContent); 	} catch  (e) { 		alert("Failed to Load preview "+e); 	}}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/8066ea168e96a1211385bb15f06096f774beab10/stateswitcher.js/buggy/rwiki/rwiki-tool/tool/src/webapp/scripts/stateswitcher.js