function convertEntities(b){var d,a;d=function(c){if(/&[^;]+;/.test(c)){var f=document.createElement("div");f.innerHTML=c;return!f.firstChild?c:f.firstChild.nodeValue}
return c};if(typeof b==="string"){return d(b)}else{if(typeof b==="object"){for(a in b){if(typeof b[a]==="string"){b[a]=d(b[a])}}}}
return b};;jQuery.noConflict();jQuery('div.container-top, div.container-bottom, div.container, div.page').css({'visibility':'visible','display':'none'});var $logo=jQuery("img#logo"),$container=jQuery("div#main-content > div"),$side_menu=jQuery("ul#nav");$container.hide().children("div.page").hide();$side_menu.find("> li > a").click(function(){var $this=jQuery(this),current_number=$this.parent('li').prevAll().length,finished=0,stopAnimation=0,reset=0;jQuery("> li.active",$side_menu).removeClass("active").find('a img').animate({'opacity':'hide'},500);if($logo.is(':visible')){$logo.hide();jQuery('div.page:eq('+current_number+')').children().hide().end().show();$container.filter(':hidden').animate({'opacity':'show'},500,function(){$this.parent('li').addClass("active").end().find("img").animate({'opacity':'show'},500).parent("a").removeClass("hover");});}else{$this.parent('li').addClass("active").end().find("img").animate({'opacity':'show'},500).parent("a").removeClass("hover");};$container.find('div.page:visible div.entry').animate({opacity:'hide','height':'hide'},'slow',function(){jQuery(this).prevAll().animate({opacity:'hide','height':'hide'},'slow');finished=1;}).end().find('div.page:eq('+current_number+')').children().hide();var check=setInterval(function(){if(jQuery('div.entry:animated').size()!=0){stopAnimation=1;reset=1;}
else{stopAnimation=0;}},50);var wait=setInterval(function(){if(finished===1&&stopAnimation==0){if(reset==1){reset=0;jQuery('div.page:visible').hide();}
$container.find('div.page:eq('+current_number+')').show().children("div.heading").animate({opacity:'show','height':'show'},'slow',function(){jQuery(this).siblings("div.entry").animate({opacity:'show','height':'show'},'slow');});finished=0;}},1300);return false;}).hover(function(){jQuery(this).stop().animate({marginRight:'-20',paddingLeft:'20'},500);if(!(jQuery(this).parent('li').hasClass("active")))
jQuery(this).addClass('hover');},function(){jQuery(this).stop().animate({marginRight:'0',paddingLeft:'0'},500).removeClass('hover');});var _gaq=_gaq||[];_gaq.push(['_setAccount','UA-20874131-1']);_gaq.push(['_setDomainName','wolczanski.net']);_gaq.push(['_trackPageview']);(function(){var ga=document.createElement('script');ga.type='text/javascript';ga.async=true;ga.src=('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s);})();
