if(document && document.location && document.location.href && document.location.href.indexOf('Payment.aspx') > 0)
{
	var delBlock = document.getElementById('deliveryMethodList');
	if(delBlock)
	{
		if(delBlock.innerHTML.indexOf('Email') > 0)
		{
			var shipBlock = document.getElementById('lbAddNewAddress');
			if(shipBlock && shipBlock.parentNode)
			{
				shipBlock.parentNode.style.display = 'none';
			}
		}
	}
}

if(document && document.location && document.location.href && document.location.href.indexOf('MembershipAssign.aspx') > 0)
{
	for(idx = 0; idx < 10; idx++)
	{
		var memListSecName = document.getElementById('MembershipDataList_ctl0' + idx + '_lblHeader');
		if(memListSecName)
		{
			memListSecName.innerHTML = 'Second Name at Same Address';
		}
	}
}

if(document && document.location && document.location.href && document.location.href.indexOf('TicketSearchCriteria.aspx') > 0)
{
	var TickBlock = document.getElementById('TTSelection3_ticketBlock');
	if(TickBlock)
	{
		var ButtBlock = document.getElementById('buttonBlock');
		if(ButtBlock)
		{
			TickBlock.appendChild(ButtBlock);
		}
	}
}

var returningFriend = document.getElementById('returningCustID');
var newFriend = document.getElementById('newCustID');

if(returningFriend)
	returningFriend.innerHTML = "Returning Friends";

if(newFriend)
	newFriend.innerHTML = "New Friends";
