var tfsRandom = { 
  
    check: function () {  
     var myUrl = '../../../../random.php';  
     tb.request.add( tfsRandom.checkhandler, 'GET', myUrl, null, true); 
     document.getElementById('reload').style.display='';
    },
   
   checkhandler: function ( pXml, pText ) { 
    document.getElementById('rand').innerHTML = pText; 
    document.getElementById('reload').style.display='none';
    }

  }
