/* - - - - - NIGHTS INCREMENT/DECREMENT - - - - - */

var numNights = 0;

function incrementNights(){
	if(numNights >= 0){
		document.getElementById('nights').value = ++numNights;
	}
	else{
		document.getElementById('nights').value = 1;
	}
}

function decrementNights(){
	if(numNights > 0){
		document.getElementById('nights').value = --numNights;
	}
	else{
		document.getElementById('nights').value = 0;
	}
}


/* - - - - - ADULTS INCREMENT/DECREMENT - - - - - */

var numAdults = 0;

function incrementAdults(){
	if(numAdults >= 0){
		document.getElementById('adults').value = ++numAdults;
	}
	else{
		document.getElementById('adults').value = 1;
	}
}

function decrementAdults(){
	if(numAdults > 0){
		document.getElementById('adults').value = --numAdults;
	}
	else{
		document.getElementById('adults').value = 0;
	}
}

/* - - - - - CHILDREN INCREMENT/DECREMENT - - - - - */

var numChildren = 0;

function incrementChildren(){
	if(numChildren >= 0){
		document.getElementById('children').value = ++numChildren;
	}
	else{
		document.getElementById('children').value = 1;
	}
}

function decrementChildren(){
	if(numChildren > 0){
		document.getElementById('children').value = --numChildren;
	}
	else{
		document.getElementById('children').value = 0;
	}
}
