<!--


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 deletePage(ID){
     input_box=confirm("Are you sure you want to delete this page, all content and all menu associations? You might want to just hide from the menus for now ... just a thought");
          if (input_box==true)
{ 
// Output when OK is clicked
window.location.href = "index.asp?editpage=page&deletePage=yes&WP_ID="+ID;
}
else
{
// Output when Cancel is clicked
}
}

 
function delImage(ID,pageID){
     input_box=confirm("Are you sure you want to delete this image.");
          if (input_box==true)
{ 
// Output when OK is clicked
window.location.href = "iindex.asp?editContent=yes&&removepicture=yes&section_ID="+ID+"&page_ID="+pageID;
}
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 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
}
} 
 
 
// --->

