	var d = '^'; var objTR; var v = 'visible'; var h = 'hidden'; var pI = ''; var pL = '';
	// Root menu array
	var varRM = new Array('About BIS' + d + '/about/index.htm','Press and Speeches' + d + '/speeches/prspindex.htm','Links to Central Banks' + d + '/cb/index.htm','Banking Services' + d + '/banking/index.htm','Forum for Central Banks' + d + '/forum/index.htm','Basel Committee' + d + '/bcbs/index.htm','Financial Stability Institute' + d + '/fsi/index.htm','Publications and Statistics' + d + '/publ/index.htm','What\'s new' + d + '/wnew.htm');	
	// Don't touch this Array - it must be at the begining
	var varSM0 = new Array();
	// Sub Menu array's
	var varSM1 = new Array('Organisation/Governance' + d + '/about/orggov.htm','Board of Directors' + d + '/about/board.htm','Management' + d + '/about/officials.htm','Committees/Secretariats' + d + '/about/comsecr.htm','History' + d + '/about/history.htm','Legal Information' + d + '/about/legal.htm','Shares Withdrawal' + d + '/about/shareswd.htm','Recruitment' + d + '/jobs/index.htm','Contact us' + d + '/about/contact.htm');
	var varSM2 = new Array('Press Releases' + d + '/press/index.htm','BIS Speeches' + d + '/speeches/index.htm');
	var varSM3 = new Array('Central Bank Websites' + d + '/cbanks.htm','Articles and Speeches' + d + '/review/review.htm','Research Hub' + d + '/cbhub/index.htm');
	var varSM4 = new Array('BIS as a Bank' + d + '/banking/bisbank.htm','Financial Services' + d + '/banking/finserv.htm','Balance Sheet' + d + '/banking/balsheet.htm');
	var varSM5 = new Array('Committee on Payment and Settlement Systems' + d + '/cpss/index.htm','Committee on the Global Financial System' + d + '/cgfs/index.htm','Research Activities' + d + '/forum/research.htm','Other Activities' + d + '/forum/others.htm');
	var varSM6 = new Array('About Basel Committee' + d + '/bcbs/aboutbcbs.htm','Basel II' + d + '/publ/bcbsca.htm','Publications' + d + '/bcbs/publ.htm','Joint Forum' + d + '/bcbs/jointforum.htm');
	var varSM7 = new Array('About&nbsp;the&nbsp;Financial Stability&nbsp;Institute' + d + '/fsi/aboutfsi.htm','Activities' + d + '/fsi/activities.htm');
	var varSM8 = new Array('Regular Publications' + d + '/publ/regpubl.htm','BIS Papers' + d + '/publ/bispapers.htm','Committee Publications' + d + '/publ/cmtpubl.htm','Working Papers' + d + '/publ/work.htm','International Financial Statistics' + d + '/statistics/index.htm','Other Publications' + d + '/publ/other.htm');
	var varSM9 = new Array();
	// Add any new menu array's must be added here also
	var varMA = new Array(varSM0, varSM1, varSM2, varSM3, varSM4, varSM5, varSM6, varSM7, varSM8, varSM9);
	// Don't edit below here
	//Cookie
	function uniqueID(){
		var id = (new Date()).getTime();
		id += Math.random().toString().replace(/\./,"");
		return id;
	}
	function getCookie(name){
		var start = document.cookie.indexOf(name+"=");
		var len = start+name.length+1;
		if ((!start)&&(name != document.cookie.substring(0,name.length))){
			return null;
		}
		if (start == -1){
			return null;
		}
		var end = document.cookie.indexOf(";",len);
		if (end == -1){
			end = document.cookie.length;
		}
		return unescape(document.cookie.substring(len,end));
	}
	function setCookie(name, value, expires, path, domain, secure){
		document.cookie = name + "=" + escape(value) +
			( (expires) ? ";expires=" + expires.toGMTString() : "") +
			( (path) ? ";path=" + path : "") +
			( (domain) ? ";domain=" + domain : "") +
			( (secure) ? ";secure" : "");
	}
	var today = new Date();
	var dAdd = new Date(today.getTime() + (365 * 86400000));
	if (getCookie('userID') != null){
		setCookie('userID', getCookie('userID'), dAdd);
	}
	else{
		setCookie('userID', uniqueID(), dAdd);
	}
	if (getCookie('sessionID') == null){
		setCookie('sessionID', uniqueID());
	}
	// Menu
	var isNS4 = (document.layers ? true : false);
	var lTop = 155;
	function dW(s){
		document.write(s);		
	}
	function rRef(id){
		if (isNS4){
			return document.layers[id];
		}
		else{
			return window.document.getElementById(id);
		}
	}
	function rTxt(s){
		return s.substr(0, s.indexOf(d));
	}
	function rURL(s){
		return pL + s.substr((s.indexOf(d) + d.length), (s.length - (s.indexOf(d) + d.length)));		
	}
	function writeRootMenus(){
		var sAClass; var sBGColor; var sOver; var sOut; var sN = '';
		if (isNS4){
			sN = 'N';
		}
		else{
			dW('<tr><td height="310px">');
		}		
		for (var i = 0; i < varRM.length; i++){
			if ((i + 1) == lSubItem){
				sAClass = 'MainMenuSelected';
				sBGColor = '#CCCCCC';
				sOver = '';
				sOut = '';
			}
			else{
				sAClass = 'MainMenu';
				sBGColor = '#EEEEEE';
				if (isNS4){
					sOver = 'showSub' + sN + '(' + (i + 1) + ', varMA[' + (i + 1) + '], this);';
					sOut = ' hideSub' + sN + '(' + (i + 1) + ', varMA[' + (i + 1) + ']);';
				}
				else{
					if (varMA[(i + 1)].length != 0){
						sOver = 'showSub(\'pmnu' + (i + 1) + '\', \'mnu' + (i + 1) + '\');';
						sOut = ' hideSub(\'mnu' + (i + 1) + '\');';
					}
					else{
						sOver = '';
						sOut = '';
					}
				}
			}		
			if (isNS4){
				dW('<tr><td>');
				for (var iFlip = 0; iFlip < 2; iFlip++){
					if (iFlip == 1){
						dW('<layer id="mm' + i + 'f" visibility="hidden" left="0px" top="' + lTop + 'px" width="160px" height="20px" bgcolor="#CCCCCC" onMouseOver="' + sOver + '" onMouseOut="' + sOut + '">');
						sAClass = 'MainMenuSelected';
					}
					else{
						dW('<layer id="mm' + i + '" visibility="visible" left="0px" top="' + lTop + 'px" width="160px" height="20px" bgcolor="' + sBGColor + '" onMouseOver="hideL(this); showL(rRef(\'mm' + i + 'f\'));' + sOver + '" onMouseOut="showL(this); hideL(rRef(\'mm' + i + 'f\'));' + sOut + '">');
					}					
					dW('<a href="' + rURL(varRM[i]) + '" class="' + sAClass + '">');
					dW('&nbsp;&nbsp;&nbsp;<img src="' + pI + '/images/arrow.gif" border="0"><img src="' + pI + '/images/1.gif" border="0" width="3px">');
					dW(rTxt(varRM[i]));
					dW('</a></layer>');
				}
				dW('</td></tr>');
			}
			else{								
				dW('<div id="pmnu' + (i + 1) +'" onMouseOver="' + sOver + '" onMouseOut="' + sOut + '" Style="Position:absolute;top:' + lTop + 'px;left:0px;visibility:visible;width:160px;height:20px;z-index:100;URL();">');
				dW('<table border="0" width="100%" cellpadding="0" cellspacing="0"><tr height="20px" bgcolor="' + sBGColor + '" onMouseOver="setObjTR(this);this.bgColor=\'#CCCCCC\';" onMouseOut="this.bgColor=\'' + sBGColor + '\';">');
				dW('<td><a href="' + rURL(varRM[i]) + '" onmouseout="this.className=\'' + sAClass + '\'" onmouseover="this.className=\'MainMenuSelected\'" class="' + sAClass + '">');
				dW('&nbsp;&nbsp;<img src="' + pI + '/images/arrow.gif" border="0"><img src="' + pI + '/images/1.gif" border="0" width="3px">');
				dW(rTxt(varRM[i]));
				dW('</a></td></tr></table></div>');				
	    	}
	    	lTop += 20;
			if ((i + 1) == lSubItem){
				writeSubMenu(varMA[lSubItem]);
			}					
		}
		if (isNS4){
			dW('<tr><td><layer left="0px" top="' + lTop + 'px" width="160px" height="20px" bgcolor="#ffffff" >');
			dW('<img src="' + pI + '/images/bottom.gif" width="160px" height="15" border="0" name="nvbottom"></layer></td></tr>');
		}
		else{
			dW('</td></tr><tr align="left" valign="top"><td>&nbsp;</td></tr><tr align="left" valign="top" bgcolor="#ffffff"><td NOWRAP><img src="' + pI + '/images/bottom.gif" width="160" height="15" border="0" name="nvbottom"></td></tr>');
		}
	}
	function hideL(obj){
		obj.visibility = h;
	}
	function showL(obj){
		obj.visibility = v;
	}
	function setObjTR(obj){
		objTR = obj;
	}
	function keepObjTR(){
		objTR.bgColor = '#CCCCCC';
	}
	function restoreObjTR(){
		objTR.bgColor = '#EEEEEE';
	}	
	function writeSubMenu(varItem){
		var lHeight;
		if (varItem.length > 0){
			if (isNS4){
				dW('<tr><td>');
			}
			else{
				dW('<div Style="Position:absolute;top:' + lTop + 'px;left:0px;visibility:visible;width:160px;height:17px;z-index:100;URL();">');
			}			
			dW('<table border="0" cellpadding="0" cellspacing="0" bgcolor="#EEEEEE" width="160px"><tr><td align="left" valign="top"><table bgcolor="#EEEEEE" height="100%" width="10px" border="0px" cellpadding="0" cellspacing="0"><tr><td>&nbsp;</td></tr></table></td><td align="right" valign="top"><table bgcolor="#CCCCCC" width="144px" border="0px" cellpadding="0" cellspacing="0">');
			for(var i = 0; i< varItem.length; i++){
				if (rTxt(varItem[i]).length > 26){
		    		lHeight = 34;
		    	}
		    	else{
		    		lHeight = 17;
		    	}
				if (isNS4){					
					dW('<tr><td>');
					dW('<layer id="sm' + i + '" left="0px" top="' + lTop + 'px" width="20px" height="' + lHeight + 'px" bgcolor="#EEEEEE">&nbsp</layer>');
					dW('<layer id="sm' + i + '" left="20px" top="' + lTop + 'px" width="140px" height="' + lHeight + 'px" bgcolor="#CCCCCC">');
					dW('<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td><img src="' + pI + '/images/1.gif" width="7px" border="0px"></td><td width="100%"><a href="' + rURL(varItem[i]) + '" class="MainMenu">');					
					dW(rTxt(varItem[i]));
					dW('</a></td></tr></table></layer>');
					if (i == (varItem.length - 1)){
						dW('<layer left="143px" top="');
						if (rTxt(varItem[i]).length > 26){
							dW(lTop + 17);
						}
						else{
							dW(lTop);
						}
						dW('px" height="' + lHeight + 'px" width="17px"><img src="' + pI + '/images/cbrg.gif" width="17px" height="17px" border="0px"></layer>');
					}	
					dW('</td></tr>');
				}
				else{
					dW('<tr height="' + lHeight + 'px" bgcolor="#CCCCCC">');
					dW('<td class="Menu">&nbsp;&nbsp;&nbsp;</td><td align="left"');
					if (i != (varItem.length - 1)){
						dW(' colspan="2"');
					}
					dW('><a href="' + rURL(varItem[i]) + '" onmouseout="this.className=\'MainMenu\'" onmouseover="this.className=\'MainMenuSelected\'" class="MainMenu">');
					dW(rTxt(varItem[i]));
					dW('</a>');
					if (i == (varItem.length - 1)){
						dW('</td><td align="right" valign="bottom"><img src="' + pI + '/images/cbrg.gif" width="17px" height="17px" border="0" name="nvbottom">');
					}
					dW('</td></tr>');
		    	}
		    	if (rTxt(varItem[i]).length > 26){
		    		lTop += 34;
		    	}
		    	else{
		    		lTop += 17;
		    	}
			}
			dW('</table></td></tr></table>');
			if (!isNS4){
				dW('</div>');
			}
		}
	}
	function writeHiddenMenus(){
		var sOver; var sOut; var sOverN; var sOutN; var x; var lHeight; var lSHeight;
		if (isNS4){
			dW('<layer id="CornerWhite" Z-INDEX="2" left="292px" top="0px" height="17px" width="17px" visibility="hidden"><img src="' + pI + '/images/cbr.gif" width="17px" height="17px" border="0px"></layer>');
		}
		for(var iRC = 1; iRC < varMA.length; iRC++){
			var varItems = varMA[iRC]; var sAClass;
			if (varItems.length != 0){
				if (isNS4){
					sOver = 'hideL(rRef(\'mm' + (iRC - 1) + '\')); showL(rRef(\'mm' + (iRC - 1) + 'f\')); showSubN(' + iRC + ', varMA[' + iRC + '], rRef(\'mm' + (iRC - 1) + '\'));';
					sOut = 'showL(rRef(\'mm' + (iRC - 1) + '\')); hideL(rRef(\'mm' + (iRC - 1) + 'f\')); hideSubN(' + iRC + ', varMA[' + iRC + ']);';
				}
				else{
					dW('<div id="mnu' + iRC + '" onMouseOver="keepObjTR(); showSub(\'pmnu' + iRC + '\', \'mnu' + iRC + '\');" onMouseOut="restoreObjTR(); hideSub(\'mnu' + iRC + '\');" Style="Position:absolute;top:100px;left:160px;visibility:hidden;width:150px;z-index:100;URL();">');
					dW('<table width="150px" border="0" cellpadding="0" cellspacing="0" align="LEFT" valign="top" vspace="0" hspace="0">');
					dW('<tr><td colspan="4" bgcolor="#cccccc"><img src="' + pI + '/images/1.gif" height="4px" border="0px"></td></tr>');				
				}
				for(var i = 0; i < varItems.length; i++){					
					if (isNS4){
						if (rTxt(varItems[i]).length > 26){
							lHeight = 40;
							lSHeight = 34;
						}
						else{
							lHeight = 20;
							lSHeight = 17;
						}
						for (var iFlip = 0; iFlip < 2; iFlip++){						
							if (iFlip == 1){
								sAClass = 'MainMenuSelected';
								sOverN = '';
								sOutN = '';
								x = 'x';
							}
							else{
								sAClass = 'MainMenu';							
								sOverN = 'hideL(this); showL(rRef(\'mnux' + iRC + d + i + '\'));';
								sOutN = 'hideL(rRef(\'mnux' + iRC + d + i + '\')); showL(this);';
								x = '';
							}
							dW('<layer id="mnu' + x + iRC + d + i + '" Z-INDEX="1" visibility="hidden" left="160" top="1000" width="150" height="' + lHeight + '" visibility="hidden" bgcolor="#CCCCCC" onMouseOver="' + sOverN + sOver + '" onMouseOut="' + sOutN + sOut + '" border="0px">');						
							dW('<table width="150px" height="' + lHeight + 'px" border="0px" cellpadding="0" cellspacing="0" align="LEFT"><tr><td>');
							if (i != 0){					
								dW('<img src="' + pI + '/images/white.gif" width="2px" height="' + lSHeight + 'px" border="0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
							}
							else{
								dW('<img src="' + pI + '/images/1.gif" width="2px" height="' + lSHeight + 'px" border="0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
							}
							dW('</td><td  width="100%" align="left"><a href="' + rURL(varItems[i]) + '" class="' + sAClass + '">' + rTxt(varItems[i]) + '</a></td></tr></table>');
							if (i == (varItems.length - 1)){
								dW('</td><td align="right">');
							}
							dW('</layer>');
						}					
					}
					else{					
						dW('<tr>');
						var lColSpan = 2; var sEnd = '';
						if (i == 0){
							dW('<td bgcolor="#ffffff" valign="top"><img src="' + pI + '/images/g.gif" width="2px" height="13px" border="0px"></td>');
						}
						else{
							if (i == (varItems.length -1)){
								lColSpan = 1;
								sEnd = '<td align="right" valign="bottom" bgcolor=""><img src="' + pI + '/images/cbrx.gif" width="19px" height="20px" border="0" name="nvbottom"></td>';
							}
							dW('<td bgcolor="#ffffff"><img src="' + pI + '/images/1.gif" width="2px" border="0px"></td>');						
						}
						dW('<td class="Menu" bgcolor="#CCCCCC">&nbsp;&nbsp;&nbsp;</td><td bgcolor="#CCCCCC" colspan="' + lColSpan + '" valign="top" width="100%"><a href="' + rURL(varItems[i]) + '" onmouseout="this.className=\'MainMenu\'" onmouseover="this.className=\'MainMenuSelected\'" class="MainMenu">' + rTxt(varItems[i]) + '</a></td>' + sEnd);															
						dW('</tr>');
						if (i != (varItems.length -1)){
							dW('<tr><td bgcolor="#ffffff"><img src="' + pI + '/images/1.gif" width="2px" border="0px"></td><td colspan="3" bgcolor="#CCCCCC"><img src="' + pI + '/images/1.gif" height="5px" border="0px"></td></tr>');
						}
					}				
				}
				if (!isNS4){
					dW('</tr></table></div>');
				}
			}
		}
	}
	function showSubN(lID, varA, objSender){
		var obj; var objSel;
		with (objSender){
			var lT = top;
			for(var i = 0; i < varA.length; i++){				
				obj = rRef('mnu' + lID + d + i);
				objSel = rRef('mnux' + lID + d + i);
				obj.top = lT;
				objSel.top = lT;
				obj.left = (left + 159);
				objSel.left = (left + 159);
				obj.visibility = v;
				if (i < (varA.length - 1)){
					if (rTxt(varA[i]).length > 26){
						lT += 34;
					}
					else{
						lT += 17;
					}
				}
				else{
					if (rTxt(varA[i]).length > 26){
						lT +=19;
					}
				}
			}
			if (varA.length > 0){		
				obj = rRef('CornerWhite');
				obj.top = (lT + 3);
				obj.visibility = v;
			}	
		}
	}
	function hideSubN(lID, varA){
		var obj;
		for(var i = 0; i < varA.length; i++){
			obj = rRef('mnu' + lID + d + i);
			obj.visibility = h;
		}
		obj = rRef('CornerWhite');
		obj.visibility = h;	
	}
	function showSub(lParID, sID){
		rRef(sID).style.top = parseInt(rRef(lParID).style.top);
		rRef(sID).style.visibility = v;		
	}
	function hideSub(sID){
		rRef(sID).style.visibility = h;
	}

