$(document).ready(function(){
				
				
				//определение высоты меню--------------------------------------------
				if (!$.browser.msie){
					var menu_height = document.body.clientHeight - 206;
					var menu_element_height = document.body.clientHeight - 506;
					var menu_element_ul_height = document.body.clientHeight - 641;
					if (menu_element_ul_height < 63) menu_element_ul_height = 63; 
					
					
					$("#menu").css("height", menu_height + "px");
					$(".menu_element").css("height", menu_element_height + "px");
					$(".menu_element_ul").css("height", menu_element_ul_height + "px");
					
					$("*").ready(function(){
						var menu_height = document.body.clientHeight - 206;
						var menu_element_height = document.body.clientHeight - 506;
						var menu_element_ul_height = document.body.clientHeight - 641;
						if (menu_element_ul_height < 63) menu_element_ul_height = 63; 
						$("#menu").css("height", menu_height + "px");
						$(".menu_element").css("height", menu_element_height + "px");
						$(".menu_element_ul").css("height", menu_element_ul_height + "px");
					});
						
					$(window).resize(function(){
						var menu_height = document.body.clientHeight - 206;
						var menu_element_height = document.body.clientHeight - 506;
						var menu_element_ul_height = document.body.clientHeight - 641;
						if (menu_element_ul_height < 63) menu_element_ul_height = 63; 
						$("#menu").css("height", menu_height + "px");
						$(".menu_element").css("height", menu_element_height + "px");
						$(".menu_element_ul").css("height", menu_element_ul_height + "px");
					});
				};
				//------------------------------------------------------------------------
				
				
				
				//слайдер для основного текста--------------------------------------------
				$("#header_slider").slider({
                                        min: 14,
                                        step: 2,
                                        max: 54,
                                        animated: true,
                                        value: 24,
                                        slide: function(event, ui){
                                                $('#current_header_font-size').text(Math.round(ui.value * 1.33));
                                               },
                                        stop: function(event, ui){ hreload();}
                                });

				$("#main_slider").slider({
                                        min: 7,
                                        step: 1,
                                        max: 27,
                                        animated: true,
                                        value: 12,
                                        slide: function(event, ui){
                                                $('#current_main_font-size').text(Math.round(ui.value * 1.33));
                                               },
                                        stop: function(event, ui){ mreload();}
                                });

				$("#comment_slider").slider({
                                        min: 7,
                                        step: 1,
                                        max: 27,
                                        animated: true,
                                        value: 12,
                                        slide: function(event, ui){
                                                $('#current_comment_font-size').text(Math.round(ui.value * 1.33));
                                               },
                                        stop: function(event, ui){ creload();}
                                });
				//------------------------------------------------------------------------
			
				
				
				//hover для начертаний header---------------------------------------------
				$('#header_font-style > div > ul > li > span').livequery(function(){ 
					// use the helper function hover to bind a mouseover and mouseout event 
					$(this).hover(
						function() { 
							$(this).addClass('hover'); 
						},
						function() { 
							$(this).removeClass('hover'); 
						}
					); 
				},
				function() { 
					// unbind the mouseover and mouseout events 
					$(this) 
					.unbind('mouseover') 
					.unbind('mouseout'); 
				}); 
				
				
				$('#header_font-style > div > ul > li > span').livequery(function(){ 
					// use the helper function hover to bind a mouseover and mouseout event 
					$(this).click(
						function() { 
							$('#header_font-style > div > ul > li > span.on').removeClass('on').addClass('link');
							$(this).addClass('on').removeClass('link');
							hreload();
						}
					); 
				}); 
				//------------------------------------------------------------------------
				
				
				//hover для начертаний main-----------------------------------------------
				$('#main_font-style > div > ul > li > span').livequery(function(){ 
					// use the helper function hover to bind a mouseover and mouseout event 
					$(this).hover(
						function() { 
							$(this).addClass('hover'); 
						},
						function() { 
							$(this).removeClass('hover'); 
						}
					); 
				},
				function() { 
					// unbind the mouseover and mouseout events 
					$(this) 
					.unbind('mouseover') 
					.unbind('mouseout'); 
				}); 
				
				
				$('#main_font-style > div > ul > li > span').livequery(function(){ 
					// use the helper function hover to bind a mouseover and mouseout event 
					$(this).click(
						function() { 
							$('#main_font-style > div > ul > li > span.on').removeClass('on').addClass('link');
							$(this).addClass('on').removeClass('link');
							mreload();
						}
					); 
				}); 
				//------------------------------------------------------------------------
				
				
				//hover для начертаний comment--------------------------------------------
				$('#comment_font-style > div > ul > li > span').livequery(function(){ 
					// use the helper function hover to bind a mouseover and mouseout event 
					$(this).hover(
						function() { 
							$(this).addClass('hover'); 
						},
						function() { 
							$(this).removeClass('hover'); 
						}
					); 
				},
				function() { 
					// unbind the mouseover and mouseout events 
					$(this) 
					.unbind('mouseover') 
					.unbind('mouseout'); 
				}); 
				
				
				$('#comment_font-style > div > ul > li > span').livequery(function(){ 
					// use the helper function hover to bind a mouseover and mouseout event 
					$(this).click(
						function() { 
							$('#comment_font-style > div > ul > li > span.on').removeClass('on').addClass('link');
							$(this).addClass('on').removeClass('link');
							creload();
						}
					); 
				}); 
				//------------------------------------------------------------------------
				
				
				
				
				
				//hover для header_switch-----------------------------------------------
				$('#header_switch').livequery(function(){ 
					// use the helper function hover to bind a mouseover and mouseout event 
					$(this).hover(
						function() { 
							$(this).addClass('switch_hover'); 
						},
						function() { 
							$(this).removeClass('switch_hover'); 
						}
					); 
				},
				function() { 
					// unbind the mouseover and mouseout events 
					$(this) 
					.unbind('mouseover') 
					.unbind('mouseout'); 
				}); 
				//------------------------------------------------------------------------
				//hover для main_switch-----------------------------------------------
				$('#main_switch').livequery(function(){ 
					// use the helper function hover to bind a mouseover and mouseout event 
					$(this).hover(
						function() { 
							$(this).addClass('switch_hover'); 
						},
						function() { 
							$(this).removeClass('switch_hover'); 
						}
					); 
				},
				function() { 
					// unbind the mouseover and mouseout events 
					$(this) 
					.unbind('mouseover') 
					.unbind('mouseout'); 
				}); 
				//------------------------------------------------------------------------
				//hover для comment_switch-----------------------------------------------
				$('#comment_switch').livequery(function(){ 
					// use the helper function hover to bind a mouseover and mouseout event 
					$(this).hover(
						function() { 
							$(this).addClass('switch_hover'); 
						},
						function() { 
							$(this).removeClass('switch_hover'); 
						}
					); 
				},
				function() { 
					// unbind the mouseover and mouseout events 
					$(this) 
					.unbind('mouseover') 
					.unbind('mouseout'); 
				}); 
				//------------------------------------------------------------------------
				//hover для author_switch-----------------------------------------------
				$('#author_switch').livequery(function(){ 
					// use the helper function hover to bind a mouseover and mouseout event 
					$(this).hover(
						function() { 
							$(this).addClass('switch_hover'); 
						},
						function() { 
							$(this).removeClass('switch_hover'); 
						}
					); 
				},
				function() { 
					// unbind the mouseover and mouseout events 
					$(this) 
					.unbind('mouseover') 
					.unbind('mouseout'); 
				}); 
				//------------------------------------------------------------------------
				
				
				
				
				//slidetoggle-------------------------------------------------------------
				$("#header_switch").click(function () {
					if ($("#header_menu").is(":visible")){
						$("#header_switch").css({'background-image' : 'url("img/menu/arrow_close.gif")'});
					}
					else {
						$("#header_switch").css({'background-image' : 'url("img/menu/arrow_open.gif")'});
					}
					if ($("#main_menu").is(":visible")) {
						$("#main_menu").slideToggle("fast");
						$("#main_switch").css({'background-image' : 'url("img/menu/arrow_close.gif")'});
					}
					if ($("#comment_menu").is(":visible")) {
						$("#comment_menu").slideToggle("fast");
						$("#comment_switch").css({'background-image' : 'url("img/menu/arrow_close.gif")'});
					}
						$("#header_menu").slideToggle("fast");
				});
				
				$("#main_switch").click(function () {
					if ($("#main_menu").is(":visible")){
						$("#main_switch").css({'background-image' : 'url("img/menu/arrow_close.gif")'});
					}
					else {
						$("#main_switch").css({'background-image' : 'url("img/menu/arrow_open.gif")'});
					}
					if ($("#header_menu").is(":visible")) {
						$("#header_menu").slideToggle("fast");
						$("#header_switch").css({'background-image' : 'url("img/menu/arrow_close.gif")'});
					}
					if ($("#comment_menu").is(":visible")) {
						$("#comment_menu").slideToggle("fast");
						$("#comment_switch").css({'background-image' : 'url("img/menu/arrow_close.gif")'});
					}
						$("#main_menu").slideToggle("fast");
				});
				
				$("#comment_switch").click(function () {
					if ($("#comment_menu").is(":visible")){
						$("#comment_switch").css({'background-image' : 'url("img/menu/arrow_close.gif")'});
					}
					else {
						$("#comment_switch").css({'background-image' : 'url("img/menu/arrow_open.gif")'});
					}
					if ($("#header_menu").is(":visible")) {
						$("#header_menu").slideToggle("fast");
						$("#header_switch").css({'background-image' : 'url("img/menu/arrow_close.gif")'});
					}
					if ($("#main_menu").is(":visible")) {
						$("#main_menu").slideToggle("fast");
						$("#main_switch").css({'background-image' : 'url("img/menu/arrow_close.gif")'});
					}
						$("#comment_menu").slideToggle("fast");
				});
				
				
				
				$("#author_switch").click(function () {
					if ($("#authors").is(":visible")){
						$("#author_switch").css({'background-image' : 'url("img/menu/arrow_close.gif")'});
					}
					else {
						$("#author_switch").css({'background-image' : 'url("img/menu/arrow_open.gif")'});
					}
					$("#authors").slideToggle("fast");
				});
				//------------------------------------------------------------------------
				
				//recommendations------------------------------------------------------------------------
				$("#recommendations > p > span").hover(
					function() {
						$(this).removeClass("simple_link").addClass("simple_hover");
					},
					function() {
						$(this).removeClass("simple_hover").addClass("simple_link");
				});
				//------------------------------------------------------------------------
				//about------------------------------------------------------------------------
				var userAgent = navigator.userAgent.toLowerCase();
				jQuery.browser = {
					version: (userAgent.match( /.+(?:rv|it|ra|ie|me)[\/: ]([\d.]+)/ ) || [])[1],
					chrome: /chrome/.test( userAgent ),
					safari: /webkit/.test( userAgent ) && !/chrome/.test( userAgent ),
					opera: /opera/.test( userAgent ),
					msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),
					mozilla: /mozilla/.test( userAgent ) && !/(compatible|webkit)/.test( userAgent )
				};

				if ($.browser.chrome || $.browser.msie){
					$("#about").click(function () {
						$("#menu").hide();
						$("#result").hide();
						$("#about").hide();
						$("#font_choice").hide();
						$("h1").hide();
						$("#about_text").show();
					});
				}
				else{
					$("#about").click(function () {
						$("#menu").fadeTo("fast", 0.1);
						$("#result").fadeTo("fast", 0.1);
						$("#about").fadeTo("fast", 0.1);
						$("#font_choice").fadeTo("fast", 0.1);
						$("h1").fadeTo("fast", 0.1);
						$("#about_text").fadeIn("fast");
					});
				}
				//------------------------------------------------------------------------
				//font_choice------------------------------------------------------------------------
				if ($.browser.chrome || $.browser.msie){
					$("#font_choice").click(function () {
						$("#menu").hide();
						$("#result").hide();
						$("#about").hide();
						$("#font_choice").hide();
						$("h1").hide();
						$("#font_choice_text").show();
					});
					$("#font_choice_text_close_button").click(function () {
						$("#menu").show();
						$("#result").show();
						$("#about").show();
						$("#font_choice").show();
						$("h1").show();
						$("#font_choice_text").hide();
					});
				}
				else{
					$("#font_choice").click(function () {
						$("#menu").fadeTo("fast", 0.1);
						$("#result").fadeTo("fast", 0.1);
						$("#about").fadeTo("fast", 0.1);
						$("#font_choice").fadeTo("fast", 0.1);
						$("h1").fadeTo("fast", 0.1);
						$("#font_choice_text").fadeIn("fast");
					});
					$("#font_choice_text_close_button").click(function () {
						$("#menu").fadeTo("fast", 1);
						$("#result").fadeTo("fast", 1);
						$("#about").fadeTo("fast", 1);
						$("#font_choice").fadeTo("fast", 1);
						$("h1").fadeTo("fast", 1);
						$("#font_choice_text").fadeOut("fast");
					});
				}
				
				$("#pagination > span").hover(
					function() {
						$(this).removeClass("simple_link").addClass("simple_hover");
					},
					function() {
						$(this).removeClass("simple_hover").addClass("simple_link");
				});
				
				$('#num_1').click(function () {
					$('.text_column').hide();
					$('#page_01').show();
					$('#page_02').show();
					$('#pagination > span.on').removeClass('on').addClass('simple_link');
					$(this).addClass('on');
				});
				$('#num_2').click(function () {
					$('.text_column').hide();
					$('#page_03').show();
					$('#page_04').show();
					$('#pagination > span.on').removeClass('on').addClass('simple_link');
					$(this).addClass('on');
				});
				$('#num_3').click(function () {
					$('.text_column').hide();
					$('#page_05').show();
					$('#page_06').show();
					$('#pagination > span.on').removeClass('on').addClass('simple_link');
					$(this).addClass('on');
				});
				$('#num_4').click(function () {
					$('.text_column').hide();
					$('#page_07').show();
					$('#page_08').show();
					$('#pagination > span.on').removeClass('on').addClass('simple_link');
					$(this).addClass('on');
				});
				$('#num_5').click(function () {
					$('.text_column').hide();
					$('#page_09').show();
					$('#page_10').show();
					$('#pagination > span.on').removeClass('on').addClass('simple_link');
					$(this).addClass('on');
				});
				$('#num_6').click(function () {
					$('.text_column').hide();
					$('#page_11').show();
					$('#page_12').show();
					$('#pagination > span.on').removeClass('on').addClass('simple_link');
					$(this).addClass('on');
				});
				//------------------------------------------------------------------------
				//texts-------------------------------------------------------------------
				if ($.browser.chrome || $.browser.msie){
					$(".close > span").click(function () {
						$("#menu").show();
						$("#result").show();
						$("#about").show();
						$("h1").show();
						$("#font_choice").show();
						$("#about_text").hide();
						$("#alexander_konoplev").hide();
						$("#alexandra_korolkova").hide();
						$("#alexey_shevtsov").hide();
						$("#anatoly_semenov").hide();
						$("#andrey_andreev").hide();
						$("#andrey_biljo").hide();
						$("#andrey_bondarenko").hide();
						$("#andrey_kulagin").hide();
						$("#andrey_shelyutto").hide();
						$("#arkady_troyanker").hide();
						$("#artemy_lebedev").hide();
						$("#boris_trofimov").hide();
						$("#dmitry_aronov").hide();
						$("#dmitry_chernogaev").hide();
						$("#dmitry_kirsanov").hide();
						$("#dmitry_peryshkov").hide();
						$("#elena_fortuna").hide();
						$("#elena_kitaeva").hide();
						$("#emil_yakupov").hide();
						$("#erken_kagarov").hide();
						$("#evgeny_dobrovinky").hide();
						$("#evgeny_korneev").hide();
						$("#igor_gurovich").hide();
						$("#igor_nastenko").hide();
						$("#innokenty_keleynikov").hide();
						$("#leonid_feygin").hide();
						$("#lubov_kuznetsova").hide();
						$("#manvel_shmavonyan").hide();
						$("#maxim_zhukov").hide();
						$("#nikolay_dubina").hide();
						$("#nikolay_kalinin").hide();
						$("#oleg_veklenko").hide();
						$("#olga_purtova").hide();
						$("#pavel_rodkin").hide();
						$("#sergey_serov").hide();
						$("#sergey_zheglo").hide();
						$("#tagir_safayev").hide();
						$("#tatyana_kosterina").hide();
						$("#tatyana_tatarenko").hide();
						$("#valentin_lebedev").hide();
						$("#valery_akopov").hide();
						$("#vasily_kopeiko").hide();
						$("#victor_kharyk").hide();
						$("#vladimir_efimov").hide();
						$("#vladimir_krichevsky").hide();
						$("#yury_gerchuk").hide();
						$("#yury_gordon").hide();
						$("#yury_gulitov").hide();
						$("#yury_surkov").hide();
						$("#yury_yarmola").hide();
					});
				}
				else{
					$(".close > span").click(function () {
						$("#menu").fadeTo("fast", 1);
						$("#result").fadeTo("fast", 1);
						$("#about").fadeTo("fast", 1);
						$("h1").fadeTo("fast", 1);
						$("#font_choice").fadeTo("fast", 1);
						$("#about_text").fadeOut("fast");
						$("#alexander_konoplev").fadeOut("fast");
						$("#alexandra_korolkova").fadeOut("fast");
						$("#alexey_shevtsov").fadeOut("fast");
						$("#anatoly_semenov").fadeOut("fast");
						$("#andrey_andreev").fadeOut("fast");
						$("#andrey_biljo").fadeOut("fast");
						$("#andrey_bondarenko").fadeOut("fast");
						$("#andrey_kulagin").fadeOut("fast");
						$("#andrey_shelyutto").fadeOut("fast");
						$("#arkady_troyanker").fadeOut("fast");
						$("#artemy_lebedev").fadeOut("fast");
						$("#boris_trofimov").fadeOut("fast");
						$("#dmitry_aronov").fadeOut("fast");
						$("#dmitry_chernogaev").fadeOut("fast");
						$("#dmitry_kirsanov").fadeOut("fast");
						$("#dmitry_peryshkov").fadeOut("fast");
						$("#elena_fortuna").fadeOut("fast");
						$("#elena_kitaeva").fadeOut("fast");
						$("#emil_yakupov").fadeOut("fast");
						$("#erken_kagarov").fadeOut("fast");
						$("#evgeny_dobrovinky").fadeOut("fast");
						$("#evgeny_korneev").fadeOut("fast");
						$("#igor_gurovich").fadeOut("fast");
						$("#igor_nastenko").fadeOut("fast");
						$("#innokenty_keleynikov").fadeOut("fast");
						$("#leonid_feygin").fadeOut("fast");
						$("#lubov_kuznetsova").fadeOut("fast");
						$("#manvel_shmavonyan").fadeOut("fast");
						$("#maxim_zhukov").fadeOut("fast");
						$("#nikolay_dubina").fadeOut("fast");
						$("#nikolay_kalinin").fadeOut("fast");
						$("#oleg_veklenko").fadeOut("fast");
						$("#olga_purtova").fadeOut("fast");
						$("#pavel_rodkin").fadeOut("fast");
						$("#sergey_serov").fadeOut("fast");
						$("#sergey_zheglo").fadeOut("fast");
						$("#tagir_safayev").fadeOut("fast");
						$("#tatyana_kosterina").fadeOut("fast");
						$("#tatyana_tatarenko").fadeOut("fast");
						$("#valentin_lebedev").fadeOut("fast");
						$("#valery_akopov").fadeOut("fast");
						$("#vasily_kopeiko").fadeOut("fast");
						$("#victor_kharyk").fadeOut("fast");
						$("#vladimir_efimov").fadeOut("fast");
						$("#vladimir_krichevsky").fadeOut("fast");
						$("#yury_gerchuk").fadeOut("fast");
						$("#yury_gordon").fadeOut("fast");
						$("#yury_gulitov").fadeOut("fast");
						$("#yury_surkov").fadeOut("fast");
						$("#yury_yarmola").fadeOut("fast");
					});
				}
				
				if ($.browser.chrome || $.browser.msie){
					$("#full_text_link").livequery('click', function (event) {
						$("#menu").hide();
						$("#result").hide();
						$("#about").hide();
						$("h1").hide();
						$("#font_choice").hide();
					});
					$("#full_text_link[value='alexander_konoplev_value']").livequery('click', function (event) {$("#alexander_konoplev").show();});
					$("#full_text_link[value='alexandra_korolkova_value']").livequery('click', function (event) {$("#alexandra_korolkova").show();});
					$("#full_text_link[value='alexey_shevtsov_value']").livequery('click', function (event) {$("#alexey_shevtsov").show();});
					$("#full_text_link[value='anatoly_semenov_value']").livequery('click', function (event) {$("#anatoly_semenov").show();});
					$("#full_text_link[value='andrey_andreev_value']").livequery('click', function (event) {$("#andrey_andreev").show();});
					$("#full_text_link[value='andrey_biljo_value']").livequery('click', function (event) {$("#andrey_biljo").show();});
					$("#full_text_link[value='andrey_bondarenko_value']").livequery('click', function (event) {$("#andrey_bondarenko").show();});
					$("#full_text_link[value='andrey_kulagin_value']").livequery('click', function (event) {$("#andrey_kulagin").show();});
					$("#full_text_link[value='andrey_shelyutto_value']").livequery('click', function (event) {$("#andrey_shelyutto").show();});
					$("#full_text_link[value='arkady_troyanker_value']").livequery('click', function (event) {$("#arkady_troyanker").show();});
					$("#full_text_link[value='artemy_lebedev_value']").livequery('click', function (event) {$("#artemy_lebedev").show();});
					$("#full_text_link[value='boris_trofimov_value']").livequery('click', function (event) {$("#boris_trofimov").show();});
					$("#full_text_link[value='dmitry_aronov_value']").livequery('click', function (event) {$("#dmitry_aronov").show();});
					$("#full_text_link[value='dmitry_chernogaev_value']").livequery('click', function (event) {$("#dmitry_chernogaev").show();});
					$("#full_text_link[value='dmitry_kirsanov_value']").livequery('click', function (event) {$("#dmitry_kirsanov").show();});
					$("#full_text_link[value='dmitry_peryshkov_value']").livequery('click', function (event) {$("#dmitry_peryshkov").show();});
					$("#full_text_link[value='elena_fortuna_value']").livequery('click', function (event) {$("#elena_fortuna").show();});
					$("#full_text_link[value='elena_kitaeva_value']").livequery('click', function (event) {$("#elena_kitaeva").show();});
					$("#full_text_link[value='emil_yakupov_value']").livequery('click', function (event) {$("#emil_yakupov").show();});
					$("#full_text_link[value='erken_kagarov_value']").livequery('click', function (event) {$("#erken_kagarov").show();});
					$("#full_text_link[value='evgeny_dobrovinky_value']").livequery('click', function (event) {$("#evgeny_dobrovinky").show();});
					$("#full_text_link[value='evgeny_korneev_value']").livequery('click', function (event) {$("#evgeny_korneev").show();});
					$("#full_text_link[value='igor_gurovich_value']").livequery('click', function (event) {$("#igor_gurovich").show();});
					$("#full_text_link[value='igor_nastenko_value']").livequery('click', function (event) {$("#igor_nastenko").show();});
					$("#full_text_link[value='innokenty_keleynikov_value']").livequery('click', function (event) {$("#innokenty_keleynikov").show();});
					$("#full_text_link[value='leonid_feygin_value']").livequery('click', function (event) {$("#leonid_feygin").show();});
					$("#full_text_link[value='lubov_kuznetsova_value']").livequery('click', function (event) {$("#lubov_kuznetsova").show();});
					$("#full_text_link[value='manvel_shmavonyan_value']").livequery('click', function (event) {$("#manvel_shmavonyan").show();});
					$("#full_text_link[value='maxim_zhukov_value']").livequery('click', function (event) {$("#maxim_zhukov").show();});
					$("#full_text_link[value='nikolay_dubina_value']").livequery('click', function (event) {$("#nikolay_dubina").show();});
					$("#full_text_link[value='nikolay_kalinin_value']").livequery('click', function (event) {$("#nikolay_kalinin").show();});
					$("#full_text_link[value='oleg_veklenko_value']").livequery('click', function (event) {$("#oleg_veklenko").show();});
					$("#full_text_link[value='olga_purtova_value']").livequery('click', function (event) {$("#olga_purtova").show();});
					$("#full_text_link[value='pavel_rodkin_value']").livequery('click', function (event) {$("#pavel_rodkin").show();});
					$("#full_text_link[value='sergey_serov_value']").livequery('click', function (event) {$("#sergey_serov").show();});
					$("#full_text_link[value='sergey_zheglo_value']").livequery('click', function (event) {$("#sergey_zheglo").show();});
					$("#full_text_link[value='tagir_safayev_value']").livequery('click', function (event) {$("#tagir_safayev").show();});
					$("#full_text_link[value='tatyana_kosterina_value']").livequery('click', function (event) {$("#tatyana_kosterina").show();});
					$("#full_text_link[value='tatyana_tatarenko_value']").livequery('click', function (event) {$("#tatyana_tatarenko").show();});
					$("#full_text_link[value='valentin_lebedev_value']").livequery('click', function (event) {$("#valentin_lebedev").show();});
					$("#full_text_link[value='valery_akopov_value']").livequery('click', function (event) {$("#valery_akopov").show();});
					$("#full_text_link[value='vasily_kopeiko_value']").livequery('click', function (event) {$("#vasily_kopeiko").show();});
					$("#full_text_link[value='victor_kharyk_value']").livequery('click', function (event) {$("#victor_kharyk").show();});
					$("#full_text_link[value='vladimir_efimov_value']").livequery('click', function (event) {$("#vladimir_efimov").show();});
					$("#full_text_link[value='vladimir_krichevsky_value']").livequery('click', function (event) {$("#vladimir_krichevsky").show();});
					$("#full_text_link[value='yury_gerchuk_value']").livequery('click', function (event) {$("#yury_gerchuk").show();});
					$("#full_text_link[value='yury_gordon_value']").livequery('click', function (event) {$("#yury_gordon").show();});
					$("#full_text_link[value='yury_gulitov_value']").livequery('click', function (event) {$("#yury_gulitov").show();});
					$("#full_text_link[value='yury_surkov_value']").livequery('click', function (event) {$("#yury_surkov").show();});
					$("#full_text_link[value='yury_yarmola_value']").livequery('click', function (event) {$("#yury_yarmola").show();});
				}
				else{
					$("#full_text_link").livequery('click', function (event) {
						$("#menu").fadeTo("fast", 0.1);
						$("#result").fadeTo("fast", 0.1);
						$("#about").fadeTo("fast", 0.1);
						$("h1").fadeTo("fast", 0.1);
						$("#font_choice").fadeTo("fast", 0.1);
					});
					$("#full_text_link[value='alexander_konoplev_value']").livequery('click', function (event) {$("#alexander_konoplev").fadeIn("fast");});
					$("#full_text_link[value='alexandra_korolkova_value']").livequery('click', function (event) {$("#alexandra_korolkova").fadeIn("fast");});
					$("#full_text_link[value='alexey_shevtsov_value']").livequery('click', function (event) {$("#alexey_shevtsov").fadeIn("fast");});
					$("#full_text_link[value='anatoly_semenov_value']").livequery('click', function (event) {$("#anatoly_semenov").fadeIn("fast");});
					$("#full_text_link[value='andrey_andreev_value']").livequery('click', function (event) {$("#andrey_andreev").fadeIn("fast");});
					$("#full_text_link[value='andrey_biljo_value']").livequery('click', function (event) {$("#andrey_biljo").fadeIn("fast");});
					$("#full_text_link[value='andrey_bondarenko_value']").livequery('click', function (event) {$("#andrey_bondarenko").fadeIn("fast");});
					$("#full_text_link[value='andrey_kulagin_value']").livequery('click', function (event) {$("#andrey_kulagin").fadeIn("fast");});
					$("#full_text_link[value='andrey_shelyutto_value']").livequery('click', function (event) {$("#andrey_shelyutto").fadeIn("fast");});
					$("#full_text_link[value='arkady_troyanker_value']").livequery('click', function (event) {$("#arkady_troyanker").fadeIn("fast");});
					$("#full_text_link[value='artemy_lebedev_value']").livequery('click', function (event) {$("#artemy_lebedev").fadeIn("fast");});
					$("#full_text_link[value='boris_trofimov_value']").livequery('click', function (event) {$("#boris_trofimov").fadeIn("fast");});
					$("#full_text_link[value='dmitry_aronov_value']").livequery('click', function (event) {$("#dmitry_aronov").fadeIn("fast");});
					$("#full_text_link[value='dmitry_chernogaev_value']").livequery('click', function (event) {$("#dmitry_chernogaev").fadeIn("fast");});
					$("#full_text_link[value='dmitry_kirsanov_value']").livequery('click', function (event) {$("#dmitry_kirsanov").fadeIn("fast");});
					$("#full_text_link[value='dmitry_peryshkov_value']").livequery('click', function (event) {$("#dmitry_peryshkov").fadeIn("fast");});
					$("#full_text_link[value='elena_fortuna_value']").livequery('click', function (event) {$("#elena_fortuna").fadeIn("fast");});
					$("#full_text_link[value='elena_kitaeva_value']").livequery('click', function (event) {$("#elena_kitaeva").fadeIn("fast");});
					$("#full_text_link[value='emil_yakupov_value']").livequery('click', function (event) {$("#emil_yakupov").fadeIn("fast");});
					$("#full_text_link[value='erken_kagarov_value']").livequery('click', function (event) {$("#erken_kagarov").fadeIn("fast");});
					$("#full_text_link[value='evgeny_dobrovinky_value']").livequery('click', function (event) {$("#evgeny_dobrovinky").fadeIn("fast");});
					$("#full_text_link[value='evgeny_korneev_value']").livequery('click', function (event) {$("#evgeny_korneev").fadeIn("fast");});
					$("#full_text_link[value='igor_gurovich_value']").livequery('click', function (event) {$("#igor_gurovich").fadeIn("fast");});
					$("#full_text_link[value='igor_nastenko_value']").livequery('click', function (event) {$("#igor_nastenko").fadeIn("fast");});
					$("#full_text_link[value='innokenty_keleynikov_value']").livequery('click', function (event) {$("#innokenty_keleynikov").fadeIn("fast");});
					$("#full_text_link[value='leonid_feygin_value']").livequery('click', function (event) {$("#leonid_feygin").fadeIn("fast");});
					$("#full_text_link[value='lubov_kuznetsova_value']").livequery('click', function (event) {$("#lubov_kuznetsova").fadeIn("fast");});
					$("#full_text_link[value='manvel_shmavonyan_value']").livequery('click', function (event) {$("#manvel_shmavonyan").fadeIn("fast");});
					$("#full_text_link[value='maxim_zhukov_value']").livequery('click', function (event) {$("#maxim_zhukov").fadeIn("fast");});
					$("#full_text_link[value='nikolay_dubina_value']").livequery('click', function (event) {$("#nikolay_dubina").fadeIn("fast");});
					$("#full_text_link[value='nikolay_kalinin_value']").livequery('click', function (event) {$("#nikolay_kalinin").fadeIn("fast");});
					$("#full_text_link[value='oleg_veklenko_value']").livequery('click', function (event) {$("#oleg_veklenko").fadeIn("fast");});
					$("#full_text_link[value='olga_purtova_value']").livequery('click', function (event) {$("#olga_purtova").fadeIn("fast");});
					$("#full_text_link[value='pavel_rodkin_value']").livequery('click', function (event) {$("#pavel_rodkin").fadeIn("fast");});
					$("#full_text_link[value='sergey_serov_value']").livequery('click', function (event) {$("#sergey_serov").fadeIn("fast");});
					$("#full_text_link[value='sergey_zheglo_value']").livequery('click', function (event) {$("#sergey_zheglo").fadeIn("fast");});
					$("#full_text_link[value='tagir_safayev_value']").livequery('click', function (event) {$("#tagir_safayev").fadeIn("fast");});
					$("#full_text_link[value='tatyana_kosterina_value']").livequery('click', function (event) {$("#tatyana_kosterina").fadeIn("fast");});
					$("#full_text_link[value='tatyana_tatarenko_value']").livequery('click', function (event) {$("#tatyana_tatarenko").fadeIn("fast");});
					$("#full_text_link[value='valentin_lebedev_value']").livequery('click', function (event) {$("#valentin_lebedev").fadeIn("fast");});
					$("#full_text_link[value='valery_akopov_value']").livequery('click', function (event) {$("#valery_akopov").fadeIn("fast");});
					$("#full_text_link[value='vasily_kopeiko_value']").livequery('click', function (event) {$("#vasily_kopeiko").fadeIn("fast");});
					$("#full_text_link[value='victor_kharyk_value']").livequery('click', function (event) {$("#victor_kharyk").fadeIn("fast");});
					$("#full_text_link[value='vladimir_efimov_value']").livequery('click', function (event) {$("#vladimir_efimov").fadeIn("fast");});
					$("#full_text_link[value='vladimir_krichevsky_value']").livequery('click', function (event) {$("#vladimir_krichevsky").fadeIn("fast");});
					$("#full_text_link[value='yury_gerchuk_value']").livequery('click', function (event) {$("#yury_gerchuk").fadeIn("fast");});
					$("#full_text_link[value='yury_gordon_value']").livequery('click', function (event) {$("#yury_gordon").fadeIn("fast");});
					$("#full_text_link[value='yury_gulitov_value']").livequery('click', function (event) {$("#yury_gulitov").fadeIn("fast");});
					$("#full_text_link[value='yury_surkov_value']").livequery('click', function (event) {$("#yury_surkov").fadeIn("fast");});
					$("#full_text_link[value='yury_yarmola_value']").livequery('click', function (event) {$("#yury_yarmola").fadeIn("fast");});
				}
				//------------------------------------------------------------------------
				
				//header_font-family_hover---------------------------------------------
				$("#header_font-family > div > ul > li > span").hover(function() {
					$(this).removeClass("link");
					$(this).addClass("hover");
				}, function() {
					$(this).removeClass("hover");
					$(this).addClass("link");
				});
				$('#header_font-family > div > ul > li > span').click(function () {
					//$("#header_font-family > div > ul > li > span").removeClass("on");
					//$("#header_font-family > div > ul > li > span").addClass("link");
					//$(this).addClass("on");
					$('#header_font-family > div > ul > li > span.on').removeClass('on').addClass('link');
					$(this).addClass('on').removeClass('link');
					});
				//------------------------------------------------------------------------
				
				
				//main_font-family_hover-----------------------------------------------
				$('#main_font-family > div > ul > li > span').hover(function() {
					$(this).removeClass("link");
					$(this).addClass("hover");
				}, function() {
					$(this).removeClass("hover");
					$(this).addClass("link");
				});
				$('#main_font-family > div > ul > li > span').click(function () {
					//$("#main_font-family > div > ul > li > span").removeClass("on");
					//$("#main_font-family > div > ul > li > span").addClass("link");
					//$(this).addClass("on");
					$('#main_font-family > div > ul > li > span.on').removeClass('on').addClass('link');
					$(this).addClass('on').removeClass('link');
					});
				//------------------------------------------------------------------------
				
				//comment_font-family_hover--------------------------------------------
				$('#comment_font-family > div > ul > li > span').hover(function() {
					$(this).removeClass("link");
					$(this).addClass("hover");
				}, function() {
					$(this).removeClass("hover");
					$(this).addClass("link");
				});
				$('#comment_font-family > div > ul > li > span').click(function () {
					//$("#comment_font-family > div > ul > li > span").removeClass("on");
					//$("#comment_font-family > div > ul > li > span").addClass("link");
					//$(this).addClass("on");
					$('#comment_font-family > div > ul > li > span.on').removeClass('on').addClass('link');
					$(this).addClass('on').removeClass('link');
					});
				//------------------------------------------------------------------------
				
				//top_menu--------------------------------------------
				$("#about > span").hover(function() {
					$(this).removeClass("link");
					$(this).addClass("hover");
				}, function() {
					$(this).removeClass("hover");
					$(this).addClass("link");
				});
				
				$("#font_choice > span").hover(function() {
					$(this).removeClass("link");
					$(this).addClass("hover");
				}, function() {
					$(this).removeClass("hover");
					$(this).addClass("link");
				});
				//------------------------------------------------------------------------
				
				//authors_hover--------------------------------------------
				$("#authors > ul > li > span").hover(function() {
					$(this).removeClass("link");
					$(this).addClass("hover");
				}, function() {
					$(this).removeClass("hover");
					$(this).addClass("link");
				});
				$("#authors > ul > li > span").click(function () {
					$("#authors > ul > li > span").removeClass("on");
					$("#authors > ul > li > span").addClass("link");
					$(this).addClass("on");
					});
				//------------------------------------------------------------------------
			});