// JavaScript Document
function moveOptions(optionsOut,optionsIn) {
  var dump= new Array();
  for (var i=0; i < optionsOut.length; i++) {
    if (optionsOut.options[i].selected) {
      optionsIn.options[optionsIn.length]= new Option(optionsOut.options[i].text, optionsOut.options[i].value);
      dump[dump.length]= optionsOut.options[i].text;
    }
  }
  for (var i=0; i < dump.length; i++) {
    for (var j=0; j < optionsOut.length; j++) {
      if (optionsOut.options[j].text == dump[i]) {
        optionsOut.options[j]= null;
      }
    }
  }
}

function confirmDelete()
{
	if (confirm("Are you sure you want to delete selected level?  Delete action will not be permitted if there is practice assigned with that membership level. "))
		return true;
	else
		return false;
}

function confirmPracDelete()
{
	if (confirm("Are you sure you want to delete selected practice?"))
		return true;
	else
		return false;
}

function confirmPackageDelete()
{
	if (confirm("Are you sure you want to delete selected package?"))
		return true;
	else
		return false;
}

function confirmGenDelete()
{
	if (confirm("Are you sure you want to delete the selected item?"))
		return true;
	else
		return false;
}

function confirmSubmit()
{
	if (confirm("Are you sure you want to submit this question?"))
		return true;
	else
		return false;
}

//-->
