	function hilite(id)
	{
		
		// types to look for
		
		var tags = new Array('INPUT', 'SELECT', 'TEXTAREA');
		var types = new Array('text', 'password', 'textarea', 'select');
		
		// item to hilite
		
		var currentBox = document.getElementById(id);
		
		// clear all
		
		for(i=0; i<tags.length; i++)
		{
		
			var inputs = document.getElementsByTagName(tags[i]);
			for(j=0; j<inputs.length; j++)
			{
				
				// if we have a match, clear it
	
				if(inputs[j].className == 'textboxhilite')
				{
					
					inputs[j].className = 'textbox';
					
				}
				
			}
			
		}

		/*
		/* highlight the selected item */
		
		for(i=0; i<types.length; i++)
		{
			
			if(currentBox.type == types[i] || currentBox.type == 'undefined')
				currentBox.className='textboxhilite';
				
		}

	}