// JavaScript Document


     function showhide(id)
       {
          if (document.getElementById){
                obj = document.getElementById(id);
                if (obj.style.display == "none"){
                    obj.style.display = "";
                } else {
                    obj.style.display = "none";
                }
            }
        } 

       function showhide2(id, id2)
       {
          if (document.getElementById){
                obj = document.getElementById(id);
                if (obj.style.display == "none"){
                    obj.style.display = "";
                } else {
                    obj.style.display = "none";
                }
            }
          if (document.getElementById){
                obj = document.getElementById(id2);
                if (obj.style.display == "none"){
                    obj.style.display = "";
                } else {
                    obj.style.display = "none";
                }
            }
            
        } 


function confirm_delete()
	{
	if (confirm("DELETE:\nAre you sure you want to delete this item?")==true)
		return true;
	else
		return false;
	}

function confirm_email()
	{
	if (confirm("EMAIL:\nAre you sure you want send an email invoice to the selected recipients?")==true)
		return true;
	else
		return false;
	}

function confirm_auto_charge()
	{
	if (confirm("AUTO-CHARGE:\nAre you sure you want charge each of the selected recipients?")==true)
		return true;
	else
		return false;
	}
function confirm_advance()
	{
	if (confirm("AUTO-CHARGE:\nAre you sure you want advance these student programs by one year?")==true)
		return true;
	else
		return false;
	}
