
function UpdateBasket(orderedpic)
{
	var desc = new Array();
	var cost = new Array();
	var pos;

	// List of product costs
	price = [
		1.80,
		11.00,
		21.00,
		21.00,
		39.00,
		8.00,
		14.00,
		58.00
		
	];

	// List of print sizes
	desc = [
		"  -  A6 size greeting card at GBP ",
		"  -  A5 print in a 10X8 inch mount at GBP ",
		"  -  A4 print in a 16X12 inch mount at GBP ",
		"  -  A5 print - Mounted and framed 10X8 inch at GBP ",
		"  -  A4 print - Mounted and framed 16X12 inch at GBP ",
		"  -  A5 print only at GBP ",
		"  -  A4 print only at GBP ",
		"  -  19X13 inch print only at GBP "
	];

	// get the index of the selected print size and format
	pos = orderedpic.size.selectedIndex;

	// set the value of the "item_name" element of the paypal form
	orderedpic.item_name.value = orderedpic.custom.value +  desc[pos]+ price[pos] + " each" ;

	// set the value of the "amount" element of the paypal form
	orderedpic.amount.value = price[pos];
}
