document.forms["Main"].elements[actfn].value = ''; 
document.forms["Main"].elements[actfn].value = ''; 
function clearSimpleQuery(){	var fieldnames = new Array(	'all','title','category','object',									'name','iconography','dating_ext',									'material_ext','location_ext',									'location','literature','imageid');	var actfn = '';		for(var i =0; i < fieldnames.length; i++)	{		actfn = 'query['+fieldnames[i]+']';				if (document.forms["Main"].elements[actfn] != null)		{				document.forms["Main"].elements[actfn].value = '';					}	}		// reset image status query field	actfn = 'query[status]';		document.forms["Main"].elements[actfn].options[0].selected = true;		cleargroup();		return true;}
6770	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6770/572c3f2bb3a723427b3ca6f2c29ad27c0b612804/dilps.lib.js/buggy/dilps/dilps.lib.js