function getType()
{
for (var i=0; i < document.proform.t3.length; i++)
   {
   if (document.proform.t3[i].checked)
      {
      type = document.proform.t3[i].value;
      }
   }
}




function goPro()
{

	amount = document.getElementById('ica3').value;
	getType();
	
	if (amount > 0.99)
	{
		if (amount < 3 && type == "Y")
		{
			total = parseInt(amount)  + tfee;							
			document.getElementById('os0').value=tfee;
			document.getElementById('a3').value= total;		
			document.getElementById('proform').submit();			
		}
		else 
		{
			total = parseInt(amount);
			document.getElementById('os0').value='0.00';
			document.getElementById('a3').value= total;	
			document.getElementById('proform').submit();
		}
		
	}
	else
	{
	    document.getElementById('ica3').style.backgroundColor="#FF3333";
		document.getElementById('ica3').value="Enter Value!";
	}
	
}



