function putMail(name, domain, zone)
{
pochta=name+'&#0064;'+domain+'&#0046;'+zone;
document.write(pochta);
}

var isQ = null;

function openQ(el)
{
var t = el;
while (t.nodeName != "DIV") {t = t.nextSibling;}
if (isQ)
	{
	isQ.style.display = "none";
	}
t.style.display = "block";
isQ = t;
}

var meas;
var st;

function sizeIt()
{
//document.title = meas.clientWidth;
if ((meas.clientWidth) > 1000)
	{
	//st.style.width = "auto";
	document.body.style.width = "0px";
	}
else
	{
	//st.style.width = "1000px";
	document.body.style.width = "1000px";
	}
}

function initIt()
{
meas = document.getElementById("measurer");
st = document.getElementById("site");
sizeIt();
}

//window.onresize = sizeIt;
//window.onload = initIt;
