﻿
function getImageList(x)
{
    //alert(x);
    imgPath = getImgRoot() + x + '/';
    //alert(imgPath);
    //we want to return a list of the images that are in there
    images = new Array();
    images[0] = imgPath + 'slideshow-' + x + '-0.jpg';
    images[1] = imgPath + 'slideshow-' + x + '-1.jpg';
    images[2] = imgPath + 'slideshow-' + x + '-2.jpg';
    return images;
}


function getImgRoot()
{
   fullURL = String(window.location).substr(7);
   return 'http://' + fullURL.substr(0,fullURL.indexOf('/')) + '/Resources/repositories/images/pbhc/';
}