function updateMacro (name) {
	var macroObj;
	macroObj = document.getElementById('macroref');
	macroObj.value = name;
}
