rem: var form			= d.getElementById('savepost_form'); var preview_holder	= d.getElementById('ajax_post_preview'); 
add: var form			= FA.getObj('savepost_form'); var preview_holder	= FA.getObj('ajax_post_preview'); 
context: function getPostPreview(k4_http) {	// try to get the form and preview holder	var form			= d.getElementById('savepost_form');	var preview_holder	= d.getElementById('ajax_post_preview');		FAHTTP.cancelLoader('preview');	// if everything looks good	if(preview_holder && form) {				var response = k4_http.getResponseText();						// if there is no response		if(response == null || response == '') {			form.submit();			preview_holder.style.display = 'none';				// if there is a response		} else {			// get an error string if any			var errorstr = responseError(response);							// if there is an error			if(errorstr != '') {				preview_holder.innerHTML = '<div class="base2" style="text-align:center;">' + errorstr + '</div><br />';						// otherwise			} else {				preview_holder.style.display = 'block';				preview_holder.innerHTML = response;			}		}	}}
meta: 8193	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8193/d55368118dec4a8f237e8e432dd97304d21083d6/http_requests.js/buggy/trunk/upload/js/http_requests.js