///////////////////////////////////////////////////////////
/// Magic Image Rotation								///
///	v 1.0.1												///
/// Copyright 2007, Loyce Bradley Petrey				///
///	All Rights Reserved.								///
/// http://www.EchoChrist.com/MagicImage				///
/// webmaster@EchoChrist.com							///
///														///
///	This script is free to use as long as this notice 	///
/// remains unchanged and intact.					 	///
///														///
/// This program is free software: you can redistribute ///
///	it and/or modify it under the terms of the GNU 		///
///	General Public License as published by the Free 	///
///	Software Foundation. 								///
///														///
/// This program is distributed in the hope that it 	///
/// will be useful, but WITHOUT ANY WARRANTY; without 	///
///	even the implied warranty of MERCHANTABILITY or 	///
///	FITNESS FOR A PARTICULAR PURPOSE.  					///
/// 													///
/// Be Imitators of God as dear children and walk		///
/// in love as Christ also loved us.					///
///	Ephesians 5:1-2										///
///////////////////////////////////////////////////////////

var ImageLoad = 
[
['index.htm', 	'dia/artikelen/geboortespandoeken/1.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/canvas/canvas1.jpg', 	'Blue Flower'			],		//  ['URL to linked page', 'URL to image', 'Caption under picture']	//
['index.htm', 	'dia/artikelen/canvas/canvas2.jpg', 	'Distant Rainstorm'		],		//  The caption is not required and may be left blank like this:		//
['index.htm', 	'dia/artikelen/canvas/canvas3.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/canvas/canvas3.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/autostickers/ikrijmee.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/autostickers/naamaanboord.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/autostickers/naamonboard.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/deurstickers/deurprint1.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/deurstickers/deurprint2.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/deurstickers/deurprint3.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/deurstickers/deurprint4.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/dibond/dibond1.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/dibond/dibond2.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/dibond/dibond3.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/dibond/dibond4.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/2.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/3.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/4.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/5.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/6.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/7.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/8.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/9.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/10.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/11.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/12.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/13.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/iszedan.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/king.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/spandoek_blauw.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/spandoek_roze.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/geboortespandoeken/tadaaahh_jongen.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/gelegenheidsdoeken/gelegenheidsdoek1.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model1.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model2.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model3.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model4.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model5.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model6.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model7.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model8.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model9.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model10.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model11.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model12.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model13.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model14.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model15.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model16.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model17.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model18.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model19.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model20.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model21.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/naamborden/model22.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/raamgeboorteborden/raamgeboortebord_jongen.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/raamgeboorteborden/raamgeboortebord_meisje.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/spaakbeschermers/spaakbeschermer1.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/spaakbeschermers/spaakbeschermer2.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/tafelprints/tafelprint1.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/tafelprints/tafelprint2.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/tafelprints/tafelprint3.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/tafelprints/tafelprint4.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/tuinposters/tuinposter1.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/tuinposters/tuinposter2.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/tuinposters/tuinposter3.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/tuinposters/tuinposter4.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/tuinposters/tuinposter5.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/1.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/2.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/3.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/4.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/5.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/6.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/7.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/8.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/9.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/10.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//
['index.htm', 	'dia/artikelen/fotobehang/11.jpg', 	'Raindrops on a Leaf'	],		//  ['URL to linked page', 'URL to image', '']							//


];


var ImageCount		= 76;			//  *****  Change this to the total number of images loaded above  ***** 		//	
var ImageDelay		= 3500;			//  *****  Set this to the delay interval desired.  5000 = 5 seconds.			// 
var LinkTarget		= "_self"		//  *****  Defines where you want linked page to open. _self, _blank, _top, etc	//
var ImageIndex		= 0;			//  DO NOT ALTER	//
var FirstLoad 		= 0;			//  DO NOT ALTER	//
var QuickStartID 	= 0;  			//  DO NOT ALTER	//
var htmlString 		= ""			//  DO NOT ALTER 	//
var randomnumber	= 0;			//  DO NOT ALTER	//

//  This function rotates the banner  //
function ImageChange()

{		

htmlString = '<center>';
htmlString = htmlString + '<font face = "Verdana" size="2">';		//  Font and Font Size for caption may be changed here	//

htmlString = htmlString + '<img border="0" src="';				//  Image border size may be changed here				//	
htmlString = htmlString + ImageLoad[ImageIndex][1];
htmlString = htmlString + '"></a><br>';

htmlString = htmlString + '</font>';
htmlString = htmlString + '</center>';		

document.getElementById('MagicImage').innerHTML = htmlString; 				

ImageIndex = Math.floor(Math.random()*ImageCount);																				

if(FirstLoad == 0)						//  Determins if this is the first time function has run.   // 
{
SlowFinish();
}

}
//  End Funtion  //

//  This function ensures first banner is displayted without a delay  //
function  QuickStart()
{
QuickStartID=setInterval("ImageChange()", 1000);
}
//  End Funtion  //																		

//  This function sets display rate to user defined speed  //
function SlowFinish()
{
clearInterval(QuickStartID);
FirstLoad = 1;
setInterval("ImageChange()", ImageDelay);	 
}
//  End Funtion  //

QuickStart()
