function addUp()
	{
	BedPrices = new Array(5)
	BedPrices [0] = new Array(2)
	BedPrices [1] = new Array(2)
	BedPrices [2] = new Array(2)
	BedPrices [3] = new Array(2)

	MassagePrices = new Array

	BedPrices[0][0]="1399";
	BedPrices[0][1]="1399";
	
	BedPrices[1][0]="1399";
	BedPrices[1][1]="1399";

	BedPrices[2][0]="1999";
	BedPrices[2][1]="1999";

	BedPrices[3][0]="1999";
	BedPrices[3][1]="1999";

	MassagePrices[0]="0";
	MassagePrices[1]="200";
	MassagePrices[2]="200";
	
	document.getElementById('bt').innerHTML="COST OF YOUR STANDARD BED";
	var myindex  = document.CFORM.BedSize.selectedIndex
		
	if (myindex>=2)
		{
		MassagePrices[2]="300";
		}			

	document.getElementById('bp').innerHTML="£"+BedPrices[myindex][0]+".00";
	document.CFORM.BEDCOST.value=BedPrices[myindex][0];

	var myext=document.CFORM.Drawers.selectedIndex*50;
	document.getElementById('ep').innerHTML="£"+myext+".00";	

	var mymas=Number(MassagePrices[document.CFORM.Massage.selectedIndex]);
	var tmp=myext+mymas;
	
	document.getElementById('ep').innerHTML="£"+tmp+".00";	
	document.CFORM.EXTRACOST.value=tmp;

	var mytot=Number(BedPrices[myindex][0])+tmp;
	if (document.CFORM.SALEON.value=="Y")
		{
		mytot=mytot*((100-30)/100);
		}
	mytot=Math.floor(mytot);

	document.getElementById('tt').innerHTML="£"+mytot.toString()+".00";	
	}
