$(document).ready(function(){

function myhideContent(elts, settings, callback) {
    elts.contentWrapper
        .fadeOut({duration: 350, complete: function() {
            callback();
        }});
};


function myendFillContent(elts, settings){
    //alert('filled');
    //$('#biographypane').jScrollPane();
    $('#biographypane').append($('#biography').html()).jScrollPane({scrollbarWidth:16, scrollbarMargin:10,showArrows:true});
};



/*
$.nyroModalSettings({
    debug:false,
    width:810,
    height:591
});
*/

$.nyroModalSettings({
    debug:false,
    minWidth:810,
    minHeight:532,
    endShowContent: myendFillContent
});


/*
$.nyroModalManual({
url: '/static/images/_thumbs/Mecky_van_den_Brink_00_FridauitdeserieWomenforWoman_sq_300_jpg_800x600_sharpen_upscale_q85.jpg'
}); // end nyroModalManual
*/     

}); // end document-ready
