
var NN = false
if(document.layers) NN = true;
var nn6 = (document.getElementById && navigator.appName == "Netscape")? true : false; 

function L()
{
	if(!NN && !nn6) Dst.style.display = "inline";

	if(document.fl){
		document.fl.SetVariable("ChangeVar", "true");
		document.fl.SetVariable("kadr", Kadrs[1]);
		document.fl.SetVariable("yval", Coords[1]);
		document.fl.SetVariable("strana", Country[1]);
	};

	if (document.stolb) {
document.stolb.SetVariable("link1", "/showdoc.php/12/15/");
document.stolb.SetVariable("link2", "/showdoc.php/5/157/");
document.stolb.SetVariable("link3", "/showdoc.php/6/37/");
document.stolb.SetVariable("link4", "/showdoc.php/7/35/");
document.stolb.SetVariable("link5", "/showdoc.php/8/38/");
document.stolb.SetVariable("link6", "/showdoc.php/9/25/");
document.stolb.SetVariable("link7", "/showdoc.php/99/100/");
};

if (document.str1) { document.str1.SetVariable("link",DALLINK.href); };

if (document.str2) { document.str2.SetVariable("link",DALLINK.href); };

if (document.dblue) { document.dblue.SetVariable("link",BLUELINK.href); };

if (document.dred) { document.dred.SetVariable("link",REDLINK.href); };

};

function Lfl() {
	if(document.fl){
		document.fl.SetVariable("ChangeVar", "true");
		document.fl.SetVariable("kadr", Kadrs[1]);
		document.fl.SetVariable("yval", Coords[1]);
		document.fl.SetVariable("strana", Country[1]);
	};
};

function Lstolb() {
if (document.stolb) {
document.stolb.SetVariable("link1", "/showdoc.php/12/15/");
document.stolb.SetVariable("link2", "/showdoc.php/5/157/");
document.stolb.SetVariable("link3", "/showdoc.php/6/37/");
document.stolb.SetVariable("link4", "/showdoc.php/7/35/");
document.stolb.SetVariable("link5", "/showdoc.php/8/38/");
document.stolb.SetVariable("link6", "/showdoc.php/9/25/");
document.stolb.SetVariable("link7", "/showdoc.php/99/100/");
};
};

function Lstr1() {
if (document.str1) { document.str1.SetVariable("link",DALLINK.href); }
};

function Lstr2() {
if (document.str2) { document.str2.SetVariable("link",DALLINK.href); }
};
 
function Ldblue() {
if (document.dblue) { document.dblue.SetVariable("link",BLUELINK.href); }
}

function Ldred() {
if (document.dred) { document.dred.SetVariable("link",REDLINK.href); }
}

function Over(k)
{
	if(!NN){
		name="pl"+k;
		eval(name).bgColor="DCF3D1";
	};
	
	document.fl.SetVariable("ChangeVar", "true");
	document.fl.SetVariable("kadr", Kadrs[k]);
	document.fl.SetVariable("yval", Coords[k]);
	document.fl.SetVariable("strana", Country[k]);
}

function Out(k)
{
	if(!NN){
		name="pl"+k;
		eval(name).bgColor="3DBF00";
	};
}

function clLink(k)
{

	fl.setVariable("link", ArrLink[k]);

}

function sel_razmeh()
{
if(month1.selectedIndex == 3 || month1.selectedIndex == 4)
razmeh.style.display = "inline";
}

function OpenWin(k)
{ 
var wid = 800;
if(NN) wid = document.screen.width - 30;
else wid = document.body.offsetWidth + window.screenLeft - 30;
hhh = window.screenTop + (document.body.offsetHeight - document.body.clientHeight - 20);
str = 'width=315,height=445,left='+(wid -315)+',top='+hhh+',resize=no';
if(k == 1) window.open('/pics/licenz_1big.gif', '', 'width=315,height=445,left='+(wid -315)+',top='+hhh+',resize=no');
if(k == 2) window.open('/images/licenz_5big.jpg', '', ' width=313, height=465,left='+(wid -313)+',top='+hhh+',resize=no');
if(k == 3) window.open('/pics/licenz_3big.gif', '', ' width=320, height=433,left='+(wid -320)+',top='+hhh+',resize=no');
if(k == 4) window.open('/pics/licenz_4big.gif', '', ' width=275, height=384,left='+(wid -275)+',top='+hhh+',resize=no');
if(k == 5) window.open('/pics/licenz_5big.gif', '', ' width=326, height=459,left='+(wid -326)+',top='+hhh+',resize=no');
if(k == 6) window.open('/pics/licenz_6big.gif', '', ' width=339, height=459,left='+(wid -339)+',top='+hhh+',resize=no');
if(k == 7) window.open('/pics/licenz_7big.gif', '', ' width=263, height=378,left='+(wid -263)+',top='+hhh+',resize=no');
if(k == 8) window.open('/pics/licenz_8big.gif', '', ' width=261, height=362,left='+(wid -261)+',top='+hhh+',resize=no');
if(k == 9) window.open('/pics/licenz_9big.gif', '', ' width=268, height=352,left='+(wid -268)+',top='+hhh+',resize=no');
}

function show_div_form()
{
document.all['zakaz'].style.display = "inline";
document.all['spec_term'].style.display = "none";
};

function show_big_pic (url, my_title) {
var str = '/pic.php?file='+url+'&titl='+my_title;
window.open(str, 'photo', 'location=no,width=600,height=450,scrollbars=no');
}

function show_big_pic2 (url1, url2, my_title) {
var str = '/pic21.php?file1='+url1+'&file2='+url2+'&titl='+my_title;
window.open(str, 'photo', 'location=no,width=600,height=450,scrollbars=no');
}

function show_big_pic3 (url1, url2, url3, my_title) {
var str = '/pic31.php?file1='+url1+'&file2='+url2+'&file3='+url3+'&titl='+my_title;
window.open(str, 'photo', 'location=no,width=600,height=450,scrollbars=no');
}

