// JavaScript Document

function writeReport(){
var htm = '';
var i = 0;
var certs = new Array(
	"DZE-14E 2011(CHS)||report/DZE-14E_2011.pdf",
	"ER1 2011(CHS)||report/ER1_2011.pdf",
	"ER3(ER2) 2011(CHS)||report/ER3(ER2)_2011.pdf",
	"ER6D 2010(CHS)||report/ER6D_2010.pdf",
	"FT160 2011(CHS)||report/FT160_2011.pdf",
	"FJ125 2010(CHS)||report/FJ125_2010.pdf",
	"FJ160 2010(CHS)||report/FJ160_2010.pdf",
	"FYJ180 2010(CHS)||report/FYJ180_2010.pdf",
	"FYJ200 2010(CHS)||report/FYJ200_2010.pdf",
	"FYJ245 2010(CHS)||report/FYJ245_2010.pdf",
	"FZD10 2011(CHS)||report/FZD10_2011.pdf",
	"FZD12 2011(CHS)||report/FZD12_2011.pdf",
	"GTN1 2011(CHS)||report/GTN1_2011.pdf",
	"GTN2 2011(CHS)||report/GTN2_2011.pdf",
	"GTN3 2010(CHS)||report/gtn3_2010.pdf",
	"GTS 2010(CHS)||report/gts_2010.pdf",
	"GTW2 2011(CHS)||report/GTW2_2011.pdf",
	"GTW3 2011(CHS)||report/GTW3_2011.pdf",
	"GTW5 2011(CHS)||report/GTW5_2011.pdf",
	"GTW6 2011(CHS)||report/GTW6_2011.pdf",
	"GTW7 2010(CHS)||report/gtw7_2010.pdf",
	"GTW8 2011(CHS)||report/GTW8_2011.pdf",
	"PMG140 2011(CHS)||report/PMG140_2011.pdf",
	"PMG160 A 2011(CHS)||report/PMG160_2011.pdf",
	"PMG160 B 2011(CHS)||report/PMG160_B_2011.pdf",
	"PMG200 2011(CHS)||report/PMG200_2011.pdf",
	"PMG240 2011(CHS)||report/pmg240_2011.pdf",
	"PZ300B CE 2010(CHS)||report/PZ300B_CE_2010.pdf",
	"PZD140 2011(CHS)||report/PZD140_2011.pdf",
	"PZD180 2011(CHS)||report/PZD180_2011.pdf",
	"PZD220 2010(CHS)||report/PZD220_2010.pdf",
	"PZD360 CE 2010(CHS)||report/PZD360_CE_2010",
	"PZD360 2010(CHS)||report/PZD360_2010.pdf",
	"SF110 2010(CHS)||report/SF110_2010.pdf",
	"SFJ135 2010(ENG)||report/sfj135_2010_en.pdf",
	"SPZ1600 2010(CHS)||report/SPZ1600_2010.pdf",
	"SPZ300 2011(CHS)||report/SPZ300_2011.pdf",
	"SPZ800 2011(CHS)||report/SPZ800_2011.pdf",
	"VM 2010(CHS)||report/VM_2010.pdf",
	"YJ110 2011(CHS)||report/YJ110_2011.pdf",
	"YJ140 2010(CHS)||report/YJ140_2010.pdf",
	"YJ180 2010(CHS)||report/YJ180_2010.pdf",
	"YJ200 2011(CHS)||report/yj200_2011.pdf",
	"YJ240B 2010(CHS)||report/YJ240B_2010.pdf",
	"YJ245D 2010(CHS)||report/YJ245D_2010.pdf",
	"YJ320 2010(CHS)||report/YJ320_2010.pdf"
);

var db = new Array();


	if(certs.length > 0){
		for(i = 0; i < certs.length; i++){
			db = certs[i].split("|");
			htm += '<table border="0" cellspacing="0" cellpadding="0" style="margin-top: 6px; margin-botton: 8px;"><tr>';
			htm += '<td width="250" style="border: solid 1px #999999; text-align: center;">';
			if(db[1].length > 0){
					htm += "<a href=\"";
					htm += db[1];
					htm += "\">";
					htm += db[0];
					htm += "</a>";
				}else{
					htm += db[0];
				}
			htm += '</td><td width="100"><a href="javascript:getPDF(\'';
			htm += db[2];
			htm += '\');"><img src="../images/pdf_down_file_eng.gif" alt="Download"  border="0" /></a></td>';
			htm += '</tr></table>';
			}			
		}
	document.write(htm);
}
