jQuery(document).ready(function(g){b();a();function e(){document.getElementById("footerCounter").innerHTML='<a href="http://www.liveinternet.ru/click" target=_blank><img src="http://counter.yadro.ru/hit?t18.5;r'+escape(document.referrer)+((typeof(screen)=="undefined")?"":";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?screen.colorDepth:screen.pixelDepth))+";"+Math.random()+'" alt="liveinternet.ru: iieacaii ?enei oeoia ca 24 ?ana, iinaoeoaeae ca 24 ?ana e ca naaiaiy" border=0 width=88 height=31></a>'}function h(){var k=document.getElementById("textPageFileList").getElementsByTagName("div");for(var l=0;k.length>l;l++){if(k[l].getAttribute("id")){var j=k[l].getAttribute("value");var m=new SWFObject("player.swf","mymovie",250,24);m.addParam("FlashVars","playerID=1&amp;bg=0xf8f8f8&amp;leftbg=0xeeeeee&amp;lefticon=0x666666&amp;rightbg=0xcccccc&amp;rightbghover=0xff7d48&amp;righticon=0x666666&amp;righticonhover=0xFFFFFF&amp;text=0x666666&amp;slider=0x666666&amp;track=0xFFFFFF&amp;border=0x666666&amp;loader=0xff7d48&amp;soundFile="+j);m.addParam("menu","false");m.write(k[l])}}}function a(){g(".toggleParagraphContainer").hide();g("h2.paragraphTrigger").toggle(function(){g(this).addClass("active")},function(){g(this).removeClass("active")});g("h2.paragraphTrigger").click(function(){g(this).next(".toggleParagraphContainer").slideToggle("fast")});g("#siteBlock").css("height","100%")}function b(){g("a.single_image").fancybox({zoomOpacity:true,overlayShow:false,zoomSpeedIn:150,zoomSpeedOut:150})}function d(k){var i="year";var j=k;document.cookie=i+"="+k;g("div.seasonContentBlock").fadeOut("fast");g("div.seasonContentBlock"+k).fadeIn("fast");g("li.yearItem").removeClass("active").addClass("notActive");g("li.yearItem"+k).removeClass("notActive").addClass("active");g("#siteBlock").css("height","100%")}function f(i){if(c("year")){d(c("year"))}else{d(i)}}function c(i){cookie_name=i+"=";cookie_length=document.cookie.length;cookie_begin=0;while(cookie_begin<cookie_length){value_begin=cookie_begin+cookie_name.length;if(document.cookie.substring(cookie_begin,value_begin)==cookie_name){var j=document.cookie.indexOf(";",value_begin);if(j==-1){j=cookie_length}return unescape(document.cookie.substring(value_begin,j))}cookie_begin=document.cookie.indexOf(" ",cookie_begin)+1;if(cookie_begin==0){break}}return null}});
