// JavaScript Document
function getString(str,lang){
//alert(str + "::" + lang);
	var lit = "";
	if (lang == "es"){
		switch(str){
			case "MAS-OPCIONES": lit = "m&aacute;s opciones"; break;
			case "MENOS-OPCIONES": lit = "menos opciones"; break;
			case "ERROR-EMAIL": lit = "Por favor, introduce un email v&aacute;lido"; break;
			case "ERROR-CONDICIONES": lit = "No has leido y aceptado las condiciones del servicio"; break;
		}
	}
	else if (lang == "en"){
		switch(str){
			case "MAS-OPCIONES": lit = "more options"; break;
			case "MENOS-OPCIONES": lit = "less options"; break;
			case "ERROR-EMAIL": lit = "Please enter a valid e-mail"; break;
			case "ERROR-CONDICIONES": lit = "Do not you have read and accepted the terms of service"; break;
		}
	}
//alert(lit)	
	return lit;
}
