var mod_pagespeed_dsNMFnVQvd = "function calcage(a,c,b){s=((Math.floor(a/c))%b).toString();if(s.length<2){s=\"0\"+s}return s}function CountBack(g){var j=calcage(g,86400,100000);var f=calcage(g,3600,24);var e=calcage(g,60,60);var q=calcage(g,1,60);if(j.length<3){j=\"0\"+j}var c=j.charAt(0);var b=j.charAt(1);var a=j.charAt(2);var k=f.charAt(0);var i=f.charAt(1);var p=e.charAt(0);var o=e.charAt(1);var n=q.charAt(0);var l=q.charAt(1);if(g<0){b=a=k=i=p=o=n=l=\"0\"}document.getElementById(\"day0\").style.backgroundPosition=\"left \"+(170-c*17)+\"px\";document.getElementById(\"day1\").style.backgroundPosition=\"center \"+(170-b*17)+\"px\";document.getElementById(\"day2\").style.backgroundPosition=\"right \"+(170-a*17)+\"px\";document.getElementById(\"hour1\").style.backgroundPosition=\"left \"+(170-k*17)+\"px\";document.getElementById(\"hour2\").style.backgroundPosition=\"right \"+(170-i*17)+\"px\";document.getElementById(\"minute1\").style.backgroundPosition=\"left \"+(170-p*17)+\"px\";document.getElementById(\"minute2\").style.backgroundPosition=\"right \"+(170-o*17)+\"px\";document.getElementById(\"second1\").style.backgroundPosition=\"left \"+(170-n*17)+\"px\";document.getElementById(\"second2\").style.backgroundPosition=\"right \"+(170-l*17)+\"px\";if(CountActive){clearTimeout(cTimer);cTimer=setTimeout(\"CountBack(\"+(g+CountStepper)+\")\",SetTimeOutPeriod)}}var SetTimeOutPeriod;var dthen;var dnow;var cTimer;function startCount(){CountStepper=Math.ceil(CountStepper);SetTimeOutPeriod=(Math.abs(CountStepper)-1)*1000+990;dthen=new Date(TargetDate);dnow=new Date();if(CountStepper>0){ddiff=new Date(dnow-dthen)}else{ddiff=new Date(dthen-dnow)}gsecs=Math.floor(ddiff.valueOf()/1000);CountBack(gsecs)}function stopCount(){clearTimeout(cTimer)};";
var mod_pagespeed_vefrZzHwKa = "var t;var tp=0;var tbl;var letsGo;var starTimer;function moveDiv(){if(tp<40){tbl.style.left=(-tp*547)+\"px\";clearInterval(t);t=setInterval(moveDiv,50)}else{$(\"#buttons\").stop().animate({opacity:\"1\"},1000);tp=28;clearInterval(t);t=setInterval(moveDiv,4000)}tp++}function animateStar(){t=setInterval(moveDiv,50);$(\"#bkimage\").stop().animate({opacity:\"1\"},500);document.getElementById(\"langmenu\").style.display=\"block\";letsGo=setInterval(fly,8000)}function startStar2(){tbl=document.getElementById(\"startable\");$(\"#bkimage\").stop().animate({opacity:\"0.8\"},1500,animateStar);$(\"#saransk\").stop().animate({opacity:\"1\"},1000);$(\"#counter\").stop().animate({opacity:\"1\"},1000);startCount()}function checkStar(){function a(b){return document.getElementById(\"fr\"+b).width}if((a(8)==0)||(a(19)==0)||(a(28)==0)||(a(38)==0)||(a(47)==0)||(a(58)==0)){return}if(document.getElementById(\"saransk\").width==0){return}clearInterval(starTimer);startStar2()}function startStar(){starTimer=setInterval(checkStar,100)}function fly3(){document.getElementById(\"backcover\").style.display=\"none\"}function fly2(){$(\"#allstar\").stop().animate({left:\"38\",top:(-52-deltaTop+10)},1000);$(\"#imgstar\").stop().animate({width:\"25%\",height:\"25%\"},1000);$(\"#news\").stop().animate({left:\"182\",top:\"102\"},400);$(\"#about\").stop().animate({left:\"297\",top:\"102\"},400);$(\"#what\").stop().animate({left:\"412\",top:\"102\"},400);$(\"#uch\").stop().animate({left:\"527\",top:\"102\"},400);$(\"#contacts\").stop().animate({left:\"642\",top:\"102\"},400);$(\"#saransk\").stop().animate({opacity:\"0\"},1000);$(\"#counter\").stop().animate({opacity:\"0\"},1000);$(\"#backcover\").stop().animate({opacity:\"0\"},2000,fly3);document.getElementById(\"langmenu\").style.display=\"none\"}function fly(){clearInterval(letsGo);stopCount();document.getElementById(\"startable\").style.display=\"none\";document.getElementById(\"imgstar\").style.display=\"block\";$(\"#bkimage\").stop().animate({opacity:\"0\"},200,fly2)};";

