<!--
function orderItems(list,to,adjust)
{
	var index = list.selectedIndex;
	var total = list.options.length-1;
	if (index == -1) return false;
	if (to == +1 && index == total) return false;
	if (to == -1 && index == 0) return false;
	
	var origSelTxt = list.options[index].text;
	var origSelVal = list.options[index].value;
			
	var nextSelTxt =list.options[index + to].text;
	var nextSelVal =list.options[index + to].value;
	
	list.options[index].text=nextSelTxt;
	list.options[index].value=	nextSelVal;
	list.options[index + to].text=origSelTxt;
	list.options[index + to].value=	origSelVal;		
	list.options[index + to].selected = true;
	list.options[index].selected = false;
	list.focus();
	adjustValue(list,adjust);
}

function adjustValue(thelist,adjustElem)
{
	var mesg = '';
	for (var i=0;i<thelist.length;i++)
	{	
		if(thelist.options[i].value !='undefined')
		{
			mesg += (thelist.options[i].value + ",");
		}
	}
	adjustElem.value = mesg;
}
-->
