	addEvent(window, 'load', AddTextFieldFocusBehaviour);
		function addEvent(obj, evType, fn) {
		if (obj.addEventListener){
			obj.addEventListener(evType, fn, true);
			return true;
		} else if (obj.attachEvent){
			var r = obj.attachEvent("on" + evType, fn);
			return r;
		} else {
			var r = fallbackAddEventListener(obj, evType, fn);
			return r
		}
		return false;
	}
	function AddTextFieldFocusBehaviour() {
		var el = document.getElementById("word");
		if (el) {
			addEvent(el, 'focus', TextFieldFocus);
			addEvent(el, 'blur', TextFieldBlur);
		}
	}
	function TextFieldFocus(e) {
		var txt = SourceElement(e)

		if (txt && txt.value == txt.title) {
			txt.value = '';
		}
	}
	function TextFieldBlur(e) {
		var txt = SourceElement(e)

		if (txt && txt.value == '') {
			txt.value = txt.title;
		}
	}
	function SourceElement(e) {
		var el
		if (e && e.target) el = e.target;
		else el = event.srcElement;
		return el;
	}
	function GoTo(p){
		document.content.page.value=p; 
		document.content.submit();
	}
	function popUp(URL,WindowName,resizable,scrollbars,width,height){
	window.open (URL,WindowName,"tollbar=0,resizable="+resizable+",scrollbars="+scrollbars+",width="+width+",height="+height+",left="+(screen.width-width)/2+",top="+(screen.height-height)/2+"");	}
	function dialog(URL,WindowName,resizable,scrollbars,width,height){
		window.showModelessDialog(URL, WindowName, "dialogHeight: "+height+"px; dialogWidth: "+width+"px; dialogTop: "+(screen.height-height)/2+"px; dialogLeft: "+(screen.width-width)/2+"px; edge: Sunken; center: Yes; help: No; resizable: "+resizable+"; status: No;");	
	}