function swapImage(imageID, imagePath) {
var imgID;
imgID = document.getElementById(imageID);
imgID.src = imagePath;
}

//returns a random item (0-based; returns number in range of 0 - (j-1))
function getRand(j) {
    return Math.round((j-1)*Math.random());    
}