")
}
banners_wco_projects="yes"; // no
var urlLib = '';
var startMain='first';
var banner_line ="";
var LVcur, CHcur, MUcur, MDcur, HScur, fixInit;
TableGo = new makeTableGo(); // Making go-Table
/************************************************************************/
/* Table for All-Book-Go */
/************************************************************************/
addTableGo('H01','H04','H02',''); // *** Init Go for Chapter 1
/************************************************************************/
/* 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 source-Library
//---------------------------
len = window.location.search.length;
if (len != 0)
{
param = window.location.search.substring(1,len);
if (param == 'mos' ) urlLib = 'http://www.wco.ru/biblio';
if (param == 'brad' ) urlLib = 'http://www.wcoru.com/biblio';
}
// Init Go-Frame-Width
//------------------------
widthGo = 23; // for MSIE
if (navigator.appName.substring(0,8) == "Netscape") widthGo = 24;
var curDate = new Date();
x = 1*top.curDate.getDay();
y = x;
if (x==0) x=2;
if (x>3) x=x-3;
if (y==0) y=3;
if (y>5) y=y-5;
line_banners_wco_projects = "" +
"
" +
"" +
"" +
" Дорогие братья и сестры! Приглашаем посетить христианские проекты | " +
"" +
"" +
" | " +
"" +
" | " +
"" +
" | " +
"" +
" | " +
"" +
" | " +
" " +
" | " +
" |
";
// 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 (urlLib == '' ) window.close();
else top.location = urlLib;
}
// Output Screen
//==========
function frameStart ()
{
var frameVar =
"