function checkout_populate()
{

	var reciept ="<br><br><br><table border='0' cellpadding='4' cellspacing='8'><tr><td ID=shoptitle align=center valign=center height=30>Shopping Trolley</td></tr><tr><td bgcolor=white align=center>"
	reciept = reciept+'<br><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_cart"><input type="hidden" name="upload" value="1"><input type="hidden" name="business" value="alex@alexmed.co.uk"><input type="hidden" name="currency_code" value="GBP"><table border=0 width=300><tr><td colspan=2>Item</td><td colspan=2>Price</td><td>Total</td></tr><tr><td colspan=5 bgcolor=#999999 height=1></td></tr>';
	var j=0;

	for ( var i=0; i<(FoodID.length); i++)
	{
		if(FoodQuantity[i]*1)
		{
			j++;
		
			reciept=reciept+"<tr><td>"+FoodName[i]+"</td><td width=50>x "+FoodQuantity[i]+"</td><td width=75>at £"+FoodPrice[i]+"</td><td>=</td><td>£"+Math.round(FoodQuantity[i]*FoodPrice[i]*100)/100+"</td><td onclick=increasequantity("+FoodID[i]+",1,1) bgcolor=#96c181 width=20 align=center>+ </td><td onclick=decreasequantity("+FoodID[i]+") bgcolor=#96c181 width=20 align=center>-</td></tr>";

			reciept=reciept+'<input type="hidden" name="item_name_'+j+'" value="'+FoodName[i]+'"><input type="hidden" name="item_number_'+j+'" value="'+FoodID[i]+'"><input type="hidden" name="amount_'+j+'" value="'+FoodPrice[i]+'"><input type="hidden" name="quantity_'+j+'" value="'+FoodQuantity[i]+'">';
		}
	}

	reciept=reciept+"<tr><td colspan=5 bgcolor=#999999 height=1></td></tr><tr><td colspan=2></td><td><td>=</td><td width=40>£"+totalprice()+"</td></tr></table>";

	

	reciept=reciept+'<br><input type="image" name="submit" src="buy.gif" border="0" alt="Click to safely send your transaction to PayPal"></form><a href=https://www.paypal.com/cgi-bin/webscr?cmd=p/ema/index-outside target="_blank">Find out more about PayPal money transfers</a><br><a href=https://www.paypal.com/cgi-bin/webscr?cmd=xpt/general/Privacy-outside target="_blank">Find out more about privacy when using PayPal</a><br><br></td></tr></table>';

	Checkout.innerHTML=reciept;
}