var bBrowserOK;
bBrowserOK = 0;

if(parseFloat(navigator.appVersion)>=4)
	if(navigator.appName == 'Microsoft Internet Explorer') bBrowserOK = 1;
	

document.write('<STYLE>');
document.write('a.MNMID22232400 {padding-left:0px;padding-right:12px;text-decoration:none; color:white; font-weight: bold; font-family: Arial; font-size: 13.25pt; font-style:normal;} ');
document.write('a.MNMID22232400:hover {text-decoration:none; color:white; }');  //#0A1A82
document.write('a.SMNMID22232400 {text-decoration:none; color:#FFFFFF; font-weight: bold; font-family: Arial; font-size: 11pt; font-style:normal;} ');
document.write('a.SMNMID22232400:hover {text-decoration:none; color:white; font-size:11pt; font-family: Arial; font-weight:bold; }'); //#16EBFF
document.write('table.MTMID22232400 {border:0 solid #696361;margin-top:5px;margin-left:2px;}');				//background:#656174; 
document.write('td.MTDMID22232400 {padding-left:4; padding-right:4; border:0 solid #757468;background:#5696BC; }');
document.write('.MTIMID22232400 {padding-left:0px;padding-right:12px;color:white; font-weight: bold; font-family: Arial; font-size: 13.25pt; font-style:normal;}');
document.write('.MSIMID22232400 {color:while; font-weight: bold; font-family: Arial; font-size: 12pt; font-style:normal;}');
document.write('</STYLE>');

function OpenMenu(MenuId){
	MenuId.style.visibility = 'visible';
}

function CloseMenu(MenuId){
	MenuId.style.visibility = 'hidden';
}

function HLTMID22232400(TDId,AId){
	TDId.style.background = '#3065A9';
	if(AId) AId.style.color ='white';
}

function UHLTMID22232400(TDId,AId){
	TDId.style.background = '#5696BC';
	if(AId) AId.style.color = '#FFFFFF';
}

function THLTMID22232400(TDId,AId){
	TDId.style.background = '#3065A9';
	if(AId) AId.style.color ='white';
}

function TUHLTMID22232400(TDId,AId){
	TDId.style.background = '#3065A9';
	if(AId) AId.style.color = 'white';
}

function WSBHMID22232400(MenuId){
	document.write('<span id=' + MenuId + ' STYLE="position:absolute; visibility:hidden; z-index:1; ">');
	document.write('&nbsp;<br>');
	document.write('<table class="MTMID22232400" cellspacing=0 cellpadding=2 onMouseOut="CloseMenu(' + MenuId + ');" onMouseOver="OpenMenu(' + MenuId + ');">');
} 

function WSIHMID22232400(ItemID,ItemName,ItemURL,MenuID,ItemTitle,ItemTarget){
	document.write('<tr><td id="X' + ItemID + '" class="MTDMID22232400" onMouseOver="HLTMID22232400(X' + ItemID + ',' + ItemID + ');" onMouseOut="UHLTMID22232400(X' + ItemID + ',' + ItemID + ');">');
	document.write('<span NOWRAP><a href="' + ItemURL + '" title="' + ItemTitle + '" class="SMNMID22232400" target="' + ItemTarget + '" id="' + ItemID + '">' + ItemName + '</a></span></td></tr>');
}

function WSFHMID22232400(ItemID,ItemFree){
	document.write('<tr><td id="X' + ItemID + '" class="MTDMID22232400" onMouseOver="HLTMID22232400(X' + ItemID + ',' + ItemID + ');" onMouseOut="UHLTMID22232400(X' + ItemID + ',' + ItemID + ');">');
	document.write('<span id="' + ItemID + '" class="MSIMID22232400" >' + ItemFree + '</span></td></tr>');
}

function CloseSubBoxH(){
	document.write('</table></span>');
}

function WTIHMID22232400(MenuID,MenuName,MenuURL,MenuTitle,MenuTarget){
	document.write('<span STYLE="position:relative;margin-top:100px;" class="MTIMID22232400" onMouseOver="OpenMenu(' + MenuID + ');" onMouseOut="CloseMenu(' + MenuID + ');"><a href="' + MenuURL + '" title="' + MenuTitle + '" target="' + MenuTarget + '" class="MNMID22232400">&nbsp;' + MenuName + '</a></span>');
}

function WTFHMID22232400(MenuID,MenuFree){
	document.write('<span STYLE="position:relative;" class="MTIMID22232400" onMouseOver="OpenMenu(' + MenuID + ');" onMouseOut="CloseMenu(' + MenuID + ');">&nbsp;' + MenuFree + '&nbsp;</span>');
}

function WTHHMID22232400(MenuName,MenuURL,MenuTitle,MenuTarget){
	document.write('<span STYLE="position:relative;" class="MTIMID22232400" ><a href="' + MenuURL + '" title="' + MenuTitle + '" target="' + MenuTarget + '" class="MNMID22232400">&nbsp;' + MenuName + '</a></span>');
}

function WTHFHMID22232400(MenuName,MenuFree){
	document.write('<span STYLE="position:relative;" class="MTIMID22232400" >&nbsp;' + MenuFree + '</span>');
}

document.write('<TABLE id="tblMenu" height="30" style="margin-left:48px;margin-right:10px;margin-top:133px;" CELLSPACING="0" CELLPADDING="2" WIDTH="100%" class="topMenu"><TR VALIGN=MIDDLE><TD ALIGN=LEFT>');
document.write('<DIV NOWRAP STYLE="visibility:visible; font-weight: 700; ">');		//background-color:#36A7DB; 
WTHHMID22232400('Home','../Home/Home.htm','','_self');
document.write('&nbsp;');					//<font color=#BCF7FF>|</font>');
if(bBrowserOK==1) {
	WSBHMID22232400('SMM22221234');
	WSIHMID22232400('SMM22221239','Calendar','../Events/EventCalendar.asp','SMM22221234','','_self');
	if(SMM22221239) SMM22221239.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22221237','Meetings','../monthly/monthly.asp','SMM22221234','','_self');
	if(SMM22221237) SMM22221237.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22221236','Conferences','../Events/conferences_events.asp','SMM22221234','','_self');
	if(SMM22221236) SMM22221236.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22221235','News archives','../press/newsarchives.asp','SMM22221234','','_self');
	if(SMM22221235) SMM22221235.style.color = '#FFFFFF';
	CloseSubBoxH();
	WTIHMID22232400('SMM22221234','Events','../Announce/default.htm','','_self');
}
else
	WTHHMID22232400('Events','../Announce/default.htm','','_self');
document.write('&nbsp;');					//<font color=#BCF7FF>|</font>');
if(bBrowserOK==1) {
	WSBHMID22232400('SMM22226512');
	WSIHMID22232400('SMM22231715','Awards','../awards/awards.htm','SMM22226512','','_self');
	if(SMM22231715) SMM22231715.style.color = '#FFFFFF';
	//WSIHMID22232400('SMM22226416','Bursary Holders','../services/services.htm','SMM22226512','','_self');
	//if(SMM22226416) SMM22226416.style.color = '#FFFFFF';
	//WSIHMID22232400('SMM22227416','Bursary Application Form','../downloads/bursary_application_form.doc','SMM22226512','','downloads');
	//if(SMM22227416) SMM22227416.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22222345','Publications','../services/publicat.htm','SMM22226512','','_self');
	if(SMM22222345) SMM22222345.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22231232','Membership','../membership/membersh.htm','SMM22226512','','_self');
	if(SMM22231232) SMM22231232.style.color = '#FFFFFF';
	//WSIHMID22232400('SMM22331232','Water Sewage & Effluent','../announce/wase.htm','SMM22226512','','_self');
	//if(SMM22231232) SMM22331232.style.color = '#FFFFFF';
	CloseSubBoxH();
	WTIHMID22232400('SMM22226512','Services','../Services/default.htm','','_self');
}
else
	WTHHMID22232400('Services','../Services/default.htm','','_self');
document.write('&nbsp;');					//<font color=#BCF7FF>|</font>');
if(bBrowserOK==1) {
	WSBHMID22232400('SMM22224928');
	WSIHMID22232400('SMM22222192','Information','../company/company.htm','SMM22224928','','_self');
	if(SMM22222192) SMM22222192.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22222193','WISA Vision 2015','../company/wisa vision 2015.pdf','SMM22224928','','_blank');
	if(SMM22222193) SMM22222193.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22222194','General Background','../company/GeneralBackground.htm','SMM22224928','','_self');
	if(SMM22222194) SMM22222194.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22231717','Reports & Minutes','../company/reports.htm','SMM22224928','','_self');
	if(SMM22231717) SMM22231717.style.color = '#FFFFFF';
	//WSIHMID22232400('SMM22231718','Presidential Report','../announce/presidential-2002.htm','SMM22224928','','_self');
	//if(SMM22231718) SMM22231718.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22222195','Presentation','../company/brochure/index.htm','SMM22224928','','present');
	if(SMM22222195) SMM22222195.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22231714','Branches','../company/branches.htm','SMM22224928','','_self');
	if(SMM22231714) SMM22231714.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22231713','History','../history/wisa_history.htm','SMM22224928','','_self');
	if(SMM22231713) SMM22231713.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22231716','Previous Office Bearers','../history/office_bearers_previous.htm','SMM22224928','','_self');
	if(SMM22231716) SMM22231716.style.color = '#FFFFFF';
	CloseSubBoxH();
	WTIHMID22232400('SMM22224928','Company','../company/default.htm','','_self');
}
else
	WTHHMID22232400('Company','../company/default.htm','','_self');
document.write('&nbsp;');					//<font color=#BCF7FF>|</font>');
if(bBrowserOK==1) {
	WSBHMID22232400('SMM22228336');
	WSIHMID22232400('SMM22228048','Anaerobic and Sludge Processes','../TDanaerobic/default.htm','SMM22228336','','_self');
	if(SMM22228048) SMM22228048.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22221216','Community Water Supply and Sanitation','../TDcommunity/default.htm','SMM22228336','','_self');
	if(SMM22221216) SMM22221216.style.color = '#FFFFFF';
	//WSIHMID22232400('SMM22221120','Education and Training','../TDeducation/default.htm','SMM22228336','','_self');
	//if(SMM22221120) SMM22221120.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22221904','Southern African Industrial Water','../TDindustrial/default.htm','SMM22228336','','_self');
	if(SMM22221904) SMM22221904.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22220912','Management','../TDmanagement/default.htm','SMM22228336','','_self');
	if(SMM22220912) SMM22220912.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22221728','Membrane Technology','../Divisions/membrane/default.htm','SMM22228336','','division');
	if(SMM22221728) SMM22221728.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22227792','Mine Water','../Divisions/minewater/default.htm','SMM22228336','','division');
	if(SMM22227792) SMM22227792.style.color = '#FFFFFF';
	//WSIHMID22232400('SMM22221568','Nutrient Management','../TDnutrient/default.htm','SMM22228336','','_self');
	//if(SMM22221568) SMM22221568.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22221569','Oxidation and Disinfection','../TDOxidation/default.htm','SMM22228336','','_self');
	if(SMM22221569) SMM22221569.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22228544','Small Wastewater Treatment Works','../TDSWWTW/default.htm','SMM22228336','','_self');
	if(SMM22228544) SMM22228544.style.color = '#FFFFFF';
	//WSIHMID22232400('SMM22220976','Sludge Management','../TDsludge/','SMM22228336','','_self');
	//if(SMM22220976) SMM22220976.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22227680','Water Science','../TDwatercare/default.htm','SMM22228336','','_self');
	if(SMM22227680) SMM22227680.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22227584','Water Distribution','../TDdistribution/default.htm','SMM22228336','','_self');
	if(SMM22227584) SMM22227584.style.color = '#FFFFFF';
	//WSIHMID22232400('SMM22227488','Water Health','../TDhealth/default.htm','SMM22228336','','_self');
	//if(SMM22227488) SMM22227488.style.color = '#FFFFFF';
	WSIHMID22232400('SMM22227392','Young Water Professionals','http://www.wisa.org.za/ywp/','SMM22228336','','_blank');
	if(SMM22227392) SMM22227392.style.color = '#FFFFFF';
	CloseSubBoxH();
	WTIHMID22232400('SMM22228336','Divisions','../Divisions/default.htm','','_self');
}
else
	WTHHMID22232400('Divisions','../Divisions/default.htm','','_self');
document.write('&nbsp;');					//<font color=#BCF7FF>|</font>');
WTHHMID22232400('Patrons','../patrons/patrons.htm','','_self');
document.write('&nbsp;');					//<font color=#BCF7FF>|</font>');
if(bBrowserOK==1) {
	WSBHMID22232400('SMM22229991');
	WSIHMID22232400('SMM99911231','Member Company Profiles','../formembers/CompanyProfiles.asp','SMM22239991','','_self');
	if(SMM99911231) SMM99911231.style.color = '#FFFFFF';
	WSIHMID22232400('SMM99911232','Expertise Search','../Expertise/','SMM22239991','','_self');
	if(SMM99911232) SMM99911232.style.color = '#FFFFFF';
	WSIHMID22232400('SMM99917738','Name Search','../Expertise/ByLastname.asp','SMM22239991','','_self');
	if(SMM99917738) SMM99917738.style.color = '#FFFFFF';
	WSIHMID22232400('SMM99917737','Location Search','../Expertise/ByCountry.asp','SMM22239991','','_self');
	//if(SMM99911235) SMM99911235.style.color = '#FFFFFF';
	WSIHMID22232400('SMM99911237','Employment Wanted','../formembers/EmployCaveat.asp?file=wantpage.asp','SMM22239991','','_self');
	if(SMM99911237) SMM99911237.style.color = '#FFFFFF';
	WSIHMID22232400('SMM99911238','Employment Offered','../formembers/EmployCaveat.asp?file=offerpage.asp','SMM22239991','','_self');
	if(SMM99911238) SMM99911238.style.color = '#FFFFFF';
	WSIHMID22232400('SMM99911236','Member Profile','../formembers/profile.asp','SMM22239991','','_self');
	if(SMM99911236) SMM99911236.style.color = '#FFFFFF';
	WSIHMID22232400('SMM99911234','Update Details','../formembers/changes.asp','SMM22239991','','_self');
	if(SMM99911234) SMM99911234.style.color = '#FFFFFF';
	CloseSubBoxH();
	WTIHMID22232400('SMM22229991','Members','../ForMembers/','','_self');
}
else
	WTHHMID22232400('Members','../ForMembers/','','_self');
document.write('&nbsp;');					//<font color=#BCF7FF>|</font>');
WTHHMID22232400('Downloads','../downloads/default.htm','','_self');
document.write('&nbsp;');					//<font color=#BCF7FF>|</font>');
WTHHMID22232400('Links','../Other/links.htm','','_self');
document.write('</DIV></TD>');
document.write('</TR></TABLE>');

//alert(tblMenu.outerHTML);
