// Variables para setear
function ampersandCode(text){

	do text = text.replace('&','[amp]');
	while(text.indexOf('&') >= 0);
	
	return text;
}

function ampersandDecode(text){

	do text = text.replace('[amp]','&');
	while(text.indexOf('[amp]') >= 0);
	
	return text;
}

function ampersandWordDecode(text){

	do text = text.replace('&amp;','&');
	while(text.indexOf('&amp;') >= 0);
	
	return text;
}
