function RandomVideos() {

// this is an array of image names
    // start with 0, add more if you like, but don't skip array numbers
    var r = new Array();
        r[0] = "4f8e791o";
        r[1] = "ho0a47c2";
        r[2] = "6b455135";
        r[3] = "4f8e791o";
        r[4] = "ho0a47c2";
        r[5] = "6b455135";
    
    // this statement creates the random number based on the length of the video array
    var whichr = Math.round(Math.random()*(r.length-1));
    var vid = new Image();
    vid.id=r[whichr];

    // this statement replaces the video source location based on the image selected in the array
    document.getElementById("randvid").src="http://vidego.streamingfaith.com/player.php?p="+vid.id
}