function qnav(l)
	{
	if (l.options[l.selectedIndex].value == "")
		{
		l.selectedIndex = 0;
		}
	else
		{
		top.location.href = l.options[l.selectedIndex].value;
		}
	}

function hidea()
	{
	document.getElementById("supertext").style.visibility = "hidden";
	setTimeout("showa()", 1000);
	}

function showa()
	{
	document.getElementById("supertext").style.visibility = "visible";
	setTimeout("hidea()", 1000);
	}

var mosobl = 0;
function mo()
	{
	if (mosobl==0) { document.getElementById("mo").style.display="block"; mosobl=1; }
	else { document.getElementById("mo").style.display="none"; mosobl=0; }
	}

function popwin(w,h,path,scrl)
{
var x1 = (document.all) ? window.screenLeft : screenX;
var x2 = (document.all) ? document.body.clientWidth : window.innerWidth;
var y = (document.all) ? window.screenTop : screenY;
var wleft = (x1 + (x2/2)) - (w/2);
var wtop = 0;
if (navigator.appName == "Microsoft Internet Explorer") { wtop = y - 40; } else { wtop = y + 40; };
var yesno = "no";
if (scrl) { yesno = "yes"; } else { yesno = "no"; };
var feat = "width=" + w + ",height=" + h + ",top=40,left=" + wleft + ",status=no,location=no,menubar=no,scrollbars=" + yesno + ",resizable=no";
var popup = window.open(path,'popupwin',feat);
}


// hide mail address function
var myMail = 'office';
var myDomain = 'checklenta.ru';
function insertMail(cl, pic) {
	var mailString = myMail+'@'+myDomain;
	document.write(' <a href="mailto:'+mailString+'"');
	if (cl)	document.write(' class="'+cl+'"');
	document.write('>');
	if (!pic) {
	document.write(mailString);
	} else {
	document.write(pic);
	}
	document.write('</a> ');
}


// hide mail address function
var myMail2 = 'julia';
var myDomain2 = 'sema.ru';
function insertMail2(cl, pic) {
	var mailString = myMail2+'@'+myDomain2;
	document.write(' <a href="mailto:'+mailString+'"');
	if (cl)	document.write(' class="'+cl+'"');
	document.write('>');
	if (!pic) {
	document.write(mailString);
	} else {
	document.write(pic);
	}
	document.write('</a> ');
}
	
	
	

