	var started = true;
	function Rotator (j, images)
	{
		if (j > images.length-1){
			j = 0;
		}

		// Skip the fist call
		if(!started) {
			// Get the last element and create a new one...
			var lastElem = $("#rotator div.element:last-child");
			var tmp = lastElem.clone();
			var newElem = $(tmp);
			lastElem.after(newElem).css("z-index","2").fadeOut(1500);
			newElem.css({"z-index":"1","background-image":"url(\'" + images[j].src + "\')"});
		}

		delay = 5000;
		if(started) {
			delay = 2500;
		} 
		
		started = false;
		window.setTimeout(function () {Rotator(j+1, images);}, delay);
	}
