    $(document).ready(function(){
     
    bgImageTotal=3;
     
    randomNumber = Math.round(Math.random()*(bgImageTotal-1))+1;
     
    imgPath=('/graphics/'+randomNumber+'.jpg');
     
    $('a.random_ad').css('background-image', ('url("'+imgPath+'")'));
     
    });
