

function checkCP()
{ 
if (document.cookie.length>0)
  {

  document.PAYPAL1.custom.value=document.cookie.substring(document.cookie.indexOf('AFFI=')+5) 
  document.PAYPAL1.amount.value = 4.00;


  }
}



