moved function to checkout/template.php