document.addEvent("domready",function(e){
     $$(".login-logininput").each(function(el){
          el.addEvent("focus",function(e){
               if(this.value == 'Login')
               {
                    this.value='';
               }
          });
          
          el.addEvent("blur",function(e){
               if(this.value=='')
               {
                    this.value='Login';
               }
          });
     });
     
     $$(".login-passinput").each(function(el){
          if(!Browser.Engine.trident)
          {
               el.type="text";
               el.value="Heslo";
               
               el.addEvent("focus",function(e){
                    if(this.type=="text")
                    {
                         this.value = "";
                         this.type = "password";
                    }
               });
               
               el.addEvent("blur",function(e){
                    if(this.value == "")
                    {
                         this.type = "text";
                         this.value = "Heslo";
                    }
               });
          }
     });
});