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("Ministerial Statement", "conclusion.html"),
	new Array("-", ""),
	new Array("Programme of the Meeting", "programme.html"),
	new Array("-", ""),
	new Array("<span class='menuheader'>Statements:</span>", ""),
	new Array("<div class='localmenuitem2'>", ""),
	new Array("By Dr. Nkosazana Dlamini Zuma, Minister of Foreign Affairs of the Republic of South Africa, Chair of the G-77", "statement1.html"),
	new Array("By H.E. Sheikha Haya Rashed Al Khalifa, President Of The United Nations General Assembly", "statement2.html"),
	new Array("By Mr. Kofi Annan, Secretary-General of the United Nations", "statement3.html"),
	new Array("By Mr. Kemal Dervis, Administrator of the UNDP", "statement4.html"),
	new Array("By Prof. Mohamed H.A. Hassan, Executive Director of TWAS", "statement5.html"),
	new Array("By Dr. Supachai Panitchpakdi, Secretary-General of UNCTAD", "statement8.html"),
	new Array("</div>", ""),
	new Array("-", ""),
	new Array("Progress report on the follow-up and implementation of the Doha Plan of Action", "progressrpt.html"),
	new Array("-", ""),
	new Array("<span class='menuheader'>Appreciation Awards:</span>", ""),
	new Array("<div class='localmenuitem2'>", ""),
	new Array("For Prof. Mohamed H.A. Hassan, Executive Director of TWAS", "statement6.html"),
	new Array("For Dr. Eduardo Praselj, Chairman of the PGTF", "statement7.html"),
	new Array("</div>", ""),
	
	new Array("-", ""),
	new Array("Photo Gallery", "photo.html"),
	new Array("-", ""),
	new Array("Group of 77", "/")
);

	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);
}
