$(document).ready(function() {
    $('#slide1').cycle({
		fx: 'fade',
        timeout: 3500
	});
    $('#slide2').cycle({
		fx: 'fade',
        timeout: 3500
	});
	$('#ask a').click(function (e) {
        e.preventDefault();
        $('#contact-container').modal();
	});

    $("#photo-box li a").click(function(){
        $("#photo-display img").attr({"src": $(this).attr("href"), "title": $("> img", this).attr("title")});
        //$("#photo-display img").hide().attr({"src": $(this).attr("href"), "title": $("> img", this).attr("title")});
        return false;
    });
    //$("#photo-display>img").load(function(){$("#photo-display>img:hidden").fadeIn("slow")});

});
