﻿/* Sets images used for transitions */var imgs = ['i/slideshow/frame_01.jpg',             'i/slideshow/frame_02.jpg',			'i/slideshow/frame_03.jpg',			'i/slideshow/frame_04.jpg',             'i/slideshow/frame_05.jpg',			'i/slideshow/frame_06.jpg',            'i/slideshow/frame_07.jpg',			'i/slideshow/frame_08.jpg',			'i/slideshow/frame_09.jpg',			'i/slideshow/frame_10.jpg',			'i/slideshow/frame_11.jpg'];            /* Caches images */cacheImages(imgs);/* Attach event to onload */// Something like the correct way, never got to work */// document.body.attachEvent('onload', transitionImages('logo-2',imgs,4000)) *//* Hack way of adding to onload event */var currentLoadEvent = window.onload;if (typeof window.onload != 'function')    window.onload = transitionImages('logo-2',imgs,4000);else    window.onload = function() {currentLoadEvent(); transitionImages('logo-2',imgs,4000);}