/**
 * This function is used by the upgrade page for sexsearchcom.net.  It controls the option buttons that
 * are used by that page for selecting your payment type.  It was added to avoid a code change to the 
 * datingengine request action upgrade_c.php.  A hidden feild is used to fake the submit buttons that would
 * normally be used on this page.
 */
function submitUpgradeForm( )
{
	var paymentType 	= document.getElementById( "hdnPaymentType" );
	var creditCard		= document.getElementById( "radCreditCard" );
	
	if( creditCard.checked === true )
	{
		paymentType.name = "sub_submitCC";
	}
	else
	{
		paymentType.name = "sub_submitCA";
	}
	
	document.frm_upgrade.submit( );
}