function underConMsg()
{
	alert('The page you requested is currently under construction... For information on when this page will be available, you can contact the Webmaster at Tel. +27 12 315 5635.');
}
function openForum()
{
	window.open('/Modules/Forums/ForumTopics.aspx', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
}

function openReport()
{
	window.open('/Modules/ODAReports/ReportSelection.aspx', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
	
}
function openDnlMngr( file, docName )
{
	var fn = '/dmngr.aspx?doc='+file+'&docName='+docName;
	window.open(fn, '', 'width=830,height=350,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=100,top=200');
	
}
function openGathering()
{
	window.showModalDialog('/Modules/ODAReports/DataGathering.aspx',null,'dialogHeight:30;dialogWidth:54;status:no;');
}

function openRDPReport()
{	
	window.open('/Modules/ODAReports/Reports.aspx?reportName=RDP+Fund+Report', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
}
function openContactListByDes()
{	
	window.open('/Modules/ODAReports/Reports.aspx?reportName=Contact+List+By+Designation', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
}

function openFile( file )
{
	var doc = file;
	window.open(doc,'','');
	window.close();
	
}

function openRpt(rptID)
{
	if(rptID == 0) window.open('/Modules/ODAReports/Reports.aspx?reportName=Contact+List+By+Project', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
	if(rptID == 1)  window.open('/Modules/ODAReports/Reports.aspx?reportName=Contact+List+By+Institution', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
	if(rptID == 2)  window.open('/Modules/ODAReports/Reports.aspx?reportName=Contact+List+By+Designation', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
	if(rptID == 3)  window.open('/Modules/ODAReports/Reports.aspx?reportName=Aggregate/Project+Status+Report', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
	if(rptID == 4)  window.open('/Modules/ODAReports/Reports.aspx?reportName=Project+Document+Report', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
	if(rptID == 5)  window.open('/Modules/ODAReports/Reports.aspx?reportName=RDP+Fund+Report', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
	if(rptID == 6) window.open('/Modules/ODAReports/Reports.aspx?reportName=Summary+of+all+Commitments', '', 'width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
	if(rptID == 7) window.open('/Modules/ODAReports/ReportScreen.aspx?Page=1&dateChecked=false&reportName=Total+ODA+to+SA+-+1994+to+2005','','width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');
	if(rptID == 8) window.open('/Modules/ODAReports/Reports.aspx?reportName=Commitments+By+Institution','','width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');			
	if(rptID == 9) window.open('/Modules/ODAReports/Reports.aspx?reportName=Commitments+To+Institution','','width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');			
	if(rptID == 10) window.open('/Modules/ODAReports/Reports.aspx?reportName=Commitments+To+Region/Province','','width=950,height=600,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,left=width/2,top=height/2');			
		
}

function printPhase()
{
	alert('Remember to adjust the Layout Preference on your Printer Setup. The Orientation of the page should be set to Landscape.');
	window.print();
}

function waitMessage()
{
	document.getElementById('loading').style.visibility = 'hidden';
}
function hideProgress()
{
	document.getElementById('jsHide').style.visibility = 'hidden';
	document.getElementById('jsHide').style.display = 'none';
	
}

function Go(){return}
			
			var NoOffFirstLineMenus=15;			
			var LowBgColor='#6a84b0';			
			var LowSubBgColor='#6a84b0';			
			var HighBgColor='lightgrey';			
			var HighSubBgColor='lightgrey';		
			var FontLowColor='white';			
			var FontSubLowColor='white';		
			var FontHighColor='SteelBlue';		
			var FontSubHighColor='SteelBlue';	
			var BorderColor='lightgrey';			
			var BorderSubColor='lightgrey';		
			var BorderWidth=1;				
			var BorderBtwnElmnts=1;			
			var FontFamily="Verdana, Arial"	
			var FontSize=7.5;				
			var FontBold=1;				
			var FontItalic=0;			
			var MenuTextCentered='left';			
			var MenuCentered='left';			
			var MenuVerticalCentered='top';		
			var ChildOverlap=-.025;				
			var ChildVerticalOverlap=.0;		
			var StartTop=85;				
			var StartLeft=25;				
			var VerCorrect=0;				
			var HorCorrect=0;				
			var LeftPaddng=3;					
			var TopPaddng=4;				
			var FirstLineHorizontal=0;		
			var MenuFramesVertical=3;		
			var DissapearDelay=1000;		
			var TakeOverBgColor=1;			
			var FirstLineFrame='main';		
			var SecLineFrame='main';		
			var DocTargetFrame='main';		
			var TargetLoc='';				
			var HideTop=0;				
			var MenuWrap=1;				
			var RightToLeft=0;			
			var UnfoldsOnClick=0;		
			var WebMasterCheck=0;		
			var ShowArrow=1;			
			var KeepHilite=1;			
			var Arrws=['/images/triright.gif',5,10,'/images/tridown.gif',10,5,'/images/trileft.gif',5,10];	

		function BeforeStart(){return}
		function AfterBuild(){return}
		function BeforeFirstOpen(){return}
		function AfterCloseAll(){return}
		
		Menu1=new Array("Home","/main.aspx","",0,24,180);

		Menu2=new Array("About Us","","",4);
			Menu2_1=new Array("Organisational Structure","/Modules/AboutUs/Organogramme.aspx","",0,24,180);
			Menu2_2=new Array("Vision, Mission & Values","/Modules/AboutUs/aboutus_mission.htm","",0,24);	
			Menu2_3=new Array("Strategic Objectives & Core Activities","/Modules/AboutUs/StrategicObjectives.htm","",0,34);
			Menu2_4=new Array("Contact Us","/Modules/AboutUs/contact_us.htm","",0,24);
			//Menu2_5=new Array("Our Services","/underconstruction.htm","",0,24);
			//Menu2_5=new Array("Customer Feedback","/Modules/AboutUs/EvaluationForms.aspx","",0,24);
		
		Menu3=new Array("Customer Feedback","/Modules/AboutUs/EvaluationForms.aspx","",0,24);
						
		Menu4=new Array("Policy Framework and Procedural Guidelines for the Management of ODA","","",12,44);
			Menu4_1=new Array("Introduction","/Modules/PolicyFrameworkGuidelines/ODAIntroduction.aspx","",0,24,200);
			Menu4_2=new Array("ODA in SA Context","/Modules/PolicyFrameworkGuidelines/ODAINSAContext.aspx","",0,24);
			Menu4_3=new Array("Overall Policy & Legislative Framework","/Modules/PolicyFrameworkGuidelines/PolicyObjectives.aspx","",0,34);
			Menu4_4=new Array("Overview of the South African ODA Management System","/Modules/PolicyFrameworkGuidelines/TheManagementProcessessAndResponsibilities.aspx","",0,34);
			Menu4_5=new Array("Development Prioritisation, ODA Pledges and Commitments","/Modules/PolicyFrameworkGuidelines/ODAPrioritisationPlanning.aspx","",0,34);
			Menu4_6=new Array("Soliciting ODA","/Modules/PolicyFrameworkGuidelines/SolicitingAndPreparingForODA.aspx","",0,24);
			Menu4_7=new Array("Concluding a Project Agreement","/Modules/PolicyFrameworkGuidelines/ConcludingAnAgreement.aspx","",0,24);
			Menu4_8=new Array("Implementation Planning","/Modules/PolicyFrameworkGuidelines/PlanningAndExecutionODA.aspx","",0,24);
			Menu4_9=new Array("Project Execution","/Modules/PolicyFrameworkGuidelines/ProjectExecution.aspx","",0,24);
			Menu4_10=new Array("The Management of ODA Loans","/Modules/PolicyFrameworkGuidelines/FinancialManagementLoans.aspx","",0,24);
			Menu4_11=new Array("Financial Management of ODA Projects","/Modules/PolicyFrameworkGuidelines/FinancialManagementGrants.aspx","",0,34);
			Menu4_12=new Array("Generic Guideline For Implementation Plan Formulation","/Modules/PolicyFrameworkGuidelines/AppendixB.aspx","",0,34);
				
		Menu5=new Array("RDP Fund Mechanism","/RDPFundMechanism.aspx","",0);			

		Menu6=new Array("Partners and Institutions","","",8);
			Menu6_1=new Array("International Development Co-operation Partners","/Modules/PartnersInstitutions/Donors.aspx","",0,34,220);
			Menu6_2=new Array("South Africa: Municipal Public Sector","/Modules/PartnersInstitutions/SAPublicSector.aspx?Page=municipal","",0,24);
			Menu6_3=new Array("South Africa: National Public Sector","/Modules/PartnersInstitutions/SAPublicSector.aspx?Page=national","",0,24);
			Menu6_4=new Array("South Africa: Provincial Public Sector","/Modules/PartnersInstitutions/SAProvinces.aspx","",0,24);
			Menu6_5=new Array("Technical Assistance Unit","/Modules/PartnersInstitutions/TechnicalAssistanceUnit.aspx","",0,24);
			Menu6_6=new Array("Civil Society Organisations","/Modules/PartnersInstitutions/CivilSocietyOrganisations.aspx","",0,24);
			Menu6_7=new Array("African Institutions","/Modules/PartnersInstitutions/AfricanInstitutions.aspx","",0,24);
			Menu6_8=new Array("Other International Institutions","/Modules/PartnersInstitutions/OtherInternationalInstitutions.aspx","",0,24);

		Menu7=new Array("ODA Reports","","",7);
			Menu7_1=new Array("Contact Lists","","",3,24,220);
				Menu7_1_1=new Array("By Project","javascript:onclick=openRpt(0);","",0,24,160);
				Menu7_1_2=new Array("By Institution","javascript:onclick=openRpt(1);","",0,0,0);
				Menu7_1_3=new Array("By Designation","javascript:onclick=openRpt(2);","",0,0,0);	
			Menu7_2=new Array("Aggregate/Project Status Report","javascript:onclick=openRpt(3);","",0,24);
			Menu7_3=new Array("Project Document Report","javascript:onclick=openRpt(4);","",0,24);
			Menu7_4=new Array("RDP Fund Report","javascript:onclick=openRpt(5);","",0,24);
			Menu7_5=new Array("Summary of all Commitments","javascript:onclick=openRpt(6);","",0,24);
			Menu7_6=new Array("ODA to SA - 1994 to 2005","javascript:onclick=openRpt(7);","",0,24);
			Menu7_7=new Array("Commitments","","",3,24,220);
				Menu7_7_1=new Array("By Institution","javascript:onclick=openRpt(8);","",0,24,160);
				Menu7_7_2=new Array("To Institution","javascript:onclick=openRpt(9);","",0,0,0);
				Menu7_7_3=new Array("To Region/Province","javascript:onclick=openRpt(10);","",0,0,0);

		Menu8=new Array("ODA - Related Documents","","",2);
			Menu8_1=new Array("Strategic Documents","/DocumentsStrategic.aspx","",0,24,160);
			Menu8_2=new Array("ODA General Interest","/DocumentsGeneral.aspx","",0,24);

		Menu9=new Array("Forum","javascript:onclick=openForum();","",0);

		Menu10=new Array("News and Events","/NewsEvents.aspx","",0);
		Menu11=new Array("Development Opportunities","/DevOpportunities.aspx","",0);
		
		Menu12=new Array("DCIS Data Gathering","javascript:onclick=openGathering();","",0);
		
		Menu13=new Array("Archive","","",1);
			Menu13_1=new Array("IDC Events","/ArchiveEvents.aspx","",0,24,160);
		
		Menu14=new Array("Links","/SiteLinks.aspx","",0);
		
		Menu15=new Array("Site Map","/SiteMap.aspx","",0);
		
		
		
