function googleSearch() {
	
    var agt=navigator.userAgent.toLowerCase();
    var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));

	if (is_ie) term = document.selection.createRange().text;
	else term = window.getSelection();
	
	if ((!term) || (term == '')) void( term = prompt('Enter search string:','') );

	if (term) window.open('http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=%22'+escape(term)+'%22');

	return false;
	
}
