var speed = 140;
var tmpText;
var text;
var MyTime;
function ustawMyFloat(){
  tmpText = document.getElementById('inputMyFloat').value;
  document.getElementById('inputMyFloat').value = ''
}
function setupMyFloat()
{
  ustawMyFloat();
  text = tmpText;
  var padding = "";
  for(var i = 0; i < document.getElementById('inputMyFloat').size; i++){
    padding += " ";
  }
  text = padding + text;
  scrollMyFloat();
}
function scrollMyFloat()
{
  document.getElementById('inputMyFloat').value = text;
  var temp = text.substr(1, text.length);
  text = temp + text.substr(0,1);
  MyTime = setTimeout("scrollMyFloat()", speed);
}
function unfloat(){
  clearTimeout(MyTime);
  document.getElementById('inputMyFloat').value = '';
}
