<!--
//
// Function:      ArchiveGroup
//
// Written by:    Eric Zander (eric_zander@yahoo.com)
//
// Last Updated: 10 November 2004
//
// **** Permission to copy, modify & use for any reason provided you keep this header! Please give credit where credit is due.
// **** If you do use this script in any way, please drop me a note. It's free and it makes me feel good to know I helped someone.
//

function ArchiveActivateGroup(A, P, F, Page)
{

	var M = ""

	if(A==1)
	{
		M = "WARNING!\nYou are about to archive this group.\n\nAre you sure you want to archive this group?\n"
	}
	if(A==2)
	{
		M = "WARNING!\nYou are about to activate this group.\n\nAre you sure you want to activate this group?\n"
	}

	if (confirm(M))
		{
			document.location.href = Page + "?A=" + A + "&P=" + P + "&F=" + F;
		}
  
}

//-->