function cPage(x) {
  // Build the URL to connect to
	var url;
	switch(x){
		case 1:
			url = "html/Sejarah.htm";
			break;
		case 2:
			url = "html/Anggota.htm";
			break;
		case 3:
			url = "html/Terma.htm";
			break;
		case 4:
			url = "html/Struktur.htm";
			break;
		case 5:
			url = "html/GarisPanduan.htm";
			break;
		case 6:
			url = "html/Aktiviti.htm";
			break;
		case 7:
			url = "html/PeneranganGarisPanduan.htm";
			break;
		case 8:
			url = "html/Ringkasan.html";
			break;
		case 9:
			url = "html/JTNGK.htm";
			break;
		case 10:
			url = "html/KKGPPNG.htm";
			break;
		case 11:
			url = "html/KKPDNG.htm";
			break;
		case 12:
			url = "html/KKNP.htm";
			break;
		case 13:
			url = "html/JNNG.htm";
			break;
		case 14:
			url = "html/JTNGN.htm";
			break;
		case 28:
			url = "html/linkBerkaitan.htm";
			break;
		case 30:
			url = "html/GeographicalNamesIssues.htm";
			break;
		case 34:
			url = "html/PegawaiPerhubungan.htm";
			break;	
		case 36:
			url = "html/Penerbitan.htm";
			break;
		case 38:
			url = "html/KKDPNG.htm";
			break;

			
		//English page by Siti 220806
		case 15:
			url = "html/Sejarah_BI.htm";
			break;
		case 16:
			url = "html/Anggota_BI.htm";
			break;
		case 17:
			url = "html/Terma_BI.htm";
			break;
		case 18:
			url = "html/Struktur_BI.htm";
			break;
		case 19:
			url = "html/GarisPanduan_BI.htm";
			break;
		case 20:
			url = "html/Aktiviti_BI.htm";
			break;
		case 21:
			url = "html/JTNGK_BI.htm";
			break;
		case 22:
			url = "html/KKGPPNG_BI.htm";
			break;
		case 23:
			url = "html/KKPDNG_BI.htm";
			break;
		case 24:
			url = "html/KKNP_BI.htm";
			break;
		case 25:
			url = "html/JNNG_BI.htm";
			break;
		case 26:
			url = "html/JTNGN_BI.htm";
			break;
		case 27:
			url = "html/Summary_BI.htm";
			break;
		 case 29:
			url = "html/linkBerkaitanBI.htm";
			break;
		case 31:
			url = "html/GeographicalNamesIssuesBI.htm";
			break;
		case 32:
			url = "html/FAQ.htm";	
			break;
		case 33:
			url = "html/FAQBI.htm";
			break;		
		case 35:
			url = "html/PegawaiPerhubunganBI.htm";
			break;
		case 37:
			url = "html/PenerbitanBI.htm";
			break;	
		case 39:
			url = "html/PenerbitanBI.htm";
			break;	
	}

  // Open a connection to the server
  xmlHttp.open("GET", url, true);

  // Setup a function for the server to run when it's done
  xmlHttp.onreadystatechange = updatePage;

  // Send the request
  xmlHttp.send(null);
}
function updatePage() {
  if (xmlHttp.readyState == 4) {
    var response = xmlHttp.responseText;
    document.getElementById("divContent").innerHTML = response;
  }
}
