function getRandomTransition () { var _arrTransitionFilters = new Array (); //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Barn()'); //Reveals new content of the object with a motion that resembles doors opening or closing. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Blinds()'); //Reveals new content of the object with a motion that appears to open or close blinds. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.CheckerBoard()'); //Reveals new content of the object by uncovering squares placed like a checkerboard over the original content. _arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Fade()'); //Reveals new content of the object by fading out the original content. _arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.GradientWipe()'); //Reveals new content of the object by passing a gradient band over the original content. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Inset()'); //Reveals new content of the object diagonally. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Iris()'); //Reveals new content of the object with an iris effect, similar to the opening of a camera aperture. _arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Pixelate()'); //Displays the content of the object as colored squares that take the average color value of the pixels they replace. This filtered display can be used as a transition. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.RadialWipe()'); //Reveals new content of the object with a radial wipe, like a windshield-wiper blade. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.RandomBars()'); //Reveals new content of the object by exposing random lines of pixels. _arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.RandomDissolve()'); //Reveals new content of the object by exposing random pixels. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Slide()'); //Reveals new content of the object by sliding sections of the image into place. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Spiral()'); //Reveals new content of the object with a spiral motion. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Stretch()'); //Reveals new content of the object with a stretching motion to cover the original content. One option resembles a cube rotating from one face to another. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Strips()'); //Reveals new content of the object by moving successive strips into place, like a diagonal saw blade passing across the original content. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Wheel()'); //Reveals new content of the object with a rotating motion, like spokes of a wheel covering the original content. //_arrTransitionFilters.push ('progid:DXImageTransform.Microsoft.Zigzag()'); //Reveals new content of the object with a forward and back motion that moves down the object. var i = Math.round(_arrTransitionFilters.length * Math.random()); return _arrTransitionFilters[i]; } SLIDES = new slideshow("SLIDES"); var _arrImages = new Array ();_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/dim2.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/dim2.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/jimdunius.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/jimdunius.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/paul.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/paul.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner6dim.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner6dim.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner1.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner1.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/steph-frown-gm.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/steph-frown-gm.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/christof-sp-25maart.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/christof-sp-25maart.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner3.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner3.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/dim.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/dim.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner2.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner2.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner5fidel2.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner5fidel2.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/maarten.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/maarten.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/stephtoo-gm.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/stephtoo-gm.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner4fidel.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner4fidel.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner7pist.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/newbanner7pist.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/steph.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/steph.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/1uslet.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/1uslet.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/maarten-gm.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/maarten-gm.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);_arrImages.push("http://www.les-enfants-terribles.nl/js/../img/slideshow/steph-gm.jpg");s = new slide ();s.src = "http://www.les-enfants-terribles.nl/js/../img/slideshow/steph-gm.jpg";s.filter = getRandomTransition ();SLIDES.add_slide(s);