function rand(inferior,superior){
    numPosibilidades = superior - inferior
    aleat = Math.random() * numPosibilidades
    aleat = Math.round(aleat)
    return parseInt(inferior) + aleat
} 

var ran = rand(1,999999)
document.write('<img src="/log/log.php?t=' + ran + '" border="0" alt="FlavioNet AccessLog" width="8" height="8">')