   
        function fnOnLoad()
        {
            if (!document.getElementsByTagName){ return; }
			var allfields = document.getElementsByTagName("input");

			// loop through all input tags and add events
			for (var i=0; i<allfields.length; i++){
				var field = allfields[i];
				if ((field.getAttribute("type") == "text") || (field.getAttribute("type") == "password") ) {
					field.onfocus = function () 
						{
							this.className = 'form11_a';
							if (document.getElementsByName(this.name+"_HINT" )) 
							{
								elem=(document.getElementsByName(this.name+"_HINT"))[0];
								if(elem!=undefined)
								{
									elem.className="show_hint";
								}
							}
						}
					field.onblur = function () 
						{
							this.className = 'form11';
							if (document.getElementsByName(this.name+"_HINT" )) 
							{
								elem=(document.getElementsByName(this.name+"_HINT"))[0];
								if(elem!=undefined)
								{
									elem.className="hide_hint";
								}
							}
						}
				}
				
			}
			var allfields = document.getElementsByTagName("textarea");
		    // loop through all input tags and add events
		    for (var i=0; i<allfields.length; i++)
			{
				var field = allfields[i];
			    field.onfocus = function () 
				{
					this.className = 'form11_a';
					if (document.getElementsByName(this.name+"_HINT" )) 
					{
							elem=(document.getElementsByName(this.name+"_HINT"))[0];
							if(elem!=undefined)
							{
								elem.className="show_hint";
							}
					}
				}
				field.onblur = function () 
				{
					this.className = 'form11';
					if (document.getElementsByName(this.name+"_HINT" )) 
						{
							elem=(document.getElementsByName(this.name+"_HINT"))[0];
							if(elem!=undefined)
							{
								elem.className="hide_hint";
							}
						}
				}
            }
			var allfields = document.getElementsByTagName("select");
		    // loop through all input tags and add events
		    for (var i=0; i<allfields.length; i++)
			{
				var field = allfields[i];
			    field.onfocus = function () 
				{
					//this.className = 'highlightActiveField';
					if (document.getElementsByName(this.name+"_HINT" )) 
					{
							elem=(document.getElementsByName(this.name+"_HINT"))[0];
							if(elem!=undefined)
							{
								elem.className="show_hint";
							}
					}
				}
				field.onblur = function () 
				{
					//this.className = 'highlightInactiveField';
					if (document.getElementsByName(this.name+"_HINT" )) 
						{
							elem=(document.getElementsByName(this.name+"_HINT"))[0];
							if(elem!=undefined)
							{
								elem.className="hide_hint";
							}
						}
				}
            }
        }