titlelist = Array(0, 1, 'July - September 2007',
	1, 3, 'Editorial: "Thou God seest me"',
	-1, 2, 'News',
	2, 3, 'news from burundi',
	3, 3, 'news from cameroon',
	4, 3, 'news from congo',
	5, 3, 'news from ghana',
	6, 3, 'news from kenya',
	7, 3, 'news from malawi',
	8, 3, 'news from mozambique',
	9, 3, 'news from nigeria',
	10, 3, 'news from tanzania',
	11, 3, 'news from uganda',
	12, 3, 'news from zambia',
	13, 3, 'news from zimbabwe',
	14, 3, 'news from belarus',
	15, 3, 'news from kazakhstan',
	16, 3, 'news from latvia',
	17, 3, 'news from russia',
	18, 3, 'news from serbia',
	19, 3, 'news from sweden',
	20, 3, 'news from ukraine',
	21, 3, 'news from guyana',
	22, 3, 'news from china',
	23, 3, 'news from nepal',
	24, 3, 'news from philippines',
	-1, 2, 'Articles',
	25, 3, 'The Sinfulness of Man',
	26, 3, 'South West Cameroon Bible School 26 to 28 January 2007',
	27, 3, 'Refugee Matters - Update on Bro Abedi and Family',
	28, 3, 'The Power of the Gospel',
	29, 3, 'Could You Build An Ecclesia Like This One? Volunteers wanted',
	30, 3, 'The Truth in Congo',
	31, 3, 'Western Fraternal, Ghana',
	32, 3, 'Brazil Report',
	33, 3, '“Bible Basics” in Libraries',
	34, 3, 'Why Do We Need To Repent?',
	35, 3, 'God Foresees the Future and Controls It',
	36, 3, 'Holiness',
	37, 3, 'Has Man Pre-Eminence Over a Beast?',
	38, 3, 'Answers to Students\' Questions',
	39, 3, 'Scope for our Bible Schools',
	40, 3, 'Personal Testimony');

function _onchange(selobj) {
	var m = selobj.selectedIndex;
	var v = selobj.options[m].value;
	if (v == '0') {
		document.location.href="/doc/gn200707-en";
	} else if (v != '-1') {
		document.location.href="/doc/gn200707-en/" + v;
	}
}

function AttachList(selobj) {
  selobj.options.length = 0;
  var cv = MM_findObj('current');
  if (cv) cv = cv.value;
  var m, j;
  var k=0;
  for(var i=0;i<titlelist.length;i+=3) {
  	m = titlelist[i+2];
  	for(j=1;j<titlelist[i+1];j++) {
  		m = '  ' + m;
  	}
  	selobj.options[k] = new Option(m, titlelist[i]);
  	selobj.options[k].className = 'sel' + titlelist[i+1];
  	if (cv == titlelist[i]) selobj.selectedIndex = k;
  	k++;
  }
}

function attachnavigation() {
  var sel = MM_findObj('topnav');
  if (sel) AttachList(sel);
  sel = MM_findObj('lownav');
  if (sel) AttachList(sel);
}

addLoadEvent(attachnavigation);