function startupLink(object,id,title){
	document.theForm.varset_startuplink.value = title // set the startuplink variable to the title of the link (which needs to be passed to the function)
	document.theForm.usetemplate.value = '' // reset template to blank
	document.theForm.problem.value = '' // reset template to problem
	document.theForm.dtree.value = '' // reset template to dtree
	if(object == 'dtree'){
		document.theForm.dtree.value = id
	}
	else if(object == 'problem'){
		document.theForm.problem.value = id
	}
	else if(object == 'template'){
		document.theForm.usetemplate.value = id
	}
	document.theForm.submit()
}
