<!--
// browser detection
function ImgOn(Nam) {
	if (document.images) {
		document.images[Nam].src = eval(Nam+ "_on.src");
	}
}

function ImgOff(Nam) {
	if (document.images) {
		document.images[Nam].src = eval(Nam+ "_off.src");
	}
}

function createFrame(pdfNumber) {
    var i;
    var targeturl;
	var pdfFilename = returnPDFName(pdfNumber);
    targeturl = window.location.hash;
	with (window.document) {
	    open();
		writeln('<frameset  rows="114,*" framespacing="0" frameborder="no" border="0">');
	   	writeln('<frame name="header" src="header.htm" marginwidth="0" marginheight="0" scrolling="no" frameborder="no" framespacing="0" noresize>');
		writeln('<frameset  cols="740,*" framespacing="0" frameborder="no" border="0"> ');
		writeln('<frame name="mainContent" src="'+pdfFilename+'" marginwidth="0" marginheight="0" scrolling="no" frameborder="no" framespacing="0" border="0" target="mainContent" noresize>');
		writeln('<frame name="rightFrame" src="blank.htm" marginwidth="0" marginheight="0" scrolling="no" frameborder="no" framespacing="0" border="0" target="mainContent" noresize>');
		writeln('</frameset>');
		writeln('</frameset>');
        close();
	}    
}

function returnPDFName(pdfNumber) {
	var pdfFilename = "";
	var pURL = "pdf/";
	if (pdfNumber == "") {
		pdfNumber = "100"
	}
	switch (parseInt(pdfNumber)) {
			case 0 : window.open('index2.htm','_top'); break;
			case 1 : pdfFilename = pURL + "Major Dev_en.pdf"; break;
			case 2 : pdfFilename = pURL + "ChairmanMessage_en.pdf"; break;
			case 3 : pdfFilename = pURL + "DirectorForeword_en.pdf"; break;
			case 4 : pdfFilename = pURL + "Theme_en.pdf"; break;
			case 5 : pdfFilename = pURL + "BR_ch01_en.pdf"; break;
			case 6 : pdfFilename = pURL + "BR_ch02_en.pdf"; break;
			case 7 : pdfFilename = pURL + "Corpvision_en.pdf"; break;
			case 8 : pdfFilename = pURL + "BR_ch03_en.pdf"; break;
			case 9 : pdfFilename = pURL + "BR_ch04_en.pdf"; break;
			case 10 : pdfFilename = pURL + "HA_bg_en.pdf"; break;
			case 11 : pdfFilename = pURL + "BR_ch05_en.pdf"; break;
			case 12 : pdfFilename = pURL + "BR_ch06_en.pdf"; break;	
			case 13 : pdfFilename = pURL + "Financial_en.pdf"; break;
			case 14 : pdfFilename = pURL + "HA Members_en.pdf"; break;	
			case 15 : pdfFilename = pURL + "Appendices_en.pdf"; break;	
			case 100 : pdfFilename = "blank.html"; break;					
		}
		return pdfFilename;
}

function changePDF(pdfNumber) {
	var pdfFilename = returnPDFName(pdfNumber);
	if (pdfFilename == "content.html") {
		top.window.location.href=pdfFilename;
	} else {
		parent.mainContent.location.href = pdfFilename;	
	}

}

function goTo(thisURL) {
	self.location = thisURL;
}
//-->