function imageLine()
	{
		var	checkInterval = null,
			imageLineInterval = null,
			currentImage = -1;
		
		images = new Array(
				
				'slider/istel_002.gif',
				'slider/istel_001.gif',
				'slider/istel_003.gif',
				'slider/istel_004.gif',
				'slider/istel_005.gif'
				// 
			);
		// 
		
		loadingImages = new Array();
		// 
		
		this.run = function()
		{
			checkInterval = window.setInterval('this.checkIfLoaded();', 100);
			// 
			for(i = 0;i < images.length;i++)
			{
				image = images[i];
				loadingImages.push(new Image);
				loadingImages[i].src = image;
			}
			
		}
		
		this.checkIfLoaded = function()
		{
			allLoaded = true;
			for(i = 0;i < loadingImages.length;i++)
			{
				loadingImage = loadingImages[i];
				if(!loadingImage.complete)
					allLoaded = false;
			}
			
			if(allLoaded)
			{
				
				window.clearInterval(checkInterval);
				// 
				this.startImageLine();
				// 
				window.setInterval('this.startImageLine();', 6000);
			}
		}
		
		this.startImageLine = function()
		{
			this.showImage();
			// 
			if(currentImage == (loadingImages.length - 1))
				currentImage = 0;
			else
				currentImage += 1;
			
			element = document.getElementById('imageline');
			element.style.height = loadingImages[currentImage].height + 'px';
			element.style.width = loadingImages[currentImage].width + 'px';
			element.style.backgroundImage = 'url(' + loadingImages[currentImage].src + ')';
			
			window.setTimeout('this.hideImage();', 5500);
		}
		
		this.hideImage = function()
		{
			element = document.getElementById('imageline');
			for(i = 0;i <= 100;i++)
				window.setTimeout('element.style.filter = "Alpha(opacity=' + (100 - i) + ')"; element.style.MozOpacity = ' + (1 - i / 100) + '; element.style.opacity = ' + (1 - i / 100) + ';', i * 5);
		}
		
		this.showImage = function()
		{
			element = document.getElementById('imageline');
			for(i = 0;i <= 100;i++)
				window.setTimeout('element.style.filter = "Alpha(opacity=' + i + ')"; element.style.MozOpacity = ' + i / 100 + '; element.style.opacity = ' +  i / 100 + ';', i * 5);
		}
		
		this.run();
	}
	
	window.onload = function()
	{
		imageLine();
	}
