// JavaScript Document

function reklama_hid(){
document.getElementById('reklama').style.visibility="hidden"
document.getElementById('reklama_obal').style.visibility="hidden";

}

function reklama_show(){
document.getElementById('reklama_obal').style.visibility="visible"
document.getElementById('reklama').style.visibility="visible";
}


function okno(){
window.open("pg.php","pg","width=750,height=600,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
}

function ukaz_pg1(){

document.getElementById('obr').src="hasici/PG1LE.jpg";
document.getElementById('lista').innerHTML="PG1 LE 1kg hasiva - včetně automobilového držáku";

}

function ukaz_pg2(){

document.getElementById('obr').src="hasici/PG2LE.jpg";
document.getElementById('lista').innerHTML="PG2 LE 2kg hasiva - včetně automobilového držáku";

}


function ukaz_pg4(){

document.getElementById('obr').src="hasici/PG4LE.jpg";
document.getElementById('lista').innerHTML="PG4 LE 4kg hasiva - včetně držáku";

}

function ukaz_pg6(){

document.getElementById('obr').src="hasici/PG6LE.jpg";
document.getElementById('lista').innerHTML="PG6 LE 6kg hasiva - včetně držáku";

}
 //////////
 
 
function okno2(){
window.open("ca.php","ca","width=750,height=600,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
} 

function ukaz_ca1(){

document.getElementById('obr').src="hasici/CA2LE.jpg";
document.getElementById('lista').innerHTML="CA2 LE - včetně držáku";

}


function ukaz_ca2(){

document.getElementById('obr').src="hasici/CA4LE.jpg";
document.getElementById('lista').innerHTML="CA4 LE - včetně držáku";

}

function ukaz_ca3(){

document.getElementById('obr').src="hasici/CA6LE.jpg";
document.getElementById('lista').innerHTML="CA6 LE - včetně držáku";

}

//okno3 PYROCOOL////

function okno3(){
window.open("pp.php","pp","width=750,height=600,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
}
//okno4 vodní///

function okno4(){
window.open("v9.php","v9","width=750,height=600,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
}

//okno5 sněhové///

function okno5(){
window.open("co.php","co","width=750,height=600,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
}

function ukaz_ca4(){

document.getElementById('obr').src="hasici/CO2.jpg";
document.getElementById('lista').innerHTML="CO2 - 2kg hasiva, včetně věšáku";

}

function ukaz_ca5(){

document.getElementById('obr').src="hasici/CO5.jpg";
document.getElementById('lista').innerHTML="CO5 - 5kg hasiva, včetně věšáku";

}

///Okno FIRESTOP////

function firestop(){
window.open("firestop.php","firestop","width=750,height=500,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
}

///okno AHS ///

function ahs(){
window.open("ahs_photo.php","ahs","width=800,height=500,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
}

function ukaz_ca6(){

document.getElementById('obr').src="hasici/AHS.jpg";


}

function ukaz_ca7(){

document.getElementById('obr').src="hasici/AHS1.jpg";

}

///okno LSHZ ///

function lshz(){
window.open("lshz_photo.php","lshz","width=750,height=630,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");

}

///okno SHZ ///

function shz(){
window.open("shz_photo.php","shz","width=750,height=700,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
}

///okno hydranty ///

function hydranty(){
window.open("hydrant_photo.php","shz","width=750,height=600,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
}


function ukaz_hy1(){

document.getElementById('obr').src="technika/hydrant2.jpg";
document.getElementById('lista').innerHTML="Hydrantové systémy se stálotvarou hadicí";

}


function ukaz_hy2(){

document.getElementById('obr').src="technika/proudnice.jpg";
document.getElementById('lista').innerHTML="Požární proudnice";

}

function ukaz_hy3(){

document.getElementById('obr').src="technika/skrine.jpg";
document.getElementById('lista').innerHTML="Skříňky pro PHP";

}

function ukaz_hy4(){

document.getElementById('obr').src="technika/hadice.jpg";
document.getElementById('lista').innerHTML="Požární hadice";

}

function ukaz_hy5(){

document.getElementById('obr').src="technika/ventily.jpg";
document.getElementById('lista').innerHTML="Ventily, spojky, přechody, víčka...";

}
/// cenik přesměrování ///
function cenik(){
window.location.href="cenik.php";
}

///mapa sídla///

function mapa_open(){
window.open("mapa.php","mapa","width=800,height=650,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
}

function ukaz_map1(){
document.getElementById('obr').src="Capture/Capture1.jpg";
}

function ukaz_map2(){
document.getElementById('obr').src="Capture/Capture2.jpg";
}

function ukaz_map3(){
document.getElementById('obr').src="Capture/Capture3.jpg";
}

function ukaz_map4(){
document.getElementById('obr').src="Capture/Capture4.jpg";
}

function ukaz_map5(){
document.getElementById('obr').src="Capture/Capture5.jpg";
}

function mapago1(){
window.location.href="mapa.php";
}

///fotomapa///

function ukaz_mapfoto1(){
document.getElementById('obr').src="Capture/capfoto1.jpg";
}

function ukaz_mapfoto2(){
document.getElementById('obr').src="Capture/capfoto2.jpg";
}

function ukaz_mapfoto3(){
document.getElementById('obr').src="Capture/capfoto3.jpg";
}

function ukaz_mapfoto4(){
document.getElementById('obr').src="Capture/capfoto4.jpg";
}

function ukaz_mapfoto5(){
document.getElementById('obr').src="Capture/capfoto5.jpg";
}

function mapago2(){
window.location.href="fotomapa.php";
}

///hydrant obecný se stálotvornou hadicí///

function hydrant_detail(){
window.open("hydrant_detail.php","hydrant_detail","width=750,height=700,menubar=no,toolbar=no,location=no,left=90,top=20,scrollbars=yes");
}


///dveře Z-indexy///

function zindex1(){
document.getElementById('foto1').style.zIndex=1;
document.getElementById('foto2').style.zIndex=0;
document.getElementById('foto3').style.zIndex=0;
document.getElementById('foto1_big').style.display="block";
document.getElementById('foto2_big').style.display="none";
document.getElementById('foto3_big').style.display="none";
document.getElementById('foto_text').style.display="block";
document.getElementById('foto_text').innerHTML="Protipožární dveře klasické konstrukce";
}

function zindex2(){
document.getElementById('foto2').style.zIndex=1;
document.getElementById('foto1').style.zIndex=0;
document.getElementById('foto3').style.zIndex=0;
document.getElementById('foto2_big').style.display="block";
document.getElementById('foto1_big').style.display="none";
document.getElementById('foto3_big').style.display="none";
document.getElementById('foto_text').style.display="block";
document.getElementById('foto_text').innerHTML="Protipožární dřevěné dveře<br>Protipožární stěny<br>Ocelové protipožární dveře";
}

function zindex3(){
document.getElementById('foto3').style.zIndex=1;
document.getElementById('foto2').style.zIndex=0;
document.getElementById('foto1').style.zIndex=0;
document.getElementById('foto3_big').style.display="none";
document.getElementById('foto2_big').style.display="none";
document.getElementById('foto1_big').style.display="none";
document.getElementById('foto_text').style.display="block";
document.getElementById('foto_text').innerHTML="Protipožární kazetové dveře";
}
