

var i=-86;
var i2=-86;
var i3=-86;
var alertTimerId1 = 0;
var alertTimerId2 = 0;
var alert2TimerId1 = 0;
var alert2TimerId2 = 0;
var alert3TimerId1 = 0;
var alert3TimerId2 = 0;
var xyz1 = 0;
var xyz2 = 0;
var xyz3 = 0;

var iebody=(document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body



function positioning1()
{
var dsocleft1=document.all? iebody.scrollLeft : pageXOffset
var dsoctop1=document.all? iebody.scrollTop : pageYOffset
if (document.getElementById('pasekcetia').style.top != dsoctop1 + 500 + 'px')
{
//document.getElementById('pasekcetia').style.top = dsoctop1 + 500 + 'px';
};
};

function positioning2()
{
var dsocleft2=document.all? iebody.scrollLeft : pageXOffset
var dsoctop2=document.all? iebody.scrollTop : pageYOffset
if (document.getElementById('pasekwozniakiewicz').style.top != dsoctop2 + 550 + 'px')
{
//document.getElementById('pasekwozniakiewicz').style.top = dsoctop2 + 550 + 'px';
};
};

function positioning3()
{
var dsocleft3=document.all? iebody.scrollLeft : pageXOffset
var dsoctop3=document.all? iebody.scrollTop : pageYOffset
if (document.getElementById('pasekfirma').style.top != dsoctop3 + 600 + 'px')
{
//document.getElementById('pasekfirma').style.top = dsoctop3 + 600 + 'px';
};
};

xyz1 = window.setInterval("positioning1()", 7 );
xyz2 = window.setInterval("positioning2()", 7 );
xyz3 = window.setInterval("positioning3()", 7 );

function show_xxx()
{
   if (i < 0)
   {
    i+=2;
    document.getElementById('pasekcetia').style.left = i + 'px';
   }
   else
   {
    window.clearInterval(alertTimerId1);
   };
};

function show_xxx2()
{
   if (i2 < 0)
   {
    i2+=2;
    document.getElementById('pasekwozniakiewicz').style.left = i2 + 'px';
   }
   else
   {
    window.clearInterval(alert2TimerId1);
   };
};

function show_xxx3()
{
   if (i3 < 0)
   {
    i3+=2;
    document.getElementById('pasekfirma').style.left = i3 + 'px';
   }
   else
   {
    window.clearInterval(alert3TimerId1);
   };
};

function hide_xxx()
{
   if (i > -86)
   {
    i-=2;
    document.getElementById('pasekcetia').style.left = i + 'px';
   }
   else
   {
    window.clearInterval(alertTimerId2);
   };
};

function hide_xxx2()
{
   if (i2 > -86)
   {
    i2-=2;
    document.getElementById('pasekwozniakiewicz').style.left = i2 + 'px';
   }
   else
   {
    window.clearInterval(alert2TimerId2);
   };
};

function hide_xxx3()
{
   if (i3 > -86)
   {
    i3-=2;
    document.getElementById('pasekfirma').style.left = i3 + 'px';
   }
   else
   {
    window.clearInterval(alert3TimerId2);
   };
};


function show_pasek()
{
  window.clearInterval(alertTimerId2);
  alertTimerId1 = window.setInterval("show_xxx()", 7 );
};

function show_pasek2()
{

  window.clearInterval(alert2TimerId2);
  alert2TimerId1 = window.setInterval("show_xxx2()", 7 );
};

function show_pasek3()
{
  window.clearInterval(alert3TimerId2);
  alert3TimerId1 = window.setInterval("show_xxx3()", 7 );
};

function hide_pasek()
{
  window.clearInterval(alertTimerId1);  
  alertTimerId2 = window.setInterval("hide_xxx()", 7 );
};

function hide_pasek2()
{
  window.clearInterval(alert2TimerId1);  
  alert2TimerId2 = window.setInterval("hide_xxx2()", 7 );
};

function hide_pasek3()
{
  window.clearInterval(alert3TimerId1);  
  alert3TimerId2 = window.setInterval("hide_xxx3()", 7 );
};





function samofirma()
{
  show_pasek2();
  setTimeout ( "samofirmaukryj()", 1000 );
}

function samofirmaukryj()
{
  
  hide_pasek2()
  setTimeout ( "samofirma()", 120000 );
}


function samocetia()
{
  show_pasek();
  setTimeout ( "samocetiaukryj()", 1000 );
}

function samocetiaukryj()
{
 
  hide_pasek()
  setTimeout ( "samocetia()", 120000 );
}





function samowozn()
{
  show_pasek3();
  setTimeout ( "samowoznukryj()", 1000 );
}

function samowoznukryj()
{
  hide_pasek3()
  setTimeout ( "samowozn()", 120000 );
}
 
setTimeout('samocetia()', 30000);
setTimeout('samofirma()', 31000);
setTimeout('samowozn()', 32000);







