function $(idName){
return document.getElementById(idName);
}





function changePaymentType(typeDesc)
{
	if(typeDesc == "Paypal")
	{
		$("paymentFields").style.display = "none";
		$("paypalFields").style.display = "inline";
	}
	else
	{
		$("paymentFields").style.display = "inline";
		$("paypalFields").style.display = "none";
	}
}

function authPaymentForm(){

//alert("no validation here yet");
return true;
}


function roundTwoDP(val){
//
//val = Math.round(val*100)/100;

//val = val + "00";
//val = val.substr(0, val.indexOf(".")+3);
return val;
}








