// JavaScript Document
	
	function DeleteProduct( deleteCheckBox ) {
		var confirmSub = confirm("Remove your donation to this organization?"); 
		if( confirmSub ) { 
		    document.location = "cart.php?delete=" + deleteCheckBox.value;
			return false; 
		} else { 
			deleteCheckBox.checked = false;
			return false; 
		} 
	}

	function ZeroOrgAmounts(formName) {
		var elems = document.getElementById(formName).elements;
		for(var i=0; i< elems.length; i++ ) {
			if( elems[i].id.match(/^amount_/) ) {
				elems[i].value = '.00';
			}
		}
	}
	
	function ToggleRadio(radioButton, onValue) {
		radioButton = document.getElementsByName(radioButton);
		for(var i=0; i< radioButton.length; i++ ) {
			if( radioButton[i].value == onValue ) {
				radioButton[i].checked = true;
			} else {
				radioButton[i].checked = false;
			}
		}
	}

	function ShowFile(file, width, height ) {
		window.open("cccode.php","theWindow","toolbar=no,width="+width+",height="+height+",status=no"); 
		return false;
	}