// Initialize beautyTip
$(document).ready(function() {
    try {
        $("a.fbox").fancybox({
            'padding': 12,
            'autoScale': true,
            'transitionIn': 'elastic',
            'transitionOut': 'elastic',
            'speedIn': 400,
            'speedOut': 400,
            'opacity': true,
            'type': 'iframe',
            //'width': '72%',
            //'height': '72%',
            'width': 810,
            'height': 525,
            'titleShow': false,
            'centerOnScroll': true
        });
    } catch(err) {
        // do nothing
    }
});
