function hoverMe() {
    var d = document.getElementById("fl100");

    var f = document.getElementById("fl100_Popup");

    d.className = 'LocaleManagementFlyoutStaticHover';
    d.style.zIndex = '999';

    f.style.visibility = 'visible';
}

function leaveMe() {
    var d = document.getElementById("fl100");

    var f = document.getElementById("fl100_Popup");

    d.className = 'LocaleManagementFlyoutStatic';

    d.style.zIndex = '0';

    f.style.visibility = 'hidden';
}

function GetParamValue(name)
{
	paramStr = window.location.search;
	var begin = paramStr.indexOf(name);
	if (begin < 0) return null;
	begin += name.length + 1;
	end = paramStr.indexOf('&', begin);
	if(end == -1) end = paramStr.length;
	return unescape(paramStr.substring(begin, end));
}


function changeLang(v) {
	if (v == null || v == '' || v == undefined) return;
	var s = location.toString();
	if (s.indexOf("google") > 0) s = GetParamValue("u");
    window.location = 'http://translate.google.com/translate?hl=ru&sl=ru&tl='+v+'&u='+s;
}

function refreshLang() {
	var s = location.toString();
	if (s.indexOf("google") > 0) document.getElementById('fl100').style.display='none';
	/*var s = GetParamValue("tl");
	if (s == null || s == '' || s == undefined) return;
	var el = document.getElementById('al'+s);
	if (el == null || el == undefined) return;
	document.getElementById('aln').innerHTML = el.innerHTML;*/
}
