// JavaScript Document set object value
function setValue(objId, str){
	try{
		var obj = document.getElementById(objId);
		obj.value = str;
	}catch(exception){
		alert("Make sure the object id is correct!");
	}
}

function getValue(objId){
	try{
		var obj = document.getElementById(objId);
		return obj.value;
	}catch(exception){
		alert("Make sure the object id is correct!");
	}
}
