$.fn.cycle.defaults.speed   = 900;
$.fn.cycle.defaults.timeout = 6000;

$(function() {
    $('.photoDynamicWrapper pre code').each(function() {
        eval($(this).text());
    });
});
function onAfter(curr,next,opts) {
		var msg = ' (Slide ' + (opts.currSlide + 1) + ' of ' + opts.slideCount + ')';
		$('#caption').html(msg);
};

$(document).ready(function() {
	
	$('#video').height('auto');
	$('#video').css({paddingBottom: "10px"});
	
	$('#photorotate img').eq(1).load(function() {
		$('#video').css({height: "616px"});
		$('#video').css({paddingBottom: "0px"});
	});
});