<!--


function DeleteStaff(ID){
     input_box=confirm("Are you sure you want to delete this member of staff and all associations on the WEB site?");
          if (input_box==true)
{ 
// Output when OK is clicked
window.location.href = "index.asp?editpage=staff&delete_staff=yes&staff_ID="+ID;
}
else
{
// Output when Cancel is clicked
}
} 


function DeleteMenuOption(ID){
     input_box=confirm("Are you sure you want to delete this menu option and all associated sub menu options from the WEB site?");
          if (input_box==true)
{ 
// Output when OK is clicked
window.location.href = "index.asp?editpage=menu&delete_MenuOption=yes&nav1_ID="+ID;
}
else
{
// Output when Cancel is clicked
}
}


function DeleteSubMenuOption(ID){
     input_box=confirm("Are you sure you want to delete this sub-menu option from the WEB site?");
          if (input_box==true)
{ 
// Output when OK is clicked
window.location.href = "index.asp?editpage=submenu&delete_SubMenuOption=yes&nav2_ID="+ID;
}
else
{
// Output when Cancel is clicked
}
}

   
 
function DeleteGroupMember(ID,StaffGroup,GroupID){
     input_box=confirm("Are you sure you want to remove this member of staff from this group?");
          if (input_box==true)
{ 
// Output when OK is clicked
window.location.href = "index.asp?selected=yes&editpage=staffgroups&delete_groupMember=yes&StaffGroupMember_ID="+ID+"&StaffGroupName="+StaffGroup+"&StaffGroup_ID="+GroupID;
}
else
{
// Output when Cancel is clicked
}
}      




function DeleteStaffGroup(ID){
     input_box=confirm("Are you sure you want to remove this Staff Group from the WEB Site?");
          if (input_box==true)
{ 
// Output when OK is clicked
window.location.href = "index.asp?editpage=staffgroups&delete_Group=yes&StaffGroup_ID="+ID;
}
else
{
// Output when Cancel is clicked
}
}

  
 

function DeletePage(ID){
     input_box=confirm("Are you sure you want to delete this page from the system? All associated sections will be deleted with it.");
          if (input_box==true)
{ 
// Output when OK is clicked
window.location.href = "index.asp?editpage=page&delete_page=yes&page_ID="+ID;
}
else
{
// Output when Cancel is clicked
}
}   


function DeleteSection(ID,ID2){
     input_box=confirm("Are you sure you want to delete this section from the current page?");
          if (input_box==true)
{ 
// Output when OK is clicked
window.location.href = "index.asp?delete_section=yes&section_ID="+ID+"&page_ID="+ID2;
}
else
{
// Output when Cancel is clicked
}
} 
 
 
// --->
