var clicked="";var gtype=".gif";var selstate="_over";if (typeof(loc)=="undefined" || loc==""){var loc="";if (document.body&&document.body.innerHTML){var tt=document.body.innerHTML;var ml=tt.match(/["']([^'"]*)all.js["']/i);if(ml && ml.length > 1) loc=ml[1];}}document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>");tr(false);writeButton(loc+"../","01.html","all_b1",144,30,"1. Джордж Вашингтон","",0);writeButton(loc+"../","02..html","all_b2",144,30,"2. Джон Адамс","",0);writeButton(loc+"../","03.html","all_b3",144,30,"3. Томас Джефферсон","",0);writeButton(loc+"../","04.html","all_b4",144,30,"4. Джеймс Мэдисон","",0);writeButton(loc+"../","05.html","all_b5",144,30,"5. Джеймс Монро","",0);writeButton(loc+"../","06.html","all_b6",144,30,"6. Джон Куинси Адамс","",0);writeButton(loc+"../","07.html","all_b7",144,30,"7. Эндрю Джексон","",0);writeButton(loc+"../","08.html","all_b8",144,30,"8. Мартин Ван Бюрен","",0);writeButton(loc+"../","09.html","all_b9",144,30,"9. Уильям Гаррисон","",0);writeButton(loc+"../","10.html","all_b10",144,30,"10. Джон Тайлер","",0);writeButton(loc+"../","11.html","all_b11",144,30,"11. Джеймс Нокс Полк","",0);writeButton(loc+"../","12.html","all_b12",144,30,"12. Закари Тейлор","",0);writeButton(loc+"../","13.html","all_b13",144,30,"13. Миллард Филлмор","",0);writeButton(loc+"../","14.html","all_b14",144,30,"14. Франклин Пирс","",0);writeButton(loc+"../","15.html","all_b15",144,30,"15. Джеймс Бьюкенен","",0);writeButton(loc+"../","16.html","all_b16",144,30,"16. Авраам Линкольн","",0);writeButton(loc+"../","17.html","all_b17",144,30,"17. Эндрю Джонсон","",0);writeButton(loc+"../","18.html","all_b18",144,30,"18. Улисс Грант","",0);writeButton(loc+"../","19.html","all_b19",144,30,"19. Резерфорд Хейз","",0);writeButton(loc+"../","20.html","all_b20",144,30,"20. Джеймс Гарфилд","",0);writeButton(loc+"../","21.html","all_b21",144,30,"21. Честер Артур","",0);writeButton("","22.24.html","all_b22",144,30,"22. Гровер Кливленд","",0);writeButton(loc+"../","23.html","all_b23",144,30,"23. Бенджамин Гаррисон","",0);writeButton("","22.24.html","all_b24",144,30,"24. Гровер Кливленд","",0);writeButton(loc+"../","25.html","all_b25",144,30,"25. Уильям Мак-Кинли","",0);writeButton(loc+"../","26.html","all_b26",144,30,"26. Теодор Рузвельт","",0);writeButton(loc+"../","27.html","all_b27",144,30,"27. Уильям Тафт","",0);writeButton(loc+"../","28.html","all_b28",144,30,"28. Вудро Вильсон","",0);writeButton(loc+"../","29.html","all_b29",144,30,"29. Уоррен Гардинг","",0);writeButton(loc+"../","30.html","all_b30",144,30,"30. Калвин Кулидж","",0);writeButton(loc+"../","31.html","all_b31",144,30,"31. Герберт Гувер","",0);writeButton(loc+"../","32.html","all_b32",144,30,"32. Франклин Рузвельт","",0);writeButton(loc+"../","33.html","all_b33",144,30,"33. Гарри Трумэн","",0);writeButton(loc+"../","34.html","all_b34",144,30,"34. Дуайт Эйзенхауэр","",0);writeButton(loc+"../","35.html","all_b35",144,30,"35. Джон Кеннеди","",0);writeButton(loc+"../","36.html","all_b36",144,30,"36. Линдон Джонсон","",0);writeButton(loc+"../","37.html","all_b37",144,30,"37. Ричард Никсон","",0);writeButton(loc+"../","38.html","all_b38",144,30,"38. Джеральд Форд","",0);writeButton(loc+"../","39.html","all_b39",144,30,"39. Джимми Картер","",0);writeButton(loc+"../","40.html","all_b40",144,30,"40. Рональд Рейган","",0);writeButton(loc+"../","41.html","all_b41",144,30,"41. Джордж Г. У. Буш","",0);writeButton(loc+"../","42.html","all_b42",144,30,"42. илл Клинтон","",0);writeButton(loc+"../","43.html","all_b43",144,30,"43. Джордж У. Буш","",0);writeButton(loc+"../","44.html","all_b44",144,30,"44. Барак Обама","",0);tr(true);document.write("</tr></table>");loc="";function tr(b){if (b) document.write("<tr>");else document.write("</tr>");}function turn_over(name) {if (document.images != null && clicked != name) {document[name].src = document[name+"_over"].src;}}function turn_off(name) {if (document.images != null && clicked != name) {document[name].src = document[name+"_off"].src;}}function reg(gname,name){if (document.images){document[name+"_off"] = new Image();document[name+"_off"].src = loc+gname+gtype;document[name+"_over"] = new Image();document[name+"_over"].src = loc+gname+"_over"+gtype;}}function evs(name){ return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""}function writeButton(urld,url,name,w,h,alt,target,hsp){gname=name;while(typeof(document[name])!="undefined")name+="x";reg(gname,name);tr(true);document.write("<td>");if(alt!="")alt=" alt=\""+alt+"\"";if(target!="")target=" target=\""+target+"\"";if(w>0)w=" width=\""+w+"\"";else w="";if(h>0)h=" height=\""+h+"\"";else h="";var l=clicked!=""||!isCurrentFile(url);if(url!="")url=" href=\""+urld+url+"\"";if(l){if(typeof(clx)!="undefined"){target="";url=" href=\"?"+clx+"\"";alt=" alt=\"Click to edit\"";}document.write("<a "+url+evs(name)+target+">");}else gname+=selstate;gname+=gtype;if(hsp==-1)hsp=" align=\"right\"";else if(hsp>0)hsp=" hspace=\""+hsp+"\"";else hsp="";document.write("<img src=\""+loc+gname+"\" name=\""+name+"\""+w+h+alt+hsp+" border=\"0\" />");if(l)document.write("</a>");document.write("</td>");tr(false);}function syncFile(f,nf){var matches='home.html*index.html*welcome.html*default.asp';var p=f.lastIndexOf('/');var sf=f;if(p>=0)sf=f.substr(p+1,f.length-1);if(matches.indexOf(sf)==-1)return "";return sf;}function isCurrentFile(str){var p=str.lastIndexOf(':');if(p>0)str=str.substr(p+1,str.length-1);str=escape(str);str=str.toLowerCase();while(str.length>3&&str.substring(0,3)=="../")str=str.substr(3,str.length-1);var fstr=str.indexOf(".htm");if(fstr==-1)fstr=str.indexOf(".asp");if(fstr==-1)fstr=str.indexOf(".php");if(fstr==-1)fstr=str.indexOf(".jsp");if(fstr==-1)fstr=str.indexOf(".txt");if(fstr<1&&str.charAt(str.length-1)!='/')str+="/";var current=document.location.href.toLowerCase();p=current.lastIndexOf('?');if(p>0)current=current.substr(0,p);var fcurrent=current.indexOf(".htm");if(fcurrent==-1)fcurrent=current.indexOf(".asp");if(fcurrent==-1)fcurrent=current.indexOf(".php");if(fcurrent==-1)fcurrent=current.indexOf(".jsp");if(fcurrent==-1)fcurrent=current.indexOf(".txt");if(fcurrent<1&&current.charAt(current.length-1)!='/')current+="/";if(fstr!=-1&&fcurrent==-1)current+=syncFile(str,current);if(fstr==-1&&fcurrent!=-1)str+=syncFile(current,str);var currsize=current.length;var strsize=str.length;while(strsize>=0&&currsize>=0){if(current.charAt(currsize)!=str.charAt(strsize))return false;currsize=currsize-1;strsize=strsize-1;}return true;}
