﻿/*$(function() {
    $(".partner-jcarousellite").jCarouselLite({
        vertical: true,
        hoverPause: true,
        visible: 3,
        auto: 2500,
        speed: 1000
    });
});*/
$(document).ready(function() {
    $("#nav li").hover(function() {
        $(this).find('ul:first').css({ visibility: "visible", display: "none" }).show(400);
    }, function() {
        $(this).find('ul:first').css({ visibility: "hidden" });

    });
    $(window).scroll(function() {
        if ($(this).scrollTop() != 0) {
            $('#scroll-to-top').fadeIn();
        } else {
            $('#scroll-to-top').fadeOut();
        }
    });

    $('#scroll-to-top').click(function() {
        $('body,html').animate({ scrollTop: 0 }, 800);
    });
});

<!--       
$(document).ready(function() {
    $(".defaultText").focus(function(srcc) {
        if ($(this).val() == $(this)[0].title) {
            $(this).removeClass("defaultTextActive");
            $(this).val("");
        }
    });

    $(".defaultText").blur(function() {
        if ($(this).val() == "") {
            $(this).addClass("defaultTextActive");
            $(this).val($(this)[0].title);
        }
    });

    $(".defaultText").blur();
}); 
//-->
