<!--
var	jsTO = null;
var	eeTO = null;
var	csTO = null;
var	hvlad = false;


function preSet() {

	jssubLyr = eval(subJSLyr.style);
	jssubLyr.top = 45;
	jssubLyr.left = 131;

	eesubLyr = eval(subEELyr.style);
	eesubLyr.top = 45;
	eesubLyr.left = 265;

	cssubLyr = eval(subCSLyr.style);
	cssubLyr.top = 45;
	cssubLyr.left = 399;

	hvlad=true;

	
}

function linkGo(a) {
	window.location.href=a;
}

function chngMnu(a,b,c) {
	clearsubs(c)
	if (b==true) 	{ 
			a.style.background = "#ffffff"; 
			if (c!=0) animMnuon(c);
		}
		else		a.style.background = "#cccccc";


}
function chngsMnu(a,b) {
	a.style.background = b;
}

function clickMnu(a) {
	window.location.href = a;
}

function animMnuon(a) {
	if (a==1) { goMenu(parseInt(jssubLyr.top),true,jssubLyr,1); }
	if (a==2) { goMenu(parseInt(eesubLyr.top),true,eesubLyr,2); }
	if (a==3) { goMenu(parseInt(cssubLyr.top),true,cssubLyr,3); }
}

function animMnuoff(a) {
	if (a==1) { goMenu(parseInt(jssubLyr.top),false,jssubLyr,1); }
	if (a==2) { goMenu(parseInt(eesubLyr.top),false,eesubLyr,2); }
	if (a==3) { goMenu(parseInt(cssubLyr.top),false,cssubLyr,3); }

}

function goMenu(x,y,p,c) {
	if (y==true) {
		if (x!=140) {
			p.top=x+5;
			if (c==1) { clearTimeout(jsTO); jsTO = setTimeout("animMnuon(1)",1); }
			else if (c==2) { clearTimeout(eeTO); eeTO = setTimeout("animMnuon(2)",1); }
			else if (c==3) { clearTimeout(csTO); csTO = setTimeout("animMnuon(3)",1); }
		}

	}
	else if (y==false) {
		if (x!=45) {
			p.top=x-5;
			if (c==1) { clearTimeout(jsTO); jsTO = setTimeout("animMnuoff(1)",1); }
			else if (c==2) { clearTimeout(eeTO); eeTO = setTimeout("animMnuoff(2)",1); }
			else if (c==3) { clearTimeout(csTO); csTO = setTimeout("animMnuoff(3)",1); }
		}
	}
}

function clearsubs(a) {
	if (hvlad==true) {
		if (a!=1) animMnuoff(1);
		if (a!=2) animMnuoff(2);
		if (a!=3) animMnuoff(3);
	}
}

//-->