﻿jQuery.fn.exists = function() { return ($(this).length > 0); }

// OnLoad
$(function() {
    $(".menu li:nth-child(" + (menuIdx + 1) + ") > a").addClass("current");
    if (subMenuIdx > -1)
        $(".fmenu li:nth-child(" + (subMenuIdx + 1) + ") > a").addClass("current");

    if (scrollEnable)
        $('.text').jScrollPane({ showArrows: true, scrollbarWidth: 18, scrollbarMargin: 25 });
        $(".jCarouselLite").jCarouselLite({
        btnNext: ".arrow-right",
        btnPrev: ".arrow-left",
        visible: 6
        });

});

