<!--

function FilterByCategory(CategoryNo) {
  if (document.forms[FormNo_Page].FilterCategory.value == CategoryNo) {
    document.forms[FormNo_Page].FilterCategory.value = 0;
  } else {
    document.forms[FormNo_Page].FilterCategory.value = CategoryNo;
  }
  document.forms[FormNo_Page].submit();
}

function FilterByYear(YearNo) {
  if (document.forms[FormNo_Page].FilterYear.value == YearNo) {
    document.forms[FormNo_Page].FilterYear.value = 0;
  } else {
    document.forms[FormNo_Page].FilterYear.value = YearNo;
  }
	document.forms[FormNo_Page].submit();
}

function FilterByOwner(ScreenNameNo) {
  document.forms[FormNo_Page].MemberToView.value = ScreenNameNo;
  document.forms[FormNo_Page].action = "/galleries/member/" + ScreenNameNo;
  document.forms[FormNo_Page].submit();
}

/***********************************************************************************/

function NewGallery() {
	document.forms[FormNo_Page].action = "/galleries/edit/gallery-edit.asp";
	document.forms[FormNo_Page].UserAction.value = "New Gallery";
	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();
}

/***********************************************************************************/

//-->
