function tmpl_1() {
document.write('<!-- begin elker path -->\n<script language="JavaScript" src="http://lit-info.ru/js/elker_100001.js"></script>\n<!-- end elker path -->\n<style>\nbody {font-family:Arial;font-size=14px; align=center;COLOR: #000000;}\ntd {font-family:Arial;font-size:14px;COLOR: #000000;}\npre {font-family:Arial;font-size:14px;}\n.input {BORDER-BOTTOM: 1px solid;BORDER-LEFT: 1px solid;BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid;font-family:Arial;FONT-SIZE:8pt}\n.tab {text-indent: 3em; TEXT-ALIGN:justify;}\n.tabs {margin-left: 6em;}\n.tabc {margin-left: 12em;}\n.ist {margin-left: 25em;}\n.pre {font-family:monospace;}\n.text10 {font-size:10px;}\n.text12 {font-size:12px;}\n.text14 {font-size:14px;}\n.text16 {font-size:16px;}\n.text18 {font-size:18px;}\n.txtimg {font-size:10px;}\nA {COLOR: #000000;FONT-FAMILY:Arial;TEXT-DECORATION:underline}\nA:hover {COLOR: #777777}\nA.t {COLOR: #000000;FONT-FAMILY:Arial;TEXT-DECORATION:none}\nA.t:hover {COLOR: #777777;TEXT-DECORATION:underline}\nA.m {FONT-SIZE:10px;COLOR:#660000;FONT-FAMILY:Arial;TEXT-DECORATION:none;display:block;margin-top:2px;}\nA.m:hover {COLOR: #cc0000;TEXT-DECORATION: underline}\nA.mb {FONT-WEIGHT:bold;FONT-SIZE:12px;COLOR:#660000;FONT-FAMILY:Arial;TEXT-DECORATION:none;}\nA.mb:hover {COLOR: #cc0000;TEXT-DECORATION: underline}\n.txt_menu {FONT-WEIGHT:bold;FONT-SIZE:12px;FONT-FAMILY:arial;margin-top:2px;COLOR: #660000;}\n#no_bold A B {font-weight:normal}\n.link-sl0 {width:130px;color:#660000;BACKGROUND-COLOR:#e3cbb1;FONT-WEIGHT:bold;FONT-SIZE:12px;FONT-FAMILY:arial}\n.link-sl1 {BACKGROUND-COLOR:#660000;color:#e3cbb1}\n.iht {text-align:center;color:#770000;font-size:14px;font-weight:bold;padding-bottom:7px;}\na:link.ihl,a:visited.ihl,a:active.ihl {color:#770000;font-weight:bold;font-size:12px;}\na:hover.ihl {color:#cc0000;TEXT-DECORATION:underline;font-weight:bold;font-size:12px;}\n.divl1 {color:#770000;font-size:12px;padding-top:11px;font-weight:bold;}\n.divl2 {color:#808080;font-size:12px;padding-top:2px;padding-left:40px;}\na:link.al2,a:visited.al2,a:active.al2,a:hover.al2 {color:#808080;}\n#y5_direct1,#y5_direct2,#y5_direct3,#y5_direct4 {background-color: #FFF9F0 !important;} \n#y5_direct1,#y5_direct2,#y5_direct3,#y5_direct4 {border-color: #FBE5C0 !important; border-style: solid !important;} \n#y5_direct1 .y5_h,#y5_direct2 .y5_h,#y5_direct3 .y5_h,#y5_direct4 .y5_h {background-color: #FEEAC7 !important;} \n#y5_direct1 .y5_ad div a,#y5_direct2 .y5_ad div a,#y5_direct3 .y5_ad div a,#y5_direct4 .y5_ad div a {color: #0000CC !important;} \n#y5_direct1 .y5_ad div,#y5_direct2 .y5_ad div,#y5_direct3 .y5_ad div,#y5_direct4 .y5_ad div {color: #000000 !important;} \n#y5_direct1 .y5_ad span, #y5_direct1 .y5_ad span a,#y5_direct2 .y5_ad span, #y5_direct2 .y5_ad span a,#y5_direct3 .y5_ad span, #y5_direct3 .y5_ad span a,#y5_direct4 .y5_ad span, #y5_direct4 .y5_ad span a {color: #006600 !important;} \n#y5_direct1 .y5_all a,#y5_direct2 .y5_all a,#y5_direct3 .y5_all a,#y5_direct4 .y5_all a {color: #0000CC !important;} \n#y5_direct1 .y5_icon th,#y5_direct2 .y5_icon th,#y5_direct3 .y5_icon th,#y5_direct4 .y5_icon th {background-color: #006600 !important;}\n</style>\n<LINK href="http://an.yandex.ru/resource/context_1x21c.css" type=text/css rel=stylesheet>\n \n<table cellspacing=0 cellpadding=0 width=900 border=0>\n<tr>\n<td valign=top width=160>\n<table bgColor=#e3cbb1 background=/images/tmpl/fon.jpg border=0 width=100% style=\'BORDER-RIGHT: #660000 1px solid;BORDER-BOTTOM: #660000 1px solid;\'><tr>\n<td><div style=\'height:835px;width=4px;\' align=left></div></td>\n<td valign=top width=152><br>\n<p align=center>\n<a href=/><img src=/images/tmpl/tolstoy.jpg width=120 height=169 border=1 style=\'border-color:#000000\'></a>\n<div align=center style=\'FONT-FAMILY:arial;color:#660000\'>\n<b>Лев Николаевич Толстой</b></div>\n<p>\n<ul type=square style=\'margin-left:14px;padding-left:0px;\'>\n<!-- begin tmpl menu_tolstoy.lit-info.ru -->\n<LI class=\'txt_menu\'>Романы:\n<A class=\'m\' href="/tolstoy/proza/anna-karenina/karenina-1-1.htm">Анна Каренина</a>\n<A class=\'m\' href="/tolstoy/proza/vojna-i-mir/vojna-i-mir-1-1-1.htm">Война и мир</a>\n<A class=\'m\' href="/tolstoy/proza/voskresenie/voskresenie-1-1.htm">Воскресение</a>\n<div><A class=\'m\' href="/tolstoy/proza/semejnoe-schaste/semejnoe-schaste-1.htm">Семейное счастье</a></div>\n<LI class=\'txt_menu\'>Повести:\n<A class=\'m\' href="/tolstoy/proza/albert.htm">Альберт</a>\n<A class=\'m\' href="/tolstoy/proza/detstvo-1.htm">Детство</a>\n<A class=\'m\' href="/tolstoy/proza/dva-gusara-1.htm">Два гусара</a>\n<A class=\'m\' href="/tolstoy/proza/dyavol-1.htm">Дьявол</a>\n<A class=\'m\' href="/tolstoy/proza/kazaki-1.htm">Казаки</a>\n<A class=\'m\' href="/tolstoy/proza/krejcerova-sonata-1.htm">Крейцерова соната</a>\n<A class=\'m\' href="/tolstoy/proza/otec-sergij-1.htm">Отец Сергий</a>\n<A class=\'m\' href="/tolstoy/proza/otrochestvo-1.htm">Отрочество</a>\n<A class=\'m\' href="/tolstoy/proza/polikushka-1.htm">Поликушка</a>\n<A class=\'m\' href="/tolstoy/proza/smert-ivana-ilicha-1.htm">Смерть Ивана Ильича</a>\n<A class=\'m\' href="/tolstoy/proza/hadzhi-murat-1.htm">Хаджи-Мурат</a>\n<A class=\'m\' href="/tolstoy/proza/holstomer-1.htm">Холстомер</a>\n<div><A class=\'m\' href="/tolstoy/proza/yunost-1.htm">Юность</a></div>\n<LI class=\'txt_menu\'>Рассказы:\n<A class=\'m\' href="/tolstoy/rasskaz/alesha-gorshok.htm">Алеша Горшок</a>\n<A class=\'m\' href="/tolstoy/rasskaz/zapiski-markera.htm">Записки маркёра</a>\n<A class=\'m\' href="/tolstoy/rasskaz/kornej-vasilev.htm">Корней Васильев</a>\n<A class=\'m\' href="/tolstoy/rasskaz/metel.htm">Метель</a>\n<A class=\'m\' href="/tolstoy/rasskaz/nabeg.htm">Набег. Рассказ волонтера</a>\n<A class=\'m\' href="/tolstoy/rasskaz/razzhalovannyj.htm">Разжалованный</a>\n<A class=\'m\' href="/tolstoy/rasskaz/rubka-lesa.htm">Рубка леса. Рассказ юнкера</a>\n<A class=\'m\' href="/tolstoy/rasskaz/sevastopol-v-dekabre.htm">Севастополь в декабре месяце</a>\n<A class=\'m\' href="/tolstoy/rasskaz/sevastopol-v-mae.htm">Севастополь в мае</a>\n<A class=\'m\' href="/tolstoy/rasskaz/sevastopol-v-avguste.htm">Севастополь в августе 1855 года</a>\n<A class=\'m\' href="/tolstoy/rasskaz/hozyain-i-rabotnik.htm">Хозяин и работник</a>\n<div><A class=\'m\' href="/tolstoy/rasskaz/yagody.htm">Ягоды</a></div>\n<LI class=\'txt_menu\'>О писателе:\n<div><A class=\'m\' href="/tolstoy/bio/biryukov/biografiya-biryukov-1-1.htm">П.И. Бирюков. Биография Л. Н. Толстого</a></div>\n<LI class=\'txt_menu\'><A class=\'mb\' href="/tolstoy/publicistika/publicistika.htm">Публицистика</A></li>\n<LI class=\'txt_menu\'><A class=\'mb\' href="/tolstoy/religiya/religiya.htm">Религия</A></li>\n<A class=\'m\' href="/tolstoy/religiya/moya-vera/v-chem-moya-vera-1.htm">В чем моя вера?</a>\n<A class=\'m\' href="/tolstoy/religiya/ispoved/ispoved-1.htm">Исповедь</a>\n<A class=\'m\' href="/tolstoy/religiya/issledovanie-bogosloviya/dogmaticheskoe-bogoslovie.htm">Исследование догматического богословия</a>\n<A class=\'m\' href="/tolstoy/religiya/evangelie/evangelie-1.htm">Соединение и перевод четырех Евангелий</a>\n<div><A class=\'m\' href="/tolstoy/religiya/carstvo-bozhie/carstvo-bozhie.htm">Царство Божие внутри вас</a></div>\n<LI class=\'txt_menu\'><A class=\'mb\' href="/tolstoy/philosophy/philosophy.htm">Философия</A></li>\n<A class=\'m\' href="/tolstoy/philosophy/put-zhizni/put-zhizni.htm">Путь жизни</a>\n<div><A class=\'m\' href="/tolstoy/philosophy/tak-chto-delat/chto-delat-1.htm">Так что же нам делать?</a></div>\n<!-- end tmpl menu_tolstoy.lit-info.ru -->\n<LI class=\'txt_menu\'><A class=\'mb\' href="/review/tolstoy/">Обзор интернета</A></li>\n<LI class=\'txt_menu\'>Поиск:\n	<table width=80% border=0 cellpadding=0 cellspacing=0>\n	<TR><TD nowrap style=\'padding-bottom:3px;\'>\n<form method="get" action="/text/search/search.pl" target="_top">\n<input type="text" name="q" size="15" class=input style=\'color:#660000;BACKGROUND-COLOR:#e3cbb1;font-weight:bold;\'>\n<input type="submit" name="sa" value="Ок" class=input style=\'color:#660000;BACKGROUND-COLOR:#e3cbb1;FONT-WEIGHT:bold;\'>\n<input type="hidden" name="domains" value="tolstoy.lit-info.ru">\n<input type="hidden" name="sitesearch" value="tolstoy.lit-info.ru">\n<script>\nvar ref=location.href;\nif(ref.indexOf(\'lit-info.ru\')<1) {document.write(\'<input type="hidden" name="client" value="pub-9322070922522040">\')};\n</script>\n<input type="hidden" name="forid" value="1">\n<input type="hidden" name="ie" value="windows-1251">\n<input type="hidden" name="oe" value="windows-1251">\n<input type="hidden" name="cof" value="FORID:11">\n<input type="hidden" name="hl" value="ru">\n	</TD></TR>\n	</form>\n	</table>\n</LI>\n<LI class=\'txt_menu\'><A class=\'mb\' href="/shop/book/author/tolstoy/">Заказ книг: "Лев Толстой"</A></li>\n<LI class=\'txt_menu\'><noindex><A class=\'mb\' href="http://www.lit-info.ru/shop/book/" target=_blank>Заказ книг по литературе</A></noindex></li>\n<LI class=\'txt_menu\'><A class=\'mb\' href="/words/">Поиск по ключевым словам</A></li>\n<LI class=\'txt_menu\'><noindex><A class=\'mb\' href="http://www.lit-info.ru/articles/sites.htm" target=_blank>Другие литературные сайты</A></noindex></li>\n<LI class=\'txt_menu\'><noindex><A class=\'mb\' href="http://www.lit-info.ru/articles/copyright.htm" target=_blank>Авторские права</A></noindex></li>\n</li>\n<LI class=\'txt_menu\'>Реклама:<br><br>\n<div width=120 style=\'overflow:hidden;width:120px;\'>\n<div align=center id=\'elker_ban_100_up\'></div><br>\n<div align=center id=\'elker_ban_100_down\'></div><br>\n</div>\n</ul>\n</td>\n<td><div style=\'height:835px;width=4px;\' align=left></div></td>\n</tr>\n</table>\n<p align=center><img src="http://counter.rambler.ru/top100.cnt?1043089" alt="Rambler\'s Top100" width=1 height=1 border=0><img src="http://top100-images.rambler.ru/top100/w8.gif" alt="Rambler\'s Top100" width=88 height=31 border=0>\n</td>\n<td valign=top width=740>\n<table cellspacing=15 cellpadding=0 width=100% border=0>\n<tr align=center height=80><td valign=top id=\'elker_ban_468_up\'></td></tr>');
}
function tmpl_2() {
document.write('<tr align=center height=80><td valign=bottom id=\'elker_ban_468_down\'></td></tr>\n</table>\n</td></tr>\n</table>');
}

function na(s) {
var kod1=new Array(210,238,235,241,242,238,233,203,229,226,205);
var kod2=new Array();
var n1=location.pathname.lastIndexOf('/');
var n2=location.pathname.lastIndexOf('\\');
if(n2>n1) {n1=n2};
var s2=location.pathname.substring(n1+1);
for(i=0;i<s2.length;i++) {kod2[i]=s2.charCodeAt(i)};
s=s.substring(s.lastIndexOf(' ')+1);
var ss='';var i1=0;var i2=0;
for(i=0;i<s.length;i+=2) {
var k=parseInt(s.substring(i,i+2),16);
var k1=kod1[i1];i1++;if(i1>=kod1.length) {i1=0};
var k2=kod2[i2];i2++;if(i2>=kod2.length) {i2=0};
k=k^k1;k=k^k2;if(k>=192) {k=848+k};if(k==168) {k=1025};if(k==184) {k=1105};if(k==185) {k=78};
ss=ss+'&#'+k+';';
}
document.write(ss);
}
