function updateTotal()
{
	document.getElementById( 'spnPrice' ).innerHTML			= '$' + document.getElementById( 'txtUserSpecifiedDonation' ).value;
	document.getElementById( 'lblTotalItemCost' ).innerHTML	= '$' + document.getElementById( 'txtUserSpecifiedDonation' ).value;
}

function validate()    {
    var val = document.getElementById( 'txtUserSpecifiedDonation' ).value
    if(val != '')
    {
     if (val.match(/^\d{1,}(.\d{2})?$/))   
		{
			//alert("Valid input");
			return true;
		} 
		else    
		{
			//alert("Invalid input");
			alert( "INVALID VALUE : \r\n The amount you entered was not in the correct format \r\n Pleas use one of these formats ( 10000.00 / 10000 )" )
			document.getElementById( 'txtUserSpecifiedDonation' ).value = "";
			return false
		}
    }
    else
    {
		return true;
    }
}
