	var image_index_pic1=0;
		
	function startRotating_pic1 (image_front, image_back) {

	    rotateImage_pic1(image_front, image_back);
	}

	function rotateImage_pic1(image_front, image_back) {
	    var divParent_pic1 = document.getElementById(image_front).parentNode;

		image_index_pic1 = (image_index_pic1) % image_list_pic1.length;
		changeOpac(99, image_front);
		changeOpac(99, image_back);
		//document.getElementById(place_pic1).style.backgroundImage = "url(" + image_list_pic1[image_index_pic1].image_item.src + ")";
		//document.getElementById(place_pic1).src = image_list_pic1[image_index_pic1].image_item.src + ")";
		document.getElementById(image_front).setAttribute("src", image_list_pic1[image_index_pic1].image_item.src);
		image_index_pic1 += 1;	
		if (image_index_pic1==image_list_pic1.length)
			{image_index_pic1=0;
			}
			
		//document.getElementById(divParent_pic1.id).style.backgroundImage = "url(" + image_list_pic1[image_index_pic1].image_item.src + ")";
		document.getElementById(image_back).setAttribute("src", image_list_pic1[image_index_pic1].image_item.src);

		var recur_call = "rotateImage_pic1('" + image_front + "','" + image_back + "')";
		var timed_call = "timedopacity('" + image_front + "')";

		setTimeout(recur_call, 13000);
		setTimeout(timed_call, 11000);
		
	}

	
	

	



