/**
* Change form action.
*/
function change_form_action(form_name,form_action) {
	// Create the new action for the form.
	var new_form_action = "document." + form_name + ".action = '" + form_action + "';";
	
	// Change the action of the form and then submit it.
	document.forms[form_name].action = form_action;
	document.forms[form_name].submit();
}

/**
* Change currency.
*/
function change_currency() {
	document.currency_form.submit();
}
