$(document).ready(function(){var b=1;var c=1;$(".fr").hide();$("#pph").hide();$("#vkh").hide();$("#lfr").click(function(a){$(".en").hide();$(".fr").show()});$("#len").click(function(a){$(".fr").hide();$(".en").show()});$("#vkh").mouseenter(function(a){$("#vkh").addClass("on");$("#pph").removeClass("on");$("#pplbox").hide("fast");$("#pprbox").hide();$("#ppbub").hide();$("#vklbox").show("fast");if(c==1){$("#vkrbox").fadeIn("fast");c=0}else{$("#vkrbox").show()}$("#vkbub").show();$('#eyes').css('background-position','50% 1000px')});$("#pph").mouseenter(function(a){$("#pph").addClass("on");$("#vkh").removeClass("on");$("#vklbox").hide("fast");$("#vkrbox").hide();$("#vkbub").hide();$("#pplbox").show("fast");if(c==1){$("#pprbox").fadeIn("fast");c=0}else{$("#pprbox").show()}$("#ppbub").show();$('#eyes').css('background-position','50% 1000px')});$("#boxes").mouseenter(function(a){if(b==1){$("#pph").fadeIn();$("#vkh").fadeIn();b=0}});$("#vklbox").mouseenter(function(a){$('#eyes').css('background','url(img/eyes_ul.jpg) no-repeat 50% 0px')});$("#pplbox").mouseenter(function(a){$('#eyes').css('background','url(img/eyes_ul.jpg) no-repeat 50% 0px')});$("#vkrbox").mouseenter(function(a){$('#eyes').css('background','url(img/eyes_ur.jpg) no-repeat 50% 0px')});$("#pprbox").mouseenter(function(a){$('#eyes').css('background','url(img/eyes_ur.jpg) no-repeat 50% 0px')});$("#lang").mouseenter(function(a){$('#eyes').css('background','url(img/eyes_ur.jpg) no-repeat 50% 0px')});$("#logo").mouseenter(function(a){$('#eyes').css('background','url(img/eyes_ul.jpg) no-repeat 50% 0px')});$("#vkbub").mouseenter(function(a){$('#eyes').css('background','url(img/eyes_ll.jpg) no-repeat 50% 0px')});$("#ppbub").mouseenter(function(a){$('#eyes').css('background','url(img/eyes_lr.jpg) no-repeat 50% 0px')});$("#footer").mouseenter(function(a){$('#eyes').css('background','url(img/eyes_lr.jpg) no-repeat 50% 0px')});$("#logo").click(function(a){reset()});function reset(){$("#pph").fadeOut("fast");$("#vkh").fadeOut("fast");$("#pph").removeClass("on");$("#vkh").removeClass("on");$("#vkbub").fadeOut("fast");$("#ppbub").fadeOut("fast");$("#pprbox").fadeOut("fast");$("#vkrbox").fadeOut("fast");$("#vklbox").fadeOut("fast");$("#pplbox").fadeOut("fast");c=1;b=1;$('#eyes').css('background-position','50% 1000px')}function eyesL(){var a=([Math.floor(Math.random()*4)]*-20)-80;$('#eyes').css('background-position','50% '+a+'px')}function eyesR(){var a=[Math.floor(Math.random()*4)]*-20;$('#eyes').css('background-position','50% '+a+'px')}});
