function imagePreloader(sezona)
{
	// Image Preloader version 1.0
	// Copyright 2009 Bontrager Connection, LLC
	// http://www.willmaster.com/
	//
	// Leave the next line as is.
	var preload = new Array();
	
	// List the images to be loaded, each 
	// image assigned to preload[#], with 
	// consecutive numbering starting at 0.
	
	// default
	preload[0] = "stilovi/slike/logo.png";
	preload[1] = "stilovi/slike/ivicaBottom.png";
	preload[2] = "stilovi/slike/ivicaTop.png";
	
	////////////////////////////////////////
	//JESEN
	////////////////////////////////////////
	if(sezona == 10 || sezona == 11)
	{
		preload[3] = "stilovi/jesen/bgJesen.jpg";
		preload[4] = "stilovi/jesen/fadeJesenAgent.png";
		preload[5] = "stilovi/jesen/kontaktiracemoVasJesen.png";
		preload[6] = "stilovi/jesen/meniLevo.png";
		preload[7] = "stilovi/jesen/meniLevoOver.png";
	}
	////////////////////////////////////////
	//ZIMA
	////////////////////////////////////////
	if(sezona == 12 || sezona == 1)
	{
		preload[3] = "stilovi/zima/bgZima.jpg";
		preload[4] = "stilovi/zima/fadeZimaAgent.png";
		preload[5] = "stilovi/zima/kontaktiracemoVasZima.png";
		preload[6] = "stilovi/zima/meniLevo.png";
		preload[7] = "stilovi/zima/meniLevoOver.png";
	}
	
	////////////////////////////////////////
	//FEBRUAR - MART
	////////////////////////////////////////
	if(sezona == 2 || sezona == 3)
	{
		preload[3] = "stilovi/februarMart/bgFebruarMart.jpg";
		preload[4] = "stilovi/februarMart/fadefebruarMartAgent.png";
		preload[5] = "stilovi/februarMart/kontaktiracemoVasfebruarMart.png";
		preload[6] = "stilovi/februarMart/meniLevo.png";
		preload[7] = "stilovi/februarMart/meniLevoOver.png";
	}
	
	////////////////////////////////////////
	//PROLECE
	////////////////////////////////////////
	if(sezona == 4 || sezona == 5)
	{
		preload[3] = "stilovi/prolece/bgProlece.jpg";
		preload[4] = "stilovi/prolece/fadeProleceAgent.png";
		preload[5] = "stilovi/prolece/kontaktiracemoVasProlece.png";
		preload[6] = "stilovi/prolece/meniLevo.png";
		preload[7] = "stilovi/prolece/meniLevoOver.png";
	}
	
	////////////////////////////////////////
	//LETO
	////////////////////////////////////////
	if(sezona == 6 || sezona == 7 || sezona == 8 || sezona == 9)
	{
		preload[3] = "stilovi/leto/bgLeto.jpg";
		preload[4] = "stilovi/leto/fadeLetoAgent.png";
		preload[5] = "stilovi/leto/kontaktiracemoVasLeto.png";
		preload[6] = "stilovi/leto/meniLevo.png";
		preload[7] = "stilovi/leto/meniLevoOver.png";
	}
	
	// Leave the next 5 lines as they are.
	var loadedimages = new Array();
	for(var i=0; i < preload.length; i++) {
		loadedimages[i] = new Image();
		loadedimages[i].src = preload[i];
	}
}