var link_path  = "/";

function getRandom_sum(nums_sum)
{
    var ranNum_sum= Math.round(Math.random()*nums_sum);
    return ranNum_sum;
}

// Tells us how many images we have available.
var numberOfImages_sum = 13;
var randomNumber_sum = getRandom_sum(numberOfImages_sum);

var numberOfTimelineImages_sum = 5;
var randomNumberTimeline_sum = getRandom_sum(numberOfTimelineImages_sum);

// Create an array to hold the names of all images.
var sum_images = new Array(numberOfImages_sum);
sum_images[0]= link_path+"images/sub-content-img.jpg";
sum_images[1]= link_path+"images/sub-content-img2.jpg";
sum_images[2]= link_path+"images/sub-content-img3.jpg";
sum_images[3]= link_path+"images/sub-content-img4.jpg";
sum_images[4]= link_path+"images/sub-content-img5.jpg";
sum_images[5]= link_path+"images/sub-content-img6.jpg";
sum_images[6]= link_path+"images/sub-content-img7.jpg";
sum_images[7]= link_path+"images/sub-content-img8.jpg";
sum_images[8]= link_path+"images/sub-content-img9.jpg";
sum_images[9]= link_path+"images/sub-content-img10.jpg";
sum_images[10]= link_path+"images/sub-content-img11.jpg";
sum_images[11]= link_path+"images/sub-content-img12.jpg";
sum_images[12]= link_path+"images/sub-content-img13.jpg";
sum_images[13]= link_path+"images/sub-content-img14.jpg";

// Create an array to hold the names of all images.
var sum_timeline_images = new Array(numberOfTimelineImages_sum);
sum_timeline_images[0]= link_path+"images/timeline1.jpg";
sum_timeline_images[1]= link_path+"images/timeline2.jpg";
sum_timeline_images[2]= link_path+"images/timeline3.jpg";
sum_timeline_images[3]= link_path+"images/timeline4.jpg";
sum_timeline_images[4]= link_path+"images/timeline5.jpg";
sum_timeline_images[5]= link_path+"images/timeline6.jpg";