if(screen.width<1000) {
document.write('<LINK href="/latos_1.css" rel=stylesheet type=text/css>');
}

else {
document.write('<LINK href="/latos_2.css" rel=stylesheet type=text/css>');
}

function about() {
if(screen.width>1000) {
var www=screen.width;
var about=www-592;
div_about2.style.width=about;
var conten=www-300;
div_content.style.width=conten;
var hhh=div_content.clientHeight;
var hhh2=hhh+150;
div_prod_niz.style.top=hhh2+"px";
div_prod_niz.style.visibility="visible";
var hh=div_content.clientHeight;
var hhh3=hh+260;
div_bottom.style.top=hhh3+"px";
div_bottom.style.visibility="visible";
}
else {
var www=screen.width;
var about=www-90;
//div_about.style.width=about;
var conten=www-90;
div_content.style.width=conten;
var hhh=div_content.clientHeight;
var hhh2=hhh+390;
 if(tekk==1) {
div_tek.style.top=hhh2+"px";
div_tek_1.style.top=hhh2+"px";
div_tek_2.style.top=hhh2+"px";
div_tek_3.style.top=hhh2+"px";
var sm=560;
 }
 else { var sm=370;}
var hh=div_content.clientHeight;
var hhh3=hh+sm;
div_bottom.style.top=hhh3+"px";
div_bottom.style.visibility="visible";
}
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


function info_click(el) {
document.getElementById("info"+el).style.visibility='visible';
document.getElementById("info"+el).style.overflow='visible';
document.getElementById("info"+el).style.height='205px';

document.getElementById("price"+el).style.visibility='hidden';
document.getElementById("price"+el).style.overflow='hidden';
document.getElementById("price"+el).style.height='1px';

document.getElementById("infa"+el).src='images/m_info_sel.gif';
document.getElementById("prca"+el).src='images/m_price.gif';


}
function price_click(el) {

document.getElementById("price"+el).style.visibility='visible';
document.getElementById("price"+el).style.overflow='visible';
document.getElementById("price"+el).style.height='205px';

document.getElementById("info"+el).style.visibility='hidden';
document.getElementById("info"+el).style.overflow='hidden';
document.getElementById("info"+el).style.height='1px';

document.getElementById("infa"+el).src='images/m_info.gif';
document.getElementById("prca"+el).src='images/m_price_sel.gif';
}

