titlelist = Array(0, 1, 'July 2009',
	1, 3, 'Editorial: “The opposite of love…',
	2, 3, 'Moscow Bible Weekend, April 2009',
	-1, 2, 'News',
	3, 3, 'news from benin',
	4, 3, 'news from congo',
	5, 3, 'news from egypt',
	6, 3, 'news from kenya',
	7, 3, 'news from malawi',
	8, 3, 'news from mauritius',
	9, 3, 'news from mozambique',
	10, 3, 'news from nigeria',
	11, 3, 'news from south africa',
	12, 3, 'news from tanzania',
	13, 3, 'news from uganda',
	14, 3, 'news from zambia',
	15, 3, 'news from zimbabwe',
	16, 3, 'news from armenia',
	17, 3, 'news from azerbaijan',
	18, 3, 'news from belarus',
	19, 3, 'news from germany',
	20, 3, 'news from holland',
	21, 3, 'news from israel',
	22, 3, 'news from italy',
	23, 3, 'news from kazakhstan',
	24, 3, 'news from latvia',
	25, 3, 'news from lithuania',
	26, 3, 'news from macedonia',
	27, 3, 'news from moldova',
	28, 3, 'news from poland',
	29, 3, 'news from russia',
	30, 3, 'news from spain',
	31, 3, 'news from syria',
	32, 3, 'news from turkey',
	33, 3, 'news from ukraine',
	34, 3, 'news from argentina',
	35, 3, 'news from china',
	36, 3, 'news from myanmar',
	37, 3, 'news from nepal',
	38, 3, 'news from new zealand',
	-1, 2, 'Articles',
	39, 3, 'A Christian In Name Only',
	40, 3, 'A Happy Event In Malta',
	41, 3, 'Free Cassette Tapes',
	42, 3, 'Foundation',
	43, 3, 'Let Us All Consider',
	44, 3, 'God’s Judgement Is Coming',
	45, 3, 'Personal Testimony',
	46, 3, 'Light in the Lord',
	47, 3, 'Repentance',
	48, 3, '“Let Us Endure to the End”',
	49, 3, 'Was the Flood of Noah’s Day Really Global',
	50, 3, 'Why God favoured Noah',
	51, 3, 'Is There a Devil?',
	52, 3, 'God Tests His Servants',
	53, 3, 'How to Know God',
	54, 3, 'Faith',
	55, 3, 'Time to Pray: Ezra',
	56, 3, 'The Real Truth on Peace Prospects in the Holy Land',
	57, 3, 'The Wicked Shall Be Turned into Sheol',
	58, 3, 'Time Flies',
	59, 3, 'The Covenants of Promise',
	60, 3, 'Three Goals to Guide You',
	61, 3, 'The Example of Rahab',
	62, 3, 'Why Parables?',
	63, 3, 'Exhortation: Obadiah and Hebrew 3-5',
	64, 3, 'King David, Once a Refugee, and the Commitment of Those Who Felt His Pain',
	65, 3, 'Have They Met the Standards?');

function _onchange(selobj) {
	var m = selobj.selectedIndex;
	var v = selobj.options[m].value;
	if (v == '0') {
		document.location.href="/doc/gn200907-en";
	} else if (v != '-1') {
		document.location.href="/doc/gn200907-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);