// JavaScript Document
function mapText(text) {
	var mapIn = new Array("z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "|", ",", "-");
	var mapOut = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "@", ".", "_");
	
	var newText = "";
	for (var i = 0; i < text.length; i++) {
		// find the letter in mapIn
		var index = 0;
		for (var j = 0; j < 29; j++) {
			if (mapIn[j] == text.charAt(i)) {
				index = j;
				break;	
			}
		}
		newText = newText + mapOut[index];
	}

	return newText
}

