var formAction = 'search/'; 
var formAction = fp.action; 
function ajaxsearch(){	var searchForm = document.getElementById('event_search');	var searchSubmit = searchForm.getElementsByTagName('input')[1];	var fp = document.getElementById('event_search');	var formAction = 'search/';	formAction = formAction.substring(0,formAction.indexOf('search'));	document.event_search.onsubmit = function(){		var searchVal = document.getElementById('searchinput').value;		while (searchVal.indexOf('#')>-1) {			searchVal = searchVal.replace(/#+/,'');		}		var searchVars = new Array();		searchVars['q'] = searchVal;		searchVars['format'] = 'hcalendar';		searchVars['search'] = 'search';		document.getElementById('load').innerHTML = '<img src="/ucomm/templatedependents/templatecss/images/loading.gif" />';		ajaxEngine(formAction, 'search', searchVars)		return false;	}}
6157	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6157/95e5ef9fd1caeb778582df55228f83fccea4cbed/frontend.js/clean/templates/default/frontend.js