function Traduccion () {
	var msj = new MensajesIdioma();
	
	function GetMensaje() {
		var args = GetMensaje.arguments;
		var simbolo = args[0];
		var texto = "";

		if (typeof msj.mensajes[simbolo] != "undefined") {
			texto = msj.mensajes[simbolo];
			for (i=1; i<(args.length); i++) {
				texto = texto.replace('$'+i,args[i]);
			}
			
			return texto;
		} else {
			return "";
		}
	}

	this.GetMensaje = GetMensaje;
}

var itTraduccion = new Traduccion();

