function loadTemplate(myPath) {
	return jQuery.ajax({ 
		url: CONTEXT_PATH + '/loadContent',
		type: 'post',
		data: { path: myPath, type: 'TEMPLATE' },
		async : false
	}).responseText;
}

function loadFile(myPath) {
	return jQuery.ajax({ 
		url: CONTEXT_PATH + '/loadContent',
		type: 'post',
		data: { path: myPath, type: 'FILE' },
		async : false
	}).responseText;
}

function loadMessage(myKey) {
	return jQuery.ajax({ 
		url: CONTEXT_PATH + '/loadContent',
		type: 'post',
		data: { key: myKey, type: 'MESSAGE' },
		async : false
	}).responseText;
}