function showSubArticle(id) {
	obj= getStyleObject(id);
	if (obj.display == "none")
		obj.display= 'block';
	else
		obj.display= 'none';
}

function renderPicture(id, url, id2, txt) {
	document.images[id].src= url;
	document.images[id].alt= txt;
	//
	obj= getDocObject(id2);
	obj.firstChild.nodeValue= txt;
}

function layoutLocalMenu(curitemlink) {
var items= new Array( 
	new Array("Home", "index.html"),
	new Array("Programme of the Meeting", "programme.html"),
	new Array("Information for Participants", "provinfo.html"),
	new Array("-", ""),
	new Array("Opening statement by H.E. Mosibudi Mangena, Minister of Science and Technology of South Africa", "statement1.html"),
	new Array("-", ""),
	new Array("Conclusions and Recommendations of the Ministerial Meeting", "conclusion.html"),
	new Array("-", "programme.html"),
	new Array("<span class='menuheader'>Award Ceremony:</span>", ""),
	new Array("<div class='localmenuitem2'>", ""),
	new Array("Presentation of the G77 Award for Science, Technology and Innovation to Prof. Pedro Prieto", "statement2.html"),
	new Array("Presentation of the G77 Achievement Award to Prof. Paolo Budinich", "statement3.html"),
	new Array("Presentation of the G77 Achievement Award to Prof. Mohamad Hassan", "statement4.html"),
	new Array("</div>", ""),
	new Array("-", ""),
	new Array("Photo Gallery", "photo.html"),
	new Array("-", ""),
	new Array("Group of 77", "/"),
	new Array("TWAS", "http://www.ictp.trieste.it/~twas/bra06/brazil2006.html")
);

	var st= '<div id="localmenuinner"><div class="localmenuitem">';
	for (i= 0; i < items.length; i++) {
		if (items[i][0] == "-")
			st= st + '<span class="separator">&nbsp;</span>';
		else if (items[i][0].substr(0,1) == "<") 
			st= st + items[i][0];
		else {
			if (items[i][1] == curitemlink) 
				st= st + '<span class="curmenuitem">' + items[i][0] + '</span>';
			else
				st= st + '<a href="' + items[i][1] + '">' + items[i][0] + '</a>';
		}
	}
	st= st + '</div></div>';
	document.write(st);
	//window.clipboardData.setData('Text', st);
}

