// JavaScript Document<script type="text/javascript">

            var globals = {
				//You can edit the following part with the images(including path) information that you want to display and its alt value, if any
                images: [{
                    src: 'images/GECcampus3.jpg',
                    alt: 'GEC-Campus',
					delay: 2000
                }, {
                    src: 'images/GEC.jpg',
                    alt: 'GEC-Main Building',
					delay: 2000
                }, {
                    src: 'images/GECcampus2.jpg',
                    alt: 'GEC-Campus',
					delay: 2000
                }, {
                    src: 'images/GECcampus4.jpg',
                    alt: 'GEC-Campus',
					delay: 2000
                }, {
                    src: 'images/GECcampus1.jpg',
                    alt: 'GEC-Campus',
					delay: 2000
                }],               
                //You don't have to edit anything after this in JS Code.
                count: 1				
            }
            function changeImage() {
                if (globals.count === globals.images.length) {
                    globals.count = 0;
                }
                if (document.getElementById('imageContainer') && document.getElementById('imageContainer').getElementsByTagName('img')[0]) {
                    document.getElementById('imageContainer').getElementsByTagName('img')[0].src = globals.images[globals.count].src;
                    document.getElementById('imageContainer').getElementsByTagName('img')[0].alt = globals.images[globals.count].alt;
					if(!globals.images[globals.count].delay){
						globals.images[globals.count].delay = 1000;
					}else{						
						globals.images[globals.count].delay = parseInt(globals.images[globals.count].delay);
					}
					setTimeout(function(){
						changeImage();
					},globals.images[globals.count].delay);
                                      
                    globals.count++;					
                }
            }            
            window.onload = function() {
                setTimeout(function(){
					changeImage();
				},globals.images[0].delay);
            }
    