// this will override the one in glayout.js
function layoutFooter(dummy) {
	st= "";
	document.write('<div id="gfooterlinks">' + st + '<a href="/doc/">About G-77</a> | <a href="contact.html" title="Rome Chapter">Contact Us</a> | <a href="/search.php">G-77 Search</a> | ');
	document.write("<a href=\"javascript:goemail('unmail' + '.org', 'g77off', 'Feedback on G-77 Rome Chapter site');\">Feedback</a>");
	document.write('</div><div id="gcopyright">&#169; 2007 The Group of 77</div>');
}


function layoutLocalMenu(curitemlink, group, subcuritem) {
var items= new Array( 
	new Array("G-77 Rome Chapter", "index.html"),
	new Array("Chairs & Regional Coordinators", "coordinators.html"),
	new Array("Presiding Countries", "presiding.html"),
	new Array("Member States", "members.html"),
	new Array("Contact Us", "contact.html"),
	new Array("-", ""),
	new Array("Statements & Speeches", "statement.html"),
	//new Array("Major Meetings", "meeting.html"),
	new Array("-", ""),
	new Array("G-77 in New York", "/"),
	new Array("-", "")
);

	var issub;
	var st= '<div id="localmenuinner"><div class="localmenuitem">';
	for (i= 0; i < items.length; i++) {
		//* special group items?
		issub= 0;
		if (items[i].length > 2)
			if (group != null) {
				issub= 1;
				if (group != items[i][2]) continue;
			}
			else continue;

		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 + '<a href="' + items[i][1] + '"><span class="curmenuitem">' + items[i][0] + '</span></a>';
				st= st + '<span class="curmenuitem"><a href="' + items[i][1] + '">' + items[i][0] + '</a></span>';
			else if (issub==1)
				if (items[i].length > 3 && items[i][3] == subcuritem)
					st= st + '<a href="' + items[i][1] + items[i][3] + '">' + '<img src="/global/arrow1.gif" border=0>' + items[i][0] + '</a>';
				else 
					st= st + '<a href="' + items[i][1] + items[i][3] + '">' + '<img src="/global/arrow1blank.gif" border=0>' + items[i][0] + '</a>';
			else
				st= st + '<a href="' + items[i][1] + '">' + items[i][0] + '</a>';
		}
	}
	st= st + '</div></div>';
	document.write(st);
	//window.clipboardData.setData('Text', st);
	st= "<img src='/global/none.gif' border='0' id='localmenuwidth'>";
	document.write(st);
}


