function profile_selector_focus(obj)
{
	profile_selector_saveStatus(obj); // save state before any change
}

function profile_selector_changed(obj)
{
	var newVal = obj.options[obj.selectedIndex].value;
	if (newVal == "") 
		obj.selectedIndex = profile_selector_oldSelectedIndex; // if this is a "non-selectable" option, then reset to previous value	
	else
		profile_selector_saveStatus(obj); // update saved state
}

function profile_selector_saveStatus(obj)
{
	profile_selector_oldSelectedIndex = obj.selectedIndex;
}