/* BY DEFAULT SET THE FOCUS ON THE FIRST INPUT ELEMENT */
try {
if (document.getElementsByTagName && AttachEvent) {

	function _setCursorFocusOnSearch(e) {
		try {
			var els = document.getElementsByTagName('input');
			for (var i = 0, iLen = els.length; i < iLen; i++)
				if (els[i].type.toLowerCase() == 'text') {
				
					els[i].focus();
					return true;
				}
			return false;
		} catch (e) {
			return false;
		}
	}
	
	//commented out because links to named anchors jump up to the top of the screen
	//at the caret in the search window
	//AttachEvent(window, 'load', _setCursorFocusOnSearch, true);
	
	
}
} catch (e) {
	// do nothing
}
