// Equal Column Heights
function setEqualHeight(columns) {
	var tallestcolumn = 0;
	 
	columns.each(
	 	function() {
	 		currentHeight = $(this).height();
	 		
	 		if(currentHeight > tallestcolumn) {
	 			tallestcolumn = currentHeight;
	 		}
	 	}
	);
	 
	columns.height(tallestcolumn);
}

// Photo Rotator
$(function() {
    $('#rotator').cycle({
        fx:     'fade',
        speed:  '700',
        timeout: 8000,
        pause: 	1,
		slideExpr: '.item',    
		next:   '#next2',
		prev:   '#prev2'

    });
});

// Play/Pause Button
var isPaused = false;

function playpause() {
	if (isPaused) {
		$('#rotator').cycle('resume');
		isPaused = false;
	} else {
		$('#rotator').cycle('pause');
		isPaused = true;
	} 		
}
