function adre ()
{
	var s1 = new Array;
	s1[0] = "%4B%7&#57;";

	var s2 = new Array;
	s2[2] = "&#37;72ill";

	var lg1 = new Array;
	lg1[1] = "&#48;&#37;44I&#89;Pr&#111;";

	var lg2 = new Array;
	lg2[3] = "je&#37;63t&#111;r%2E&#105;&#110;&#102;o";

	m1 = 3;
	m2 = 1;
	m5 = 2;
	m10 = 0;
    addr = s1[m10] + s2[m5] + "%4"+ lg1[m2] + lg2[m1];
	return addr;
}

function getmt ()
{
kmto = "m&#97;ilt&#111;&#58;" + adre();
window.location.href=kmto;
}

function fuladr ()
{
kfula = '<a href="&#109;a&#105;lt&#111;&#58;'+adre()+'">'+adre()+'</a>';
document.write (kfula);
}

function getelement(id)
{
	itm = null;
	if (document.getElementById)
	{
		itm = document.getElementById(id);
	}
	else if (document.all)
	{
		itm = document.all[id];
	}
	else if (document.layers)
	{
		itm = document.layers[id];
	}
	return itm;
}

function showflash()
{
	itm = getelement("HTMLMENU");
	itm.style.display = "none";
	itm = getelement("FLASHMENU");
	itm.style.display = "";	
    SetCookie("DIY_CURRENTMENU","FLASH");
}

function hideflash()
{
	itm = getelement("HTMLMENU");
	itm.style.display = "";
	itm = getelement("FLASHMENU");
	itm.style.display = "none";	
    SetCookie("DIY_CURRENTMENU","HTML");
}

function GetCookie (name)
{
  var search = name+"=";
  if (document.cookie.length > 0)
  {
    var s = document.cookie;
    offset = s.indexOf(search);
    if (offset != -1)
    {
      offset += search.length;
      end = s.indexOf(";", offset);
      if (end == -1) end = s.length;
      return s.substring(offset, end);
    }
  }
  return "";
}

function SetCookie (name, value)
{
  var expire = "; expires=Wed, 1 Jan 2020 00:00:00 GMT";
  document.cookie = name+"="+value+expire;
}

function checkmenucookie()
{
	var cdata=GetCookie("DIY_CURRENTMENU");
	if (cdata == "FLASH")
	{
		showflash();
	}
}
