
function submitDonationForm() {

	objDonationForm = document.getElementById("donationForm");

	strAmountField = objDonationForm.amount.value;
	strItemField = "b-3212^991003^Donation,$" + strAmountField + "^" + strAmountField + "^1";

	objWindow239478 = window.open('http://www.cartserver.com/sc/cart.cgi?amount=' + strAmountField + '&item=' + strItemField + '&buy=Purchase', 'objWindow239478', 'width=750,height=400,resizable=yes,scrollbars=yes');
	objWindow239478.focus();

}

function submitVirtualCartForm() {

	objCartForm = document.getElementById("virtualCartForm");
	intDollarAmount = document.getElementById("price").value;
	intQty = document.getElementById("qty").value;

	objWindow38024 = window.open('http://www.cartserver.com/sc/cart.cgi?item=b-3212^196^Gift+Certificates+^' + intDollarAmount + '^' + intQty + '^^^^^', 'objWindow38024', 'width=750,height=400,resizable=yes,scrollbars=yes');
	objWindow38024.focus();

}

function openContactUsForm() {

	objWindow2347i0 = window.open("/contact-us.asp", "objWindow2347i0", "width=500,height=450,resizable=yes,scrollbars=yes");
	objWindow2347i0.focus();

}

function openSubscribeForm() {

	objWindowjhnd893 = window.open("/subscribe.asp", "objWindowjhnd893", "width=400,height=300,resizable=yes,scrollbars=yes");
	objWindowjhnd893.focus();

}

function openVolunteerRegistrationForm() {

	objWindow82he8 = window.open("/volunteer.asp", "objWindow82he8", "width=500,height=450,resizable=yes,scrollbars=yes");
	objWindow82he8.focus();

}

function openUsherSignupForm() {

	objWindowkas83hf34 = window.open("/volunteer-events.asp", "objWindowkas83hf34", "width=500,height=450,resizable=yes,scrollbars=yes");
	objWindowkas83hf34.focus();

}

function ticketPurchaseWindow(intShowID) {

	objWindow947209 = window.open('/purchase-tickets.asp?id=' + intShowID, 'objWindow947209', 'width=750,height=400,resizable=yes,scrollbars=yes');
	objWindow947209.focus();

}

function slideShow(aryImages) {

	intInterval = 3000;
	intIntervalCounter = 0;
	
	if (document.getElementById("slideShowImg")) {

		objImageTag = document.getElementById("slideShowImg");
	
		if (aryImages.length > 0) {
		
			for (intSlideShowLoop=0;intSlideShowLoop<10;intSlideShowLoop++) {
		
				for (intSlideLoop=0;intSlideLoop<aryImages.length;intSlideLoop++) {
					setTimeout("objImageTag.src = aryImages[" + intSlideLoop + "];", intInterval * intIntervalCounter);
					intIntervalCounter++;
				}
		
			}
			
			setTimeout("objImageTag.src = aryImages[0];", intInterval * intIntervalCounter);
	
		}

	}
	
}

function openMediaWindow(strFileName, strFileType, strPageTitle) {

	objWindow394790 = window.open('/media-window.asp?filename=' + strFileName + '&filetype=' + strFileType + '&title=' + strPageTitle,'objWindow394790','width=600,height=300,resizable=yes,scrollbars=yes');
	objWindow394790.focus();

}