function HandleCharitySelection()
{
	var charityDropDownList = document.getElementById( "mCharityDropDownList" );
	var charityTextBox = document.getElementById( "mCharityTextBox" );
	
	if ( charityDropDownList.options[ charityDropDownList.selectedIndex ].value == "Other" )
	{
		if ( charityTextBox == null )
		{
			PostBack( "mCharityDropDownList", "" );
		}
	}
	else
	{
		if ( charityTextBox != null )
		{
			PostBack( "mCharityDropDownList", "" );
		}
	}
}


function PostBack( iEventTarget, iEventArgument ) 
{
	var form;
	
	if ( window.navigator.appName.toLowerCase().indexOf( "microsoft" ) > -1 ) 
	{
		form = document.mForm;
	}
	else 
	{
		form = document.forms[ "mForm" ];
	}
	
	form.__EVENTTARGET.value = iEventTarget.split( "$" ).join( ":" );
	form.__EVENTARGUMENT.value = iEventArgument;
	form.submit();
}

