") } var urlLib = 'http://www.wco.ru/biblio/'; var startMain='first'; var LVcur, CHcur, MUcur, MDcur, HScur, fixInit, typeList, hash; TableGo = new makeTableGo(); // Making go-Table /************************************************************************/ /* Table for All-Book-Go */ /************************************************************************/ addTableGo('H01a','H27a','H01b','#01'); // *** Init Go for Chapter 2 addTableGo('H01b','H01a','H01c','#01'); // *** Init Go for Chapter 2 addTableGo('H01c','H01b','H01d','#01'); // *** Init Go for Chapter 2 addTableGo('H01d','H01c','H01e','#01'); // *** Init Go for Chapter 2 addTableGo('H01e','H01d','H01f','#01'); // *** Init Go for Chapter 2 addTableGo('H01f','H01e','H02a','#01'); // *** Init Go for Chapter 2 addTableGo('H02a','H01f','H02b','#02'); // *** Init Go for Chapter 3 addTableGo('H02b','H02a','H02c','#02'); // *** Init Go for Chapter 3 addTableGo('H02c','H02b','H02d','#02'); // *** Init Go for Chapter 3 addTableGo('H02d','H02c','H03a','#02'); // *** Init Go for Chapter 3 addTableGo('H03a','H02d','H03b','#03'); // *** Init Go for Chapter 4 addTableGo('H03b','H03a','H03c','#03'); // *** Init Go for Chapter 4 addTableGo('H03c','H03b','H03d','#03'); // *** Init Go for Chapter 4 addTableGo('H03d','H03c','H03e','#03'); // *** Init Go for Chapter 4 addTableGo('H03e','H03d','H03f','#03'); // *** Init Go for Chapter 4 addTableGo('H03f','H03e','H04a','#03'); // *** Init Go for Chapter 4 addTableGo('H04a','H03f','H04b','#04'); // *** Init Go for Chapter 5 addTableGo('H04b','H04a','H04c','#04'); // *** Init Go for Chapter 5 addTableGo('H04c','H04b','H04d','#04'); // *** Init Go for Chapter 5 addTableGo('H04d','H04c','H04e','#04'); // *** Init Go for Chapter 5 addTableGo('H04e','H04d','H05a','#04'); // *** Init Go for Chapter 5 addTableGo('H05a','H04e','H05b','#05'); // *** Init Go for Chapter 6 addTableGo('H05b','H05a','H05c','#05'); // *** Init Go for Chapter 6 addTableGo('H05c','H05b','H05d','#05'); // *** Init Go for Chapter 6 addTableGo('H05d','H05c','H05e','#05'); // *** Init Go for Chapter 6 addTableGo('H05e','H05d','H06a','#05'); // *** Init Go for Chapter 6 addTableGo('H06a','H05e','H07a','#06'); // *** Init Go for Chapter 7 addTableGo('H07a','H06a','H08a','#07'); // *** Init Go for Chapter 8 addTableGo('H08a','H07a','H09a','#08'); // *** Init Go for Chapter 9 addTableGo('H09a','H08a','H10a','#09'); // *** Init Go for Chapter 10 addTableGo('H10a','H09a','H11a','#10'); // *** Init Go for Chapter 11 addTableGo('H11a','H10a','H12a','#11'); // *** Init Go for Chapter 12 addTableGo('H12a','H11a','H13a','#12'); // *** Init Go for Chapter 13 addTableGo('H13a','H12a','H13b','#13'); // *** Init Go for Chapter 14 addTableGo('H13b','H13a','H14a','#13'); // *** Init Go for Chapter 14 addTableGo('H14a','H13b','H14b','#14'); // *** Init Go for Chapter 15 addTableGo('H14b','H14a','H15a','#14'); // *** Init Go for Chapter 15 addTableGo('H15a','H14b','H16a','#15'); // *** Init Go for Chapter 16 addTableGo('H16a','H15a','H17a','#16'); // *** Init Go for Chapter 17 addTableGo('H17a','H16a','H18a','#17'); // *** Init Go for Chapter 18 addTableGo('H18a','H17a','H19a','#18'); // *** Init Go for Chapter 19 addTableGo('H19a','H18a','H20a','#19'); // *** Init Go for Chapter 20 addTableGo('H20a','H19a','H21a','#20'); // *** Init Go for Chapter 21 addTableGo('H21a','H20a','H22a','#21'); // *** Init Go for Chapter 22 addTableGo('H22a','H21a','H23a','#22'); // *** Init Go for Chapter 23 addTableGo('H23a','H22a','H24a','#23'); // *** Init Go for Chapter 24 addTableGo('H24a','H23a','H25a','#24'); // *** Init Go for Chapter 25 addTableGo('H25a','H24a','H26a','#25'); // *** Init Go for Chapter 26 addTableGo('H26a','H25a','H26b','#26'); // *** Init Go for Chapter 27 addTableGo('H26b','H26a','H27a','#26'); // *** Init Go for Chapter 27 addTableGo('H27a','H26b','H27b','#27'); // *** Init Go for Chapter 28 addTableGo('H27b','H27a','H01a','#27'); // *** Init Go for Chapter 28 /************************************************************************/ /* End Table */ /************************************************************************/ // first-Init Go for titul-Page //--------------------------- CHcur = TableGo[0] + '-T.htm'; MUcur = TableGo[1] + '-T.htm'; MDcur = TableGo[0] + '-T.htm'; HScur = ''; LVcur='titul'; fixInit=1; // Init Book-Read-Mode //--------------------------- if (window.location.search.length == 0) {typeList = ''; hash='';} else { typeList = "" + window.location.search.substring(1,2); hash = "" + window.location.search.substring(3,window.location.search.length); } // Init Go-Frame-Width //------------------------ widthGo = 23; // for MSIE if (navigator.appName.substring(0,8) == "Netscape") widthGo = 24; // Checking book-Version (net oder local) //------------------------------------------ if (typeList == '' ) catGo = urlLib; else catGo = '../../Index.htm?' + typeList + '=' + hash; // Output Screen //---------------- frameStart(); /************************************************************************/ /* */ /* A L L F U N C T I O N S */ /* */ /************************************************************************/ // first-Make go-Table //================ function makeTableGo() { this.length = 4; this[0] = 'End'; return this; } // Forming go-Table //=============== function addTableGo(cur,back,forward,hash) { len = TableGo.length; TableGo[len-4] = cur; TableGo[len -3] = back; TableGo[len -2] = forward; TableGo[len -1] = hash; TableGo[len ] = 'End'; TableGo[len+1] = ''; TableGo[len+2] = ''; TableGo[len+3] = ''; TableGo.length=len +4; } // Init-Go for Go-Frame //============== function initGo(name) { if (fixInit==0) { fixInit=1; return;} fix=0; i=0; while (TableGo[i] != 'End') { if (TableGo[i] == name) {fix=1; break} i+=4; } if (fix== 0) { alert('Ошибка: в таблице переходов нет описание переходов дл' + unescape("%FF") + ' раздела \"' + name + '-T.htm\"'); return;} CHcur = TableGo[i] + '-T.htm'; len = TableGo[i].length; for (var j = 0; j <= len-1; j++) { if ( TableGo[i].substring(j,j+1) == '#') {CHcur = TableGo[i].substring(0,j) + '-T.htm' + TableGo[i].substring(j,len); break;} } MUcur = TableGo[i+1] + '-T.htm'; MDcur = TableGo[i+2] + '-T.htm'; HScur = TableGo[i+3]; LVcur = 'notitul'; } // library-Go //========= function GoTitul() { if (typeList == '' ) {window.close(); return;} else top.location = urLib; } // Output Screen //========== function frameStart () { var frameVar = "