	var image_index_pic2=0;
		
	function startRotating_pic2 (image_front, image_back) {

	    rotateImage_pic2(image_front, image_back);
	}

	function rotateImage_pic2(image_front, image_back) {
	    var divParent_pic2 = document.getElementById(image_front).parentNode;

		image_index_pic2 = (image_index_pic2) % image_list_pic2.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_pic2[image_index_pic2].image_item.src);
		image_index_pic2 += 1;	
		if (image_index_pic2==image_list_pic2.length)
			{image_index_pic2=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_pic2[image_index_pic2].image_item.src);

		var recur_call = "rotateImage_pic2('" + image_front + "','" + image_back + "')";
		var timed_call = "timedopacity('" + image_front + "')";

		setTimeout(recur_call, 16000);
		setTimeout(timed_call, 14000);
		
	}

	
	

	



