function Search() {	var strView = 'sw'+strLanguage;	var doc = document.forms[0];	var strSearch = '';		if (doc.FullText.value != '') {		strSearch ='[$FILE]=*' + doc.FullText.value + '* OR ' +				'[Body]=*' + doc.FullText.value + '*';	} else {		return;	}	if (strSearch == '') {		alert('Insert Search Filters');		document.forms[0].FullText.focus();		return;	}		top.location.href='/'+dbCur+'/'+strView+'?SearchView&Query='+strSearch+'&vista='+strView+'&';	return false;}document.forms[0].onkeypress = captureEnter;if (document.layers) document.captureEvents(Event.KEYPRESS); function captureEnter(e) {	var pK = e ? e.which : window.event.keyCode;	if (pK==13) {		Search();		return false;	}	return;} 