var lex = 
{
	show : function(e, prop, lang)
	{
		
		var identifier = "lex" + prop;

		//display a loading
		if (overTip.exist(identifier) == 0)
		{
			if (typeof InvestUrls == "undefined")
			{
				throw "You must include the library resources-[country].js";
			}
			
			//make ajax request
			$.ajax({
				type: "GET",
				url: InvestUrls.Lexicon + "&prop=" +  prop + "&lang=" + lang,
				success: lex.callback
			});
		}
		
		overTip.showBegin(e, identifier);
		
		return false;
	}
	,
	callback : function(result)
	{
		//replace the text on the previous div
		var propId = jQuery.trim($("div.propId", result).text());
		
		overTip.showEnd("lex" + propId, result);
	}
};
