<style>
	.etapa2{
		display:inline-block!important;
	}	
	.etapa3{
		display:none!important;
	}	
	.etapa4{
		display:none!important;
	}
</style>

<form method="post" action="#" id="New%%GLOBAL_UpperAddressType%%Address" onsubmit="return ExpressCheckout.Choose%%GLOBAL_UpperAddressType%%Address();">
	<div id="Choose%%GLOBAL_UpperAddressType%%Address" style="%%GLOBAL_HideChooseAddress%%">
		<label><input type="radio" onclick="ExpressCheckout.ToggleAddressType('%%GLOBAL_UpperAddressType%%', 'Select');" name="%%GLOBAL_UpperAddressType%%AddressType" id="%%GLOBAL_UpperAddressType%%AddressTypeExisting" value="existing" checked="checked" /> %%GLOBAL_UseExistingAddress%%</label><br />
		<div class="PL20 Select%%GLOBAL_UpperAddressType%%Address">
			<div>
				<select name="sel_%%GLOBAL_AddressType%%_address" style="width: 95%" size="5">
					%%GLOBAL_AddressList%%
				</select>

				<div style="%%GLOBAL_HideShippingOptions%%">
					<label><input type="checkbox" name="%%GLOBAL_ShipToBillingName%%_existing" id="%%GLOBAL_ShipToBillingName%%_existing" value="1" checked="checked" /> %%LNG_AlsoWantToShipToThisAddress%%</label>
				</div>
				
				<label>
					<input type="radio" onclick="ExpressCheckout.ToggleAddressType('%%GLOBAL_UpperAddressType%%', 'Add');" value="new" name="%%GLOBAL_UpperAddressType%%AddressType" id="%%GLOBAL_UpperAddressType%%AddressTypeNew" /> %%GLOBAL_AddNewAddress%%
				</label>
				
				<div class="bottom-form">
					<button type="submit" class="btn btn-primary %%GLOBAL_AddressType%%Button">Continuar</button>
				</div>
			</div>
		</div>
	</div>

	<div class="Add%%GLOBAL_UpperAddressType%%Address" style="%%GLOBAL_HideCreateAddress%%">
		<div class="FloatLeft">
			%%GLOBAL_CompiledFormFields%%
			<div class="text-center">
				<label style="%%GLOBAL_HideSaveAddress%%">
					<input type="checkbox" name="save_%%GLOBAL_AddressType%%_address" id="save_%%GLOBAL_AddressType%%_address" value="1" %%GLOBAL_SaveAddressChecked%% />
					%%LNG_SaveAddressInAddressBook%%
				</label>
				<br>
				<label style="%%GLOBAL_HideShippingOptions%%">
					<input type="checkbox" name="%%GLOBAL_ShipToBillingName%%_new" id="%%GLOBAL_ShipToBillingName%%_new" value="1" %%GLOBAL_ShipToAddressChecked%% />
					%%LNG_AlsoWantToShipToThisAddress%%
				</label>

				%%GLOBAL_CompiledFormFieldJavascript%%
				<div class="bottom-form">
					<button type="submit" class="btn btn-primary %%GLOBAL_AddressType%%Button">Continuar</button>
				</div>
			</div>
		</div>
	</div>
</form>
<script type="text/javascript">
if('%%GLOBAL_UpperAddressType%%' == 'Billing') {
	$('#ship_to_billing_existing, #ship_to_billing_new').click(function() {
		$('.shippingButton').val('%%LNG_ShipToThisAddress%%');
		if(this.checked) {
			$('.billingButton').val('%%LNG_BillAndShipToAddress%%');
		}
		else {
			$('.billingButton').val('%%LNG_BillToThisAddress%%');
		}
	});
}
</script>