// Insert Random Top Image

// --------WEDDING-----------

// There should be no gaps between number of images in rotation
// For example... 1, 2, 3, 4, 5... not 1, 2, 4, 5, 8, 11... etc.
// Images should be WIDTH=270 HEIGHT=366
// Horizontal images should be width=270, placed upon the background
// then spaced 50 pixels from the top

// ___ Set Number for Image Range
// For number of images, change the '.random()*4)' number
// The number should be 1 less than actual # of images
// For example
// If you  have 5 images, set the wedding_img_num = 4
// If you  have 63 images, set the wedding_img_num = 62

awards_img_num = 13

// ___ Get Random Number within Range

random_num_awards = (Math.round((Math.random()*awards_img_num)+1))

// ___ Write into HTML

// This is the code to write into the document
// Any text or html should be in quotations "<img..."
// Random number variable does not need quotations
// Images are set to follow "image_1.jpg" format

document.write("<img src=awards/awards_" + random_num_awards + ".jpg HEIGHT=366 width=270 name=awardsfeature>");


