﻿	
	var the_images = new Array();
	the_images[0] = new Image();
	the_images[0].src = "/images/Ecard/skin/images/home_ecard_active.png";
	the_images[1] = new Image();
	the_images[1].src = "/images/Ecard/skin/images/home_ecard.png";
	
	var the_timeout;
	
	var index = 0;
	
	function cycleImage()
	{	    
	    var buildimg = document.getElementById("buildimg");	    
		buildimg.src = the_images[index].src;
		index++;
		
		if (index >= the_images.length)
		{
			index = 0;
		}
		
		the_timeout = setTimeout("cycleImage();", 1000);
	}
