/*--------------------------------------------------------*\
   Script:  /includes/js/form_value_rewriter.js
   Purpose: Provide menu
\*--------------------------------------------------------*/

function form_value_rewrite(FromFormName, FromInput, ToFormName, ToInput)
{
	document.forms[ToFormName].elements[ToInput].value = document.forms[FromFormName].elements[FromInput].value;
	return(true);
}

function updateshippinginfo()
{
	if (document.Information.shipping_same.checked)
	{
		document.Information.Shipping_First_Name.value = document.Information.First_Name.value;
		document.Information.Shipping_Last_Name.value = document.Information.Last_Name.value;
		document.Information.Shipping_Street_Address.value = document.Information.Street_Address.value;
		document.Information.Shipping_Street_Address_2.value = document.Information.Street_Address_2.value;
		document.Information.Shipping_City.value = document.Information.City.value;
		document.Information.Shipping_State.value = document.Information.State.value;
		document.Information.Shipping_Zip.value = document.Information.Zip.value;
	}
}

function RemoveText(id,text)
{
	var TextArea = document.getElementById('ReferrerComments');

	if(TextArea.value == 'Comments')
	{
	}

	TextArea.value == '';
}
