function calculate()
{
	var extra1price = 30;
	var extra2price = 40;
	var extra3price = 40;
	var extra4price = 40;
	var extra5price = 50;
	var extra6price = 15;
	var extra7price = 10;
	var extra8price = 10;
	var extra9price = 120;
 
if (document.extrascalc.extra1.checked){
  var subtot1 = document.extrascalc.extra1.value = extra1price;
} else {
  var subtot1 = document.extrascalc.extra1.value = 0;
}

if (document.extrascalc.extra2.checked){
  var subtot2 = document.extrascalc.extra2.value = extra2price;
} else {
  var subtot2 = document.extrascalc.extra2.value = 0;
}

if (document.extrascalc.extra3.checked) {
  var subtot3 = document.extrascalc.extra3.value = extra3price;
} else {
  var subtot3 = document.extrascalc.extra3.value = 0;
}

if (document.extrascalc.extra4.checked) {
  var subtot4 = document.extrascalc.extra4.value = extra4price * document.extrascalc.extra4qty.value;
} else {
  var subtot4 = document.extrascalc.extra4.value = 0;
}

if (document.extrascalc.extra5.checked){
  var subtot5 = document.extrascalc.extra5.value = extra5price;
} else {
  var subtot5 = document.extrascalc.extra5.value = 0;
}
/*
if (document.extrascalc.extra6.checked){
  var subtot6 = document.extrascalc.extra6.value = extra6price * document.extrascalc.extra6qty.value;
} else {
  var subtot6 = document.extrascalc.extra6.value = 0;
}
*/
if (document.extrascalc.extra7.checked) {
  var subtot7 = document.extrascalc.extra7.value = extra7price * document.extrascalc.extra7qty.value;
} else {
  var subtot7 = document.extrascalc.extra7.value = 0;
}

if (document.extrascalc.extra8.checked) {
  var subtot8 = document.extrascalc.extra8.value = extra8price;
} else {
  var subtot8 = document.extrascalc.extra8.value = 0;
}

if (document.extrascalc.extra9.checked) {
  var subtot9 = document.extrascalc.extra9.value = extra9price;
} else {
  var subtot9 = document.extrascalc.extra9.value = 0;
}


/*document.extrascalc.extrastotal.value = 550 + subtot1 + subtot2 + subtot3 + subtot4 + subtot5 + subtot6 + subtot7 + subtot8 + subtot9;*/
document.extrascalc.extrastotal.value = 660 + subtot1 + subtot2 + subtot3 + subtot4 + subtot5 + subtot7 + subtot8 + subtot9;

}