$(window).load(function(){$("#homepage-slider").nivoSlider({effect:"sliceDown",slices:15,animSpeed:1500,pauseTime:7000,startSlide:0,directionNav:true,directionNavHide:true,controlNav:false,controlNavThumbs:false,controlNavThumbsFromRel:false,controlNavThumbsSearch:".jpg",controlNavThumbsReplace:"_thumb.jpg",keyboardNav:true,pauseOnHover:true,manualAdvance:false,captionOpacity:0.8,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){}})});$(window).load(function(){$("#project-slider").nivoSlider({effect:"sliceDown",slices:15,animSpeed:1500,pauseTime:3000,startSlide:0,directionNav:false,directionNavHide:false,controlNav:false,controlNavThumbs:false,controlNavThumbsFromRel:false,controlNavThumbsSearch:".jpg",controlNavThumbsReplace:"_thumb.jpg",keyboardNav:true,pauseOnHover:true,manualAdvance:false,captionOpacity:0.8,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){}})});$(document).ready(function(){$("a[rel^='prettyPhoto']").prettyPhoto()});document.write("<style>#main-nav li:hover ul {display: none;}</style>");$(document).ready(function(){$("#main-nav li span").hover(function(){$(this).parent().find("ul").slideDown(400).show();$(this).parent().hover($.noop,function(){$(this).parent().find("ul").slideUp(400)})})});$(document).ready(function(){$("#search-form label").inFieldLabels()});document.write("<style>#search-form label{position:absolute;top:10px;left:6px;cursor:text;}</style>");$(document).ready(function(){$(".accordion-container").hide();$(".accordion-trigger:first").addClass("active").next().show();$(".accordion-trigger").click(function(){if($(this).next().is(":hidden")){$(".accordion-trigger").removeClass("active").next().slideUp();$(this).toggleClass("active").next().slideDown()}return false})});$(document).ready(function(){$(".go-top").click(function(){$.scrollTo(0,800)})});$(document).ready(function(){$("#comments h3 span a").click(function(){$.scrollTo($("#respond"),800)})});$(document).ready(function(){$(".scroll-to").click(function(){$.scrollTo($("#comments"),800)})});(function(c,d){function a(f,g){var e=document.createElement("script");e.src=f;e.async=true;document.getElementsByTagName("head")[0].appendChild(e);if(!(g instanceof Function)){return}if(e.readyState){e.onreadystatechange=function(){if(e.readyState=="loaded"||e.readyState=="complete"){e.onreadystatechange=null;g()}}}else{e.onload=function(){g()}}}function b(e,f){var g=null;a("https://apis.google.com/js/plusone.js");g=document.createElement("g:plusone");g.setAttribute("href",e);if(typeof f!="undefined"){g.setAttribute("size",f)}return g}c(function(){var e=b("http://www.pakster.com","medium"),f=c("<div />").attr("id","google-plus-one");c("#about-box > ul > li:eq(2)").append(f.append(e))})})(jQuery);
