	function addOption( selectId, txt, val, color )
	{
		var objOption = new Option( txt, val );
		if ( color && objOption.style )
		{
			objOption.className = 'sel_' + color;
		}; //if
		sl = getObjectByID( selectId );
		if ( sl )
		{
			if ( document.all )
			{
				sl.options.add( objOption );
			} else
			{
				sl.options[sl.options.length] = objOption;
			}; //if
		}; //if
	}; //func

	function selectOption( selectId, index )
	{
		sl = getObjectByID( selectId );
		if ( sl  )
		{
			sl.selectedIndex = index;
		}; //if
	}; //func

	function clearOptions( selectId )
	{
		sl = getObjectByID( selectId );
		if ( sl  )
		{
			while ( sl.length > 0 )
			{
				sl.remove( 0 );
			}; //while
		}; //if
	}; //func
