window.onload = function(e) {   
  cl();
}
    function cl () {
    
       var contain = new Array; //definice pole
       
       //jake odkazy ma obsahovat
       contain[0] = 'http://krecek.org';
       contain[1] = 'http://www.ledtelevize.cz';
     
       
       var msgThief = 
       "You've managed to delete one of the sponsored links in footer, by which you voilate license and copyright. Add links in the original form, please. <br /><br /> &lt;a href='http://krecek.org'&gt;Křeček&lt;/a&gt; | <br />&lt;a href='http://www.ledtelevize.cz'&gt;LED televize&lt;/a&gt; |";
      /////////////////////////////
      
       var hell = false;
       var stop = (contain.length);
       var i = 0;
       
       while (i < stop) {
       
           if ( !document.getElementById("footer").innerHTML.match(".*"+contain[i]+".*") ) { 
                hell = true;               
           }
           i++;
       }      
      
       if (hell) {             
           document.getElementById("all").innerHTML = msgThief; 
       }
   
    }
