﻿ $(document).ready(function() {    
    var iCurrentImage = Math.floor(Math.random()*aGalleryItems.length);
    $('#Startpic_'+aGalleryItems[iCurrentImage]).css('display', 'block');
 });