function SetBillingAddr()	{

	if (document.form1.SameAsAbove.checked == true)
	{
		document.form1.BillingAddress.value = document.form1.Address.value;
		document.form1.BillingCity.value = document.form1.City.value;
		document.form1.BillingState.value = document.form1.State.value;
		document.form1.BillingZip.value = document.form1.Zip.value;
		document.form1.BillingPhone.value = document.form1.Phone.value;
		document.form1.BillingFax.value = document.form1.Fax.value;
	}
	else
	{
		document.form1.BillingAddress.value = "";
		document.form1.BillingCity.value = "";
		document.form1.BillingZip.value = "";
		document.form1.BillingPhone.value = "";
		document.form1.BillingFax.value = "";
	}
}

function SetBillingAddr2()	{

	if (document.form1.SameAsAbove.checked == true)
	{
		document.form1.BillingAddress.value = document.form1.PayerAddress.value;
		document.form1.BillingCity.value = document.form1.PayerCity.value;
		document.form1.BillingState.value = document.form1.PayerState.value;
		document.form1.BillingZip.value = document.form1.PayerZip.value;
	}
	else
	{
		document.form1.BillingAddress.value = "";
		document.form1.BillingCity.value = "";
		document.form1.BillingState.value = "";
		document.form1.BillingZip.value = "";
	}
}

function SetBillingAddr3()	{

	if (document.form1.SameAsLocation.checked == true)
	{
		document.form1.BillingAddress.value = document.form1.LocationAddress.value;
		document.form1.BillingCity.value = document.form1.LocationCity.value;
		document.form1.BillingState.value = document.form1.LocationState.value;
		document.form1.BillingZip.value = document.form1.LocationZip.value;
	}
	else
	{
		document.form1.BillingAddress.value = "";
		document.form1.BillingCity.value = "";
		document.form1.BillingState.value = "";
		document.form1.BillingZip.value = "";
	}
}

function SetLocationAddr()	{

	if (document.form1.SameAsAddress.checked == true)
	{
		document.form1.LocationName.value = document.form1.CompanyName.value;
		document.form1.LocationAddress.value = document.form1.Address.value;
		document.form1.LocationCity.value = document.form1.City.value;
		document.form1.LocationState.value = document.form1.State.value;
		document.form1.LocationZip.value = document.form1.Zip.value;
	}
	else
	{
		document.form1.LocationName.value = "";
		document.form1.LocationAddress.value = "";
		document.form1.LocationCity.value = ""
		document.form1.LocationState.value = "";
		document.form1.LocationZip.value = "";
	}
}

function SetLocationAddr2()	{

	if (document.form1.SameAsAddress.checked == true)
	{
		document.form1.LocationName.value = document.form1.PayerName.value;
		document.form1.LocationAddress.value = document.form1.PayerAddress.value;
		document.form1.LocationCity.value = document.form1.PayerCity.value;
		document.form1.LocationState.value = document.form1.PayerState.value;
		document.form1.LocationZip.value = document.form1.PayerZip.value;
	}
	else
	{
		document.form1.LocationName.value = "";
		document.form1.LocationAddress.value = "";
		document.form1.LocationCity.value = ""
		document.form1.LocationState.value = "";
		document.form1.LocationZip.value = "";
	}
}


function SetContactInfo()	{

	if (document.form1.SameAsRequestor.checked == true)
	{
		document.form1.Contact.value = document.form1.RequestedBy.value;
		document.form1.ContactPhone.value = document.form1.RequestedByPhone.value;
		document.form1.ContactEmail.value = document.form1.RequestedByEmail.value;
	}
	else
	{
		document.form1.Contact.value = "";
		document.form1.ContactPhone.value = "";
		document.form1.ContactEmail.value = "";
	}
}
