');if(O==true){a(".camera_play",V).hide();a(".camera_stop",V).show()}else{a(".camera_stop",V).hide();a(".camera_play",V).show()}}ib();a(".moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom",g).each(function(){a(this).css("visibility","hidden")});b.onStartLoading.call(this);jb();if(a(o).length){a(o).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",f).animate({opacity:0},0);ib();if(c!=0){jb(c)}else{jb(B)}b.onStartLoading.call(this)}})}if(a(p).length){a(p).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(c==B-1){jb(1)}else{jb(c+2)}b.onStartLoading.call(this)}})}if(e()){g.bind("swipeleft",function(c){if(!j.hasClass("camerasliding")){var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(d==B-1){jb(1)}else{jb(d+2)}b.onStartLoading.call(this)}});g.bind("swiperight",function(c){if(!j.hasClass("camerasliding")){var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(d!=0){jb(d)}else{jb(B)}b.onStartLoading.call(this)}})}if(a(r).length){a(".camera_pag li",f).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(this).index());var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());if(c!=d){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();jb(c+1);b.onStartLoading.call(this)}}})}if(a(s).length){a(".pix_thumb img",s).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(this).parents("li").index());var d=parseFloat(a(".cameracurrent",k).index());if(c!=d){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);a(".pix_thumb",s).removeClass("cameracurrent");a(this).parents("li").addClass("cameracurrent");ib();jb(c+1);hb();b.onStartLoading.call(this)}}});a(".camera_thumbs_cont .camera_prevThumbs",V).hover(function(){a(this).stop(true,false).animate({opacity:1},250)},function(){a(this).stop(true,false).animate({opacity:.7},250)});a(".camera_prevThumbs",V).click(function(){var b=0,c=a(s).outerWidth(),d=a("ul",s).offset().left,e=a("> div",s).offset().left,f=e-d;a(".camera_visThumb",s).each(function(){var c=a(this).outerWidth();b=b+c});if(f-b>0){a("ul",s).animate({"margin-left":"-"+(f-b)+"px"},500,H)}else{a("ul",s).animate({"margin-left":0},500,H)}});a(".camera_thumbs_cont .camera_nextThumbs",V).hover(function(){a(this).stop(true,false).animate({opacity:1},250)},function(){a(this).stop(true,false).animate({opacity:.7},250)});a(".camera_nextThumbs",V).click(function(){var b=0,c=a(s).outerWidth(),d=a("ul",s).outerWidth(),e=a("ul",s).offset().left,f=a("> div",s).offset().left,g=f-e;a(".camera_visThumb",s).each(function(){var c=a(this).outerWidth();b=b+c});if(g+b+bb?b+1900:b;document.getElementById(e.dateplace).innerHTML=e.months[c]+" "+g+", "+b;var f=function(a){10>a&&(a="0"+a);return a};setInterval("12"===e.timeFormat?function(){var a="",a=new Date,d=a.getHours(),b=a.getMinutes(),c=a.getSeconds(),a=12>d?"AM":"PM";0==d&&(d=12);12")});var b=function(){var e=c(window).width();if(e>979){c("#menunav").css("display","block");c("#menunav").superfish({animation:{height:"show"},animationOut:{height:"hide"}});c(".sf-menu i").css("display","none")}else{if(e<=979&&c("#mobilenav").attr("class")==="active"){c("#menunav").css("display","block");c("#menunav").superfish("destroy");c(".sf-menu i").css("display","block")}else{if(e<=979&&c("#mobilenav").attr("class")!=="active"){c("#menunav").css("display","none");c("#menunav").superfish("destroy");c(".sf-menu i").css("display","block")}}}};var a=function(){var e=c(window).width();if(e>979){c("#topmenunav").css("display","block");c("#topmenunav").superfish({animation:{height:"show"},animationOut:{height:"hide"}});c(".sf-menu i").css("display","none")}else{if(e<=979&&c("#topmobilenav").attr("class")==="active"){c("#topmenunav").css("display","block");c("#topmenunav").superfish("destroy");c(".sf-menu i").css("display","block")}else{if(e<=979&&c("#topmobilenav").attr("class")!=="active"){c("#topmenunav").css("display","none");c("#topmenunav").superfish("destroy");c(".sf-menu i").css("display","block")}}}};b();a();c(window).resize(b);c(window).resize(a);c(".sf-menu i").click(function(){var e=c(this).parent("li");var f=e.children("ul");f.slideToggle();c(this).toggleClass("active");return false});var d=window.location.href;c("#menunav a, #topmenunav a").each(function(){if(this.href===d){var e=c(this).parents("li").children("a").addClass("current")}})}; //Organic tab by CSStrick modif by MKR (function(b){b.organicTabs=function(c,l){var a=this;a.$el=b(c);a.$nav=a.$el.find(".navtab");a.init=function(){a.options=b.extend({},b.organicTabs.defaultOptions,l);b(".list-tabwrap .hide").css({position:"relative",top:0,left:0,display:"none"});a.$nav.delegate("li > a","click",function(){var c=a.$el.find("a.current").attr("href").substring(1),e=b(this),g=e.attr("href").substring(1),d=a.$el.find(".list-tabwrap"),f=d.height();d.height(f);g!=c&&0==a.$el.find(":animated").length&&a.$el.find("#"+c).fadeOut(a.options.speed, function(){a.$el.find("#"+g).fadeIn(a.options.speed);var b=a.$el.find("#"+g).height();d.animate({height:b});a.$el.find(".navtab li a").removeClass("current");e.addClass("current")});return!1});b(".sidebarmd-widget .BlogArchive .toggle").length&&b(".sidebarmd-widget .BlogArchive .toggle").click(function(){var a=b(this).parents(".BlogArchive"),d=b(this).parent("li").children("ul"),c=function(){var c=a.height();b("#sidebar-tengah .list-tabwrap").animate({height:c})};b(this).children().is(".toggle-open")? setTimeout(c,500):0 h2:first").html();d=d.find(".widget > h2:first").html();f=f.find(".widget > h2:first").html();c.html(e);h.html(d);k.html(f)};a.init()};b.organicTabs.defaultOptions={speed:300};b.fn.organicTabs=function(c){return this.each(function(){new b.organicTabs(this, c)})}})(jQuery); // Simple Spy (function(c){c.fn.simpleSpy=function(a,e){a=a||4;e=e||4E3;return this.each(function(){function g(){var a=c(f[d]).css({height:0,opacity:0}).prependTo(b);b.find("> li:last").animate({opacity:0},1E3,function(){a.animate({height:h},1E3).animate({opacity:1},1E3);c(this).remove()});d++;d>=k&&(d=0);setTimeout(g,e)}var b=c(this),f=[],d=a,k=0,h=b.find("> li:first").height();b.find("> li").each(function(){f.push("