

//var slideShowSpeed = 9000;
//var Pic = new Array();
var slideShowSpeed1 = 11000;
var Pic1 = new Array();
// to add more images, just continue
// the pattern, adding to the array below 

 //Pic[0] = 'warstwa2'; // zdjecie1
 //Pic[2] = 'warstwa1'; // zdjecie 2
 //Pic[1] = 'warstwa3';
// Pic[3] = 'warstwa4';
 Pic1[0] = 'laykat1';
 Pic1[1] = 'laykat2';
 Pic1[2] = 'laykat3';
var t;
var l;
var j = 0;
//var p = Pic.length;
var t1;
var l1;
var j1 = 0;
var p1 = Pic1.length;
function ukryj_all() {
//for(x=0;x<p;x++) {
//   ukryj(Pic[x]);
//}
for(x=0;x<p1;x++) {
   ukryj(Pic1[x]);
}
}
//function runSlideShow() {
//l = j - 1;
//if(l < 0) l = (p - 1);
//last = Pic[l];
//akt = Pic[j];
//if (document.all) {
//document.all[last].style.filter="blendTrans(duration=2.3)";
//document.all[last].filters.blendTrans.Apply();
//}
//if (document.all) {
//document.all[akt].style.filter="blendTrans(duration=2.3)";
//document.all[akt].filters.blendTrans.Apply();
//}
//document.write("last:"+last+", next:"+akt);
//ukryj(last);
//if (document.all) {
//document.all[last].filters.blendTrans.Play();
//}
//pokaz(akt);
//if (document.all) {
//document.all[akt].filters.blendTrans.Play();
//}
//j = j + 1;
//if (j > (p - 1)) j = 0;
//t = setTimeout('runSlideShow()', slideShowSpeed);
//}
function runSlideShow1() {
l1 = j1 - 1;
if(l1 < 0) l1 = (p1 - 1);
last1 = Pic1[l1];
akt1 = Pic1[j1];
if (document.all) {
document.all[last1].style.filter="blendTrans(duration=2.3)";
document.all[last1].filters.blendTrans.Apply();
}
if (document.all) {
document.all[akt1].style.filter="blendTrans(duration=2.3)";
document.all[akt1].filters.blendTrans.Apply();
}
//document.write("last:"+last+", next:"+akt);
ukryj(last1);
if (document.all) {
document.all[last1].filters.blendTrans.Play();
}
pokaz(akt1);
if (document.all) {
document.all[akt1].filters.blendTrans.Play();
}
j1 = j1 + 1;
if (j1 > (p1 - 1)) j1 = 0;
t1 = setTimeout('runSlideShow1()', slideShowSpeed1);
}