// JavaScript Document
$(function()  {
      setInterval("rotateImages()", 3000);
   });
   function rotateImages() {
   //window.alert("This code is working supposedly");
   var CurPhoto = $("#rotating_Images div.current");
   var NxtPhoto =CurPhoto.next();
   if (NxtPhoto.length == 0)
       NxtPhoto = $("#rotating_Images div:first");
   CurPhoto.removeClass('current').addClass('previous');
   NxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({opacity: 1.0}, 1000,
      function()  {
	    CurPhoto.removeClass('previous');
		});
   	   
   }
