// JavaScript Document
today=new Date();
jran=today.getTime();
var number = 1;
var random_number="";
var image="";

ia=9301;
ic=49297;
im=233280;
jran = (jran*ia+ic) % im;
random_number = Math.ceil( (jran/(im*1.0)) *number);

// Loads the appropriate image based on random number.
    if (random_number==1) 
        {
            image="/media/images/background/background_photo_summer.jpg";
        }

    /*if (random_number==1) 
        {
            image="/media/images/background/background_photo_beverages.jpg";
        }
    if (random_number==2) 
        {
            image="/media/images/background/background_photo_cheese.jpg";
        }
    if (random_number==3) 
        {
            image="/media/images/background/background_photo_fruit_vegetable.jpg";
        }
    if (random_number==4) 
        {
            image="/media/images/background/background_photo_jam_jelly.jpg";
        }
    if (random_number==5) 
        {
            image="/media/images/background/background_photo_meat_seafood_beef.jpg";
        }
    if (random_number==6) 
        {
            image="/media/images/background/background_photo_meat_seafood_chicken.jpg";
        }
    if (random_number==7) 
        {
            image="/media/images/background/background_photo_snacks_sweets.jpg";
        }
    if (random_number==8) 
        {
            image="/media/images/background/background_photo_syrup_spice.jpg";
        }
    if (random_number==9) 
        {
            image="/media/images/background/background_photo_wine.jpg";
        }
   if (random_number==10) 
        {
            image="/media/images/background/background_photo_fruitsandvegetables2.jpg";
        }
   if (random_number==11) 
        {
            image="/media/images/background/background_photo_houseandhome.jpg";
        }*/
// End -->