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)

	BedPrices[0][0]="1799";
	BedPrices[0][1]="1799";
	
	BedPrices[1][0]="1799";
	BedPrices[1][1]="1799";

	BedPrices[2][0]="2499";
	BedPrices[2][1]="2499";

	BedPrices[3][0]="2499";
	BedPrices[3][1]="2499";
		
	document.getElementById('bt').innerHTML="COST OF YOUR DELUXE BED";
	var myindex  = document.CFORM.BedSize.selectedIndex
		
	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=document.CFORM.Massage.selectedIndex*0;
	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-25)/100);
		}
	mytot=Math.floor(mytot);

	document.getElementById('tt').innerHTML="£"+mytot.toString()+".00";	
	}
