<!--

function ViewPhotoset(paramPhotoNo) {
	document.forms[FormNo_Page].action = "/galleries/photoset.asp";
  document.forms[FormNo_Page].CurPhoto.value = paramPhotoNo;
	document.forms[FormNo_Page].submit();
}

/***********************************************************************************/

function ManagePhotos() {
	document.forms[FormNo_Page].action = "/galleries/edit/photo-manager.asp";
	document.forms[FormNo_Page].UserAction.value = "";
	document.forms[FormNo_Page].submit();
}

function DeleteGallery() {
	if (confirm("Click OK to permanently delete this gallery!\nOtherwise click Cancel.")) {
		document.forms[FormNo_Page].action = "/galleries/edit/gallery-delete.asp";
		document.forms[FormNo_Page].submit();
	}
}

function EditGallery() {
	document.forms[FormNo_Page].action = "/galleries/edit/gallery-edit.asp";
	document.forms[FormNo_Page].UserAction.value = "Edit Gallery";
	document.forms[FormNo_Page].Submitted.value = "no";
	document.forms[FormNo_Page].submit();
}

function NewGallery(paramMemberID) {
	document.forms[FormNo_Page].action = "/galleries/edit/gallery-edit.asp";
	document.forms[FormNo_Page].UserAction.value = "New Gallery";
  document.forms[FormNo_Page].MemberID.value = paramMemberID;
	document.forms[FormNo_Page].Submitted.value = "no";
	document.forms[FormNo_Page].submit();
}

function PendingApplications() {
	document.forms[FormNo_Page].action = "/galleries/admin/applications-manager.asp";
	document.forms[FormNo_Page].Submitted.value = "no";
	document.forms[FormNo_Page].submit();
}

function EditStandardComments() {
	document.forms[FormNo_Page].action = "/galleries/admin/queued-comments-main.asp";
	document.forms[FormNo_Page].Submitted.value = "no";
	document.forms[FormNo_Page].submit();
}

function StoreMsgURL(GalleryID) {
  document.forms[FormNo_Page].action = "/galleries/edit/store-url.asp";
  document.forms[FormNo_Page].UserAction.value = GalleryID;
  document.forms[FormNo_Page].submit();
}

function AwardsManager() {
  document.forms[FormNo_Page].action = "/galleries/edit/awards-manager.asp";
  document.forms[FormNo_Page].Submitted.value = "no";
  document.forms[FormNo_Page].submit();
}

function PrintGallery() {
  document.forms[FormNo_Page].action = "/galleries/printer-friendly.asp";
  document.forms[FormNo_Page].submit();
}

function AwardPhoto(AwardNo) {
  document.forms[FormNo_Page].action = "/galleries/award.asp";
  document.forms[FormNo_Page].UserAction.value = AwardNo;
  document.forms[FormNo_Page].submit();
}

function ReturnToGallery(GalleryNo) {
  DisableDynamicButton("Button_Back");
  document.forms[FormNo_Page].action = "/galleries/gallery/" + GalleryNo;
  document.forms[FormNo_Page].submit();
}

//-->
