var faqSectionName = new Array();
var faqSectionFullName = new Array();
var faqTopicName = new Array();
var faqTopicLink = new Array();
var selected = "";
var folder = 100;
var tempHtml;


if (!(path))
{
	var path;
	path = "../../";
}

// =======================================================================================================

faqSectionName = ["ee","er","se","pa"];
faqSectionFullName = ["僱員","僱主","自僱人士","保留成員"];

faqTopicName["ee"] = ["參加計劃及有關資格","供款","投資","終止安排","提取強積金權益"];
faqTopicLink["ee"] = ["faq_ee.jsp?topic=1","faq_ee.jsp?topic=2","faq_ee.jsp?topic=3","faq_ee.jsp?topic=4","faq_ee.jsp?topic=5"];

faqTopicName["er"] = ["僱主的責任","參加計劃及有關資格","供款","終止安排"];
faqTopicLink["er"] = ["faq_er.jsp?topic=1","faq_er.jsp?topic=2","faq_er.jsp?topic=3","faq_er.jsp?topic=4"];

faqTopicName["se"] = ["參加計劃及有關資格","供款","終止安排"];
faqTopicLink["se"] = ["faq_se.jsp?topic=1","faq_se.jsp?topic=2","faq_se.jsp?topic=3"];

faqTopicName["pa"] = ["參加計劃及有關資格","轉職"];
faqTopicLink["pa"] = ["faq_pa.jsp?topic=1","faq_pa.jsp?topic=2"];

// =======================================================================================================

tempHtml = '   &#22914;&#27442;&#23565;&#24375;&#31309;&#37329;&#35336;&#21123;&#21450;&#37504;&#32879;&#20449;&#35351;&#30340;&#26381;&#21209;&#26377;&#26356;&#28145;&#20837;&#30340;&#35469;&#35672;&#65292;&#35531;&#21443;&#38321;&#24120;&#35211;&#21839;&#38988;&#33287;&#26377;&#38364;&#31572;&#26696;&#65292;&#36889;&#20123;&#21839;&#38988;&#22343;&#28858;&#23458;&#25142;&#32147;&#24120;&#25552;&#20986;&#30340;&#26597;&#35426;&#12290; <BR><BR>';
tempHtml += '   <table width="100%"  border="0" cellspacing="0" cellpadding="0">';
tempHtml += '    <tr>';

for (i=0; i<faqSectionName.length; i++){
	if (faqSectionName[i] == faqSection){
		//alert(faqSectionFullName[i]);
		tempHtml += '        <td width="25%" height="20" align="center" bgcolor="#539CC8" class="white01"><strong>'+faqSectionFullName[i]+'</strong></td>';
	} else {
		//alert('"../FQF0'+folder+'/faq_'+faqSectionName[i]+'.htm"');
		tempHtml += '        <td width="25%" height="20" align="center" bgcolor="#95C3DE" class="white01" onMouseOver="javascript:this.bgColor=\'#539CC8\'" onMouseOut="javascript:this.bgColor=\'#95C3DE\'"><strong><a href="../FQF0'+folder+'/faq_'+faqSectionName[i]+'.jsp" class="white01">'+faqSectionFullName[i]+'</a></strong></td>';
	}
	if (i < (faqSectionName.length-1)){
		tempHtml += '        <td><img src="'+path+'images/common/spacer.gif" width="1" height="1"></td>';
	}
	//tempHtml += ' <script language="JavaScript">alert('+ 2 +')</script>';
	folder+=20;
}
//tempHtml += ' <script language="JavaScript">alert('+ 2 +')</script>';
tempHtml += '      </tr>';
tempHtml += '      <tr bgcolor="#3F91C3">';
tempHtml += '        <td colspan="7"><img src="'+path+'images/common/spacer.gif" width="1" height="1"></td>';
tempHtml += '      </tr>';
tempHtml += '      <tr bgcolor="#539CC8" style="padding:8px">';
tempHtml += '        <td colspan="7" style="padding-left:20px"><table width="100%"  border="0" cellspacing="0" cellpadding="0">';
tempHtml += '            <tr>';
tempHtml += '              <td class="white01"><strong>'+faqTopic+'</strong></td>';
tempHtml += '              <td align="right" class="white01">標題: ';
tempHtml += '                <select name="select" class="selectBox02" onChange="javascript:window.location=this.value;">';

for (i=0; i<faqTopicName[faqSection].length; i++){
	if (faqTopicName[faqSection][i] == faqTopic)
		{
			selected = "selected";
		}
	tempHtml += '                  <option value="'+faqTopicLink[faqSection][i]+'" '+selected+'>'+faqTopicName[faqSection][i]+'</option>';
	selected = "";
}
tempHtml += '                    </select></td>';
tempHtml += '            </tr>';
tempHtml += '        </table></td>';
tempHtml += '      </tr>';
tempHtml += '    </table>';


document.write (tempHtml); 

