document.getElementById('dropMenu').selectedIndex = 0;
document.getElementById('dropMenu2').selectedIndex = 0;
document.form1.chk2.checked = false ;
document.form1.chk1.checked = false ;


function theHours(){
	var userHours = document.form1.dropMenu.value;
	document.getElementById('hoursTotal').innerHTML = userHours*200;
	document.form1.hoursTotal.value = userHours*200;
	theTotal();
}

function thePhotographers(){
	var userHours = document.form1.dropMenu.value;
	var photoHours = document.form1.dropMenu2.value;
	document.getElementById('photographersTotal').innerHTML =  photoHours*100;
	document.form1.photographersTotal.value = photoHours*100;
	theTotal();
}

function theLow(){
	var check = document.form1.checkbox.checked;
	if(check == 1){
		document.getElementById('dvdLow').innerHTML = 50;
		document.form1.dvdLow.value = 50;
		}
	else{
		document.getElementById('dvdLow').innerHTML = 0;
		document.form1.dvdLow.value = 0;
		}
	theTotal();
}

function theHigh(){
	var check = document.form1.checkbox2.checked;
	if(check == 1){
		document.getElementById('dvdHi').innerHTML = 100;
		document.form1.dvdHi.value = 100;
		}
	else{
		document.getElementById('dvdHi').innerHTML = 0;
		document.form1.dvdHi.value = 0;
		}
	theTotal();
}

function theNumProofs(){
	var theProofs = document.form1.numberProofs.value;
	document.getElementById('proofs').innerHTML = theProofs;
	document.form1.proofs.value = theProofs;
	theTotal();
}

function theTotal(){
	var item1 = document.getElementById('hoursTotal').innerHTML;
	var item2 = document.getElementById('photographersTotal').innerHTML;
	var item3 = document.getElementById('dvdLow').innerHTML;
	var item4 = document.getElementById('dvdHi').innerHTML;
	//var item5 = document.getElementById('proofs').innerHTML;
	
	document.getElementById('grandTotal').innerHTML = item1*1+item2*1+item3*1+item4*1;
	document.form1.grandTotal.value = item1*1+item2*1+item3*1+item4*1;
}