﻿$(document).ready(function(){
	
	$('a[rel=lightbox]').lightBox({fixedNavigation:true});
	
    $('#menu').visualNav({
        link              : 'a',         // add a link class, as necessary (e.g. 'a.menu')
        targetAttr        : 'href',      // added in case you have link = "div" and attribute something like
        inViewClass       : 'inView',    // css class added to items in the viewport
        selectedClass     : 'menu_on',  // css class applied to menu when a link is selected (highlighted)
        selectedAppliedTo : 'a',        // to only apply to the link, use the same value as is in the link option
        contentClass      : 'sekcja',   // content class to get height of the section
        contentLinks      : 'visualNav', // class name of links inside the content that act like the visualNav menu (smooth scroll)
        bottomMargin      : 200,         // margin from the end of the page where the last menu item is used (in case the target is short)
        animationTime     : 700  ///speed of scrolling in milliseconds      
      });

});
