// JavaScript Document - image show

$(function() {
	// create the image rotator
	setInterval("rotateImages()", 7000);
});

function rotateImages() {
	var oCurPhoto = $('#photoShow div.current');
	var oNxtPhoto = oCurPhoto.next();
	if (oNxtPhoto.length == 0)
		oNxtPhoto = $('#photoShow div:first');

	oCurPhoto.removeClass('current').addClass('previous');
	oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 }, 2500,
		function() {
			oCurPhoto.removeClass('previous');
		});

}
$(document).ready(function(){
	  $('.quotemore').hide();
	  $('<a href="#" class="revealer">...Read More</a>').insertBefore('.quotemore');
	  $('.revealer').click(function(){
		$(this).hide();
		$(this).next().toggle();
		return false;
	  });
});

