$(function(){"use strict";if(console.log("loaded"),$("#SearchIcon").on("click",function(){$("form.search").css({top:0})}),$(".out").on("click",function(){$("form.search").css({top:-100})}),$(".nav-item").each(function(){$(this).children(".dropdown-menu")&&$(this).hover(function(){$(this).addClass("show")},function(){$(this).removeClass("show")})}),$("#vlink")){var n=$("#vlink"),i=$("#vimg"),o=$("#videoFrame"),s=$("#videoLinks");n.on("click",function(){$(this).css({display:"none","z-index":0}),i.css({display:"none","z-index":0}),o.css({"z-index":99})});var c=s.children().each(function(){$(this).on("click",function(){var n=$(this).val();o.attr("src",n),console.log(n)})}),e=$(".sidebar"),t=$(".content"),a=$("#on"),d=$("#off"),l=function(){e.addClass("sidebarOff"),t.addClass("contentOn"),a.addClass("hide"),d.removeClass("hide")},r=function(){e.removeClass("sidebarOff"),t.removeClass("contentOn"),d.addClass("hide"),a.removeClass("hide")};a.on("click",function(){l()}),d.on("click",function(){r()});var f=function(){$(window).width()<=990?l():r()};$(window).bind("resize",function(){f()}),f()}});