/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


$(document).ready(function(){
    window.scrollTo(0, 0);

    // Fancybox with custom options from "lang" attribute
    /*$("a.fancybox").each(function(){
        var rel = $(this).attr('lang');
        var options = {
            'hideOnContentClick': false,
            'frameHeight': 500,
            'frameWidth': 560,
            'overlayColor': '#fff',
            'overlayOpacity': 0.7
        };
        // Parse rel attribute if not empty
        if (rel && rel.length > 0) {
            try {
                var meta = eval('('+rel+')');
                if (meta) {
                    options = jQuery.extend(options, meta);
                }
            } catch (e){}
        }

        $(this).fancybox(options);
    });*/
    $("a.fancybox").fancybox({
        'height': 600,
        'width': 800,
    });
});
