switch(level){

   case "1":

        var loca = "";

   break;

   case "2":

        var loca = "../";

   break;

   case "3":

        var loca = "../../";

   break;

   default:

        var loca = "/southafrica/homepage/"

   break;

}



var nav = "";

    nav = nav + "<div class='n2_menubox' style='height:100%'>";

    nav = nav + "                  <a style='display:block;width:150px;position:absolute;left:0px; height:20px' href='#' id='n2_0' class='menutitle' onmouseover='n2_mt_i(this)' onmouseout='n2_mt_o(this)' onmouseup='return n2_mt_d(this,\"\")' onclick='return false'>About Us</a>";

    nav = nav + "                  <div style='z-index:100;position:relative;left:132px;top:75px;width:305px;'>";

    nav = nav + "                    <div id='popn2_7' class='popupbox' onmouseover='n2_pop_i(this)' onmouseout='n2_pop_o(this)'>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/cs/csi.htm\")' onclick='return false'><nobr> About our Social Investment</nobr></a>";

  

   // to be updated at a later date   

   // nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/cs/csbac.htm\")' onclick='return false'><nobr> Business Against Crime</nobr></a>";

    

	nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/cs/csercaru.htm\")' onclick='return false'><nobr> Educational Resource Centre At Rhodes University</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/cs/csepsc.htm\")' onclick='return false'><nobr> Edutainer Pre-school Classroom</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/cs/cshfh.htm\")' onclick='return false'><nobr> Habitat for Humanity</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/cs/csja.htm\")' onclick='return false'><nobr> Junior Achievement</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/cs/csm.htm\")' onclick='return false'><nobr> Masimbambane Adult Literacy</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/cs/csoh.htm\")' onclick='return false'><nobr> Operation Hunger</nobr></a>";
	
    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/cs/cssi.htm\")' onclick='return false'><nobr> Shared Interest</nobr></a></div>";

    nav = nav + "                  </div>";

    nav = nav + "                  <div style='position:relative;left:0px;top:0px;width:148px'>";

    nav = nav + "                    <div id='popn2_0' class='popupbox' onmouseover='n2_pop_i(this)' onmouseout='n2_pop_o(this)'>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/aucg.htm\")' onclick='return false'><nobr> Citi Globally</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/aucl.htm\")' onclick='return false'><nobr> Citi Locally</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/auar.htm\")' onclick='return false'><nobr> Annual Reports</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/aua.htm\")' onclick='return false'><nobr> Awards</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/auco.htm\")' onclick='return false'><nobr> Career Opportunities</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msp_i(this,\"popn2_7\")' onmouseout='n2_msp_o(this,\"popn2_7\")' onmouseup='return n2_msi_d(this,\"javascript:void(0)\")' onclick='return false'><nobr> Community Services</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "au/aucu.htm\")' onclick='return false'><nobr> General Contacts</nobr></a></div>";

    nav = nav + "                  </div>";

    nav = nav + "                  <a style='display:block;width:150px;position:absolute;left:150px; height:20px' href='#' id='n2_17' class='menutitle' onmouseover='n2_mt_i(this)' onmouseout='n2_mt_o(this)' onmouseup='return n2_mt_d(this,\"javascript:void(0)\")' onclick='return false'>Our Business Segments</a>";


    nav = nav + "                  <div style='position:relative;left:150px;top:0px;width:153px'>";   

	nav = nav + "                    <div id='popn2_17' class='popupbox' onmouseover='n2_pop_i(this)' onmouseout='n2_pop_o(this)' style='130px'>";   

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/eb/ebcd.htm\")' onclick='return false'><nobr>&nbsp;Internet Banking</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "aoc/aoccb.htm\")' onclick='return false'><nobr> Corporate Banking</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "aoc/aocfi.htm\")' onclick='return false'><nobr> Financial Institutions</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "aoc/aocnpc.htm\")' onclick='return false'><nobr> Non Presence Countries</nobr></a></div>";

    nav = nav + "                  </div>";

    nav = nav + "                  <a style='display:block;width:150px;position:absolute;left:300px; height:20px' href='#' id='n2_27' class='menutitle' onmouseover='n2_mt_i(this)' onmouseout='n2_mt_o(this)' onmouseup='return n2_mt_d(this,\"javascript:void(0)\")' onclick='return false'>Our Products & Services</a>";


    nav = nav + "                  <div style='z-index:100;position:relative;left:432px;top:15px;width:200px'>";

    nav = nav + "                    <div id='popn2_35' class='popupbox' onmouseover='n2_pop_i(this)' onmouseout='n2_pop_o(this)'>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/eb/ebeb.htm\")' onclick='return false'><nobr> Overview</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/eb/ebcm.htm\")' onclick='return false'><nobr> Cash Management</nobr></a>";

    //nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/eb/ebcd.htm\")' onclick='return false'><nobr> CitiDirect® Online Banking</nobr></a>";

    //nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/eb/ebd.htm\")' onclick='return false'><nobr> Downloads</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/eb/ebtfs.htm\")' onclick='return false'><nobr> Trade Finance</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/eb/ebebc.htm\")' onclick='return false'><nobr> Contact Us</nobr></a></div>";

    nav = nav + "                  </div>";

    nav = nav + "                  <div style='z-index:100;position:relative;left:432px;top:75px;width:153px'>";

    nav = nav + "                    <div id='popn2_46' class='popupbox' onmouseover='n2_pop_i(this)' onmouseout='n2_pop_o(this)'>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/ts/tsd.htm\")' onclick='return false'><nobr> Derivatives</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/ts/tsfis.htm\")' onclick='return false'><nobr> Fixed Income Securities</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/ts/tsfe.htm\")' onclick='return false'><nobr> Foreign Exchange</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/ts/tsmm.htm\")' onclick='return false'><nobr> Money Market</nobr></a>";

    nav = nav + "					  <a id='popup' href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/ts/tswbc.htm\")' onclick='return false'><nobr> Web Based Services</nobr></a></div>";

    nav = nav + "                  </div>";

    nav = nav + "                  <div style='position:relative;left:300px;top:0px;width:200px'>";

    nav = nav + "                    <div id='popn2_27' class='popupbox' onmouseover='n2_pop_i(this)' onmouseout='n2_pop_o(this)'>";

   // nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msp_i(this,\"popn2_29\")' onmouseout='n2_msp_o(this,\"popn2_29\")' onmouseup='return n2_msi_d(this,\"javascript:void(0)\")' onclick='return false'><nobr> Asset Based Finance</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msp_i(this,\"popn2_35\")' onmouseout='n2_msp_o(this,\"popn2_35\")' onmouseup='return n2_msi_d(this,\"javascript:void(0)\")' onclick='return false'><nobr> Global Transaction Services</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/opsls.htm\")' onclick='return false'><nobr> Lending Services</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/opspsf.htm\")' onclick='return false'><nobr> Project and Structured Finance</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "ops/opssssb.htm\")' onclick='return false'><nobr> Citigroup Global Markets Inc.</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msp_i(this,\"popn2_46\")' onmouseout='n2_msp_o(this,\"popn2_46\")' onmouseup='return n2_msi_d(this,\"javascript:void(0)\")' onclick='return false'><nobr> Treasury Services</nobr></a></div>";

    nav = nav + "                  </div>";



    nav = nav + "                  <a style='display:block;width:150px;position:absolute;left:450px; height:20px' href='#' id='n2_52' class='menutitle' onmouseover='n2_mt_i(this)' onmouseout='n2_mt_o(this)' onmouseup='return n2_mt_d(this,\"javascript:void(0)\")' onclick='return false'>Media Relations</a>";

    nav = nav + "                  <div style='position:relative;left:450px;top:0px;width:2px'>";

    nav = nav + "                    <div id='popn2_52' class='popupbox' onmouseover='n2_pop_i(this)' onmouseout='n2_pop_o(this)' style='width:140px'>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "pr/prpr.htm\")' onclick='return false'><nobr> Press Releases</nobr></a>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "pr/pria.htm\")' onclick='return false'><nobr> Access to Information Act</nobr></a></div>";

    nav = nav + "                  </div>";





    nav = nav + "		  <a style='display:block;width:153px;position:absolute;left:600px; height:20px' href='#' id='n2_53' class='menutitle' onmouseover='n2_mt_i(this)' onmouseout='n2_mt_o(this)' onmouseup='return n2_mt_d(this,\"javascript:void(0)\")' onclick='return false'>Customer Services</a>";

    nav = nav + "                  <div style='position:relative;left:600px;top:0px;width:1px'>";

    nav = nav + "                    <div id='popn2_53' class='popupbox' onmouseover='n2_pop_i(this)' onmouseout='n2_pop_o(this)' style='width:140px'>";

    nav = nav + "					  <a href='#' class='menuitem' onmouseover='n2_msi_i(this)' onmouseout='n2_msi_o(this)' onmouseup='return n2_msi_d(this,\"" + loca + "css/csscsn.htm\")' onclick='return false'><nobr> CitiService Numbers</nobr></a></div>";

    nav = nav + "                  </div>";

    nav = nav + "                </div>";

//**********************************************************************

var n2_lastpop=null;

var n2_lastpopup=null;

var n2_popouttimer=0;



var n2_lastbut=null;

var n2_lastbut_outf=null;

var n2_lastsection=null;



function n2_cancellastbutton()

{

	if (n2_lastbut==null) return;

	n2_lastbut.down=false;

	n2_lastbut_outf(n2_lastbut);

	n2_lastbut=null;

}



function n2_cancellastsection(section)

{

	if (n2_lastsection==null) return;

	var tryparent=false;

	if (section!=null && section.parentElement!=n2_lastsection.parentElement) tryparent=true;

	if (section==null) tryparent=true;

	if (tryparent && n2_lastsection.parentElement!=null && n2_lastsection.parentElement.className=="menusection"){

		n2_lastsection.parentElement.style.display="";

	}

	n2_lastsection.style.display="";

	n2_lastsection=null;

}



function n2_mt_d(but,link)

{

	n2_cancellastbutton();

	but.down=true;

	n2_lastbut=but;

	n2_lastbut_outf=n2_mt_o;

	n2_mt_i(but);

	if (link!="") window.open(link,"_self");

	return false;

}



function n2_findmainwindow()

{

	var ret=window;

	return ret;

}



function n2_hidelastpopup()

{

	if (n2_lastpopup!=null){

		n2_lastpopup.style.display="none";

		n2_lastpopup=null;

	}

}



function n2_hidelastpop()

{

	if (n2_popouttimer!=0) window.clearTimeout(n2_popouttimer);

	n2_popouttimer=0;

	if (n2_lastpop==null) return;

	n2_lastpop.style.display="none";

	n2_lastpop=null;

	n2_hidelastpopup();

}



function n2_pop_i(pop)

{

	var mainwindow=n2_findmainwindow();

	if (mainwindow==null) return;

	if (mainwindow.n2_popouttimer!=0) mainwindow.clearTimeout(mainwindow.n2_popouttimer);

	mainwindow.n2_popouttimer=0;

}



function n2_pop_o(pop)

{

	var mainwindow=n2_findmainwindow();

	if (mainwindow==null) return;

	mainwindow.n2_popouttimer=mainwindow.setTimeout("n2_findmainwindow().n2_hidelastpop()",100);

}

function n2_mt_i(but)

{

	but.className=(but.down==true) ? "menutitledown":"menutitleover";

	var mainwindow=n2_findmainwindow();

	var pop=mainwindow.document.getElementById("POP"+but.id);

	if (mainwindow.n2_popouttimer!=0) mainwindow.clearTimeout(mainwindow.n2_popouttimer);

	if (pop==null || (n2_lastpop!=null && pop.id!=n2_lastpop.id)) n2_hidelastpop();



	if (pop==null) return;

	if (typeof(pop)=="undefined") return;



  n2_lastpop=pop;

	pop.style.display="block";

	

	mainwindow.n2_popouttimer=mainwindow.setTimeout("n2_findmainwindow().n2_hidelastpop()",5000);

}

function n2_mt_o(but)

{

	var mainwindow=n2_findmainwindow();

	if (mainwindow.n2_popouttimer!=0) mainwindow.clearTimeout(mainwindow.n2_popouttimer);

	mainwindow.n2_popouttimer=mainwindow.setTimeout("n2_findmainwindow().n2_hidelastpop()",100);

	but.className=(but.down==true) ? "menutitledown":"menutitle";

}

function n2_msi_d(but,link)

{

	n2_cancellastbutton();

	but.down=true;

	n2_lastbut=but;

	n2_lastbut_outf=n2_msi_o;

	n2_msi_i(but);

	if (link!="") window.open(link,"_self");

	return false;

}



function n2_msi_i(but)

{

	but.className=(but.down==true) ? "menuitemdown":"menuitemover";

	if (but.id!="popup") n2_hidelastpopup();

}

function n2_msi_o(but)

{

	but.className=(but.down==true) ? "menuitemdown":"menuitem";

}

function n2_msp_i(but,popup)

{

	n2_msi_i(but);

	var mainwindow=n2_findmainwindow();

	var pop=mainwindow.document.getElementById(popup);

	

	if (pop==null) return;

	if (typeof(pop)=="undefined") return;

	n2_lastpopup=pop;

	pop.style.display="block";

}

function n2_msp_o(but)

{

	n2_msi_o(but);

}



function MM_checkBrowser(NSvers,NSpass,NSnoPass,IEvers,IEpass,IEnoPass,OBpass,URL,altURL) { //v4.0

  var newURL='', verStr=navigator.appVersion, app=navigator.appName, version = parseFloat(verStr);

  if (app.indexOf('Netscape') != -1) {

   if (version >= NSvers) {if (NSpass>0) newURL=(NSpass==1)?URL:altURL;}

    else {if (NSnoPass>0) newURL=(NSnoPass==1)?URL:altURL;}

  } else if (app.indexOf('Microsoft') != -1) {

    if (version >= IEvers || verStr.indexOf(IEvers) != -1)

     {if (IEpass>0) newURL=(IEpass==1)?URL:altURL;}

    else {if (IEnoPass>0) newURL=(IEnoPass==1)?URL:altURL;}

  } else if (OBpass>0) newURL=(OBpass==1)?URL:altURL;

  if (newURL) { window.location=unescape(newURL); document.MM_returnValue=false; }

}

function contact(preinfo,postinfo){
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Bypasses check for unlinked emails
//#######################################################################
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
email = preinfo + "@" + postinfo;
return email;
}