/**
 *
 * @access public
 * @return void
 **/
var s;
function stt(){
  s=1;
  up();
}
function stp(){
  s=0;
}
function pau(){
  document.getElementById("fly").scrollTop++;
  s=0;
  window.setTimeout("stt()",1000);
}
function podmien(o){
   lis=o.getElementsByTagName("LI");
   alert(lis+'s');
   var li = document.createElement("LI");
   li=o.firstChild;
   o.appendChild(li);

 o.removeChild(o.firstChild);
}
function up(){
  if (s==0) return;
  obj=document.getElementById("fly");
  tmp=obj.scrollTop;
  if(!(tmp%123)){
    document.getElementById("noclegi-menu").innerHTML=tmp+' '+(tmp%123)+' '+obj.height;
    pau();
  }
  obj.scrollTop+=s;
  if(tmp!=0 && obj.scrollTop==tmp)
    podmien(obj);
    //obj.scrollTop=0;

    window.setTimeout("up()",50);
     //wez_bannery();
}