if (document.location.protocol == "https")
	var link_path  = "/";
else
	var link_path  = "https://web01.dnsnetworks.ca/cpf/public_html/cpf_secure/";

// Function that return a number between 0 and "nums - 1"
function getRandom(nums)
{
    var ranNum= Math.round(Math.random()*nums);
    return ranNum;
}

// Tells us how many images we have available.
var numberOfImages = 7;
var randomNumber = getRandom(numberOfImages);

// Create an array to hold the names of all images.
var image = new Array(numberOfImages);
image[0]= link_path+"images/wrapper/branding_img_01.jpg";
image[1]= link_path+"images/wrapper/branding_img_02.jpg";
image[2]= link_path+"images/wrapper/branding_img_03.jpg";
image[3]= link_path+"images/wrapper/branding_img_04.jpg";
image[4]= link_path+"images/wrapper/branding_img_05.jpg";
image[5]= link_path+"images/wrapper/branding_img_06.jpg";
image[6]= link_path+"images/wrapper/branding_img_07.jpg";
image[7]= link_path+"images/wrapper/branding_img_08.jpg";




