// JavaScript Document
function resort (target, id, location){// e.g. (this, 1, 3)
	/*
	target.value = new position
	id = the id of the object to reposition
	location = page to redirect to for repositioning (typically this one - PHP-SELF)
	*/
	new_value = target.value;
	//alert (location);
	redirect = location+'?id='+id+'&position='+new_value;
	window.location = redirect;
	//alert (location+'?id='+id+'&position='+new_value;);
	return true;
}