﻿$(document).ready(function() {
    /*$("a#inline").fancybox({});*/
    
    /* This acts as a wild card and calls any <a> tag with id that begins with
     * "inline_" (such as inline_123 or inline_135) and then calls the fancybox()
     * function for each.  This is helpful with dynamically loaded links where
     * the last number corresponds with the ID number from the database for that
     * event.
     */
    $("a[id^=inline_]").each(function() {
        $(this).fancybox({
            'zoomSpeedIn':  300,
            'zoomSpeedOut': 300,
            'frameWidth': 725,
            'hideOnContentClick': false 
        });
    });
}); 
