var lastDebt = 1;

function addNewDebt(){
	lastDebt += 1;
	var label = "debt_"+lastDebt;
	document.getElementById(label).style.display = "block";
	
	if(lastDebt==15){
		document.getElementById('addDebt').style.display = "none";
	}
}

//Changes out the contents of the testimonials box with the
//previous testimonial in the sequence.
function prevTestimonial(){
	
	//find the switcher div, it has contents
	$('#switcher').load("run.php",{'function_name' : 'prevTestimonial'});
	
}//end function

//Changes out the contents of the testimonials box with the
//next testimonial in the sequence.
function nextTestimonial(){
	
	//find the switcher div, it has contents
	$('#switcher').load("run.php",{'function_name' : 'nextTestimonial'});
	
}//end function