// JavaScript Document
var Amount = 15;
var PSPID = "clyniscreations"; //TESTiDEALEASY
var AM;

if (isNaN(Amount))
	{
		alert("Amount not a number: " + Amount + " !");
		AM = ""
	}
else
	{
		AM = Math.round(parseFloat(Amount)*100);
	}

var orderID = "1";
mydate = new Date();
tv = mydate.getYear() % 10;
orderID = orderID + tv;
tv = (mydate.getMonth() * 31) + mydate.getDate();
orderID = orderID + ((tv < 10) ? '0' : '') + ((tv < 100) ? '0' : '') + tv;
tv = (mydate.getHours() * 3600) + (mydate.getMinutes() * 60) + mydate.getSeconds();
orderID = orderID + ((tv < 10) ? '0' : '') + ((tv < 100) ? '0' : '') + ((tv < 1000) ? '0' : '') + ((tv < 10000) ? '0' : '') + tv;
tvplus = Math.round(Math.random() * 9);

function submitForm()
{
	document.form1.submit();
}
