function lookup(event){
shiftPressed = false;
	var word = '';
	event = (event) ? event  :((window.event) ? window.event : "");
	if (window.getSelection){
		word = window.getSelection();
	}else if (document.getSelection){
		word = document.getSelection();
	}else if (document.selection){
		word = document.selection.createRange().text;
		event.cancelBubble = true;
		document.selection.empty();
	}else return;
	word += '';
	if(word.charAt(word.length-1) == " ")word = word.substr(0,word.length-1);
	if(word.length >= 3){
		//document.frmSearch.q.value = word;
		//document.frmSearch.submit();
		document.location.href = 'index.php?process=1&type=0&q=' + word;
	}
}