function adjustObjs(adjType) {
	d = document.getElementById("div_available_objectives");
	var currHeight = parseInt(d.style.height.split('px')[0]);
	var newHeight = currHeight;
	if (adjType == 'UP') {
		newHeight = currHeight + 100;
	} else if ((adjType == 'DOWN') && (currHeight > 150)) {
		newHeight = currHeight - 100;
	}
	//alert('new div height'+newHeight);
	d.style.height = newHeight + 'px';
}


function adjustAddlObjs(adjType) {
	f = document.getElementById("theForm");
	if (adjType == 'UP') {
		f.addtionalObjectiveDetails.rows = f.addtionalObjectiveDetails.rows + 5;
	} else if ((adjType == 'DOWN') && (f.addtionalObjectiveDetails.rows > 5)) {
		f.addtionalObjectiveDetails.rows = f.addtionalObjectiveDetails.rows - 5;
	}
}

function adjustPlanDetails(adjType) {
	f = document.getElementById("theForm");
	if (adjType == 'UP') {
		f.planDetails.rows = f.planDetails.rows + 5;
	} else if ((adjType == 'DOWN') && (f.planDetails.rows > 5)) {
		f.planDetails.rows = f.planDetails.rows - 5;
	}
}

function adjustOtherDetails (adjType) {
	f = document.getElementById("theForm");
	if (adjType == 'UP') {
		f.resourceDetails.rows = f.resourceDetails.rows + 5;
		f.homeworkDetails.rows = f.homeworkDetails.rows + 5;
		f.evaluationDetails.rows = f.evaluationDetails.rows + 5;
	} else if ((adjType == 'DOWN') && (f.resourceDetails.rows > 5)) {
		f.resourceDetails.rows = f.resourceDetails.rows - 5;
		f.homeworkDetails.rows = f.homeworkDetails.rows - 5;
		f.evaluationDetails.rows = f.evaluationDetails.rows - 5;
	}
}
