var imageDomain = "http://cs.netvigator.com/";
var styleDomain = "http://cs.netvigator.com/";

function setChiFooter(font_color,bg_color,logo_color,style,faq_link,tnc_link)
{
	var footer_str = '';
	footer_str += '<link rel="stylesheet" href="'+styleDomain+'/css/footer.css" type="text/css">';
	footer_str += '<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="'+bg_color+'">';
	footer_str += '<tr>';
	footer_str += '<td width="667"><img src="'+imageDomain+'/images/common/spacer.gif" width="10" height="1">		  <SPAN class=footer><A href="http://www.netvigator.com" target=_top class="footer_link_'+style+'">回主頁</A><FONT color='+font_color+'> | </FONT>';
	footer_str += '<A href="http://www.netvigator.com/disclaimer.html" target=_blank class="footer_link_'+style+'">版權及服務條款</A><FONT color='+font_color+'> | </FONT>';
	footer_str += '<A href="http://www.pccw.com/legal/privacy_c.html" target=_blank class="footer_link_'+style+'">私隱政策</A><FONT color='+font_color+'> | </FONT>';
	footer_str += '<A href="mailto:webmast@netvigator.com" class="footer_link_'+style+'">網站查詢</A><FONT color='+font_color+'> | </FONT>';
	if (faq_link != null && faq_link != "")
	{
		footer_str += '<A href="'+faq_link+'" class="footer_link_'+style+'">常見問題</A><FONT color='+font_color+'> | </FONT>';
	}
	if (tnc_link != null && tnc_link != "")
	{
		footer_str += '<A href="'+tnc_link+'" class="footer_link_'+style+'">條款及條件</A><FONT color='+font_color+'> | </FONT>';
	}
	footer_str += '<A href="#top" class="footer_link_'+style+'">回頁首</A><br>';
	footer_str += '</SPAN><span class="table_heading_2"><img src="'+imageDomain+'/images/common/spacer.gif" width="10" height="1"></span><span class="footer_link_'+style+'">&copy; Hong Kong Telecommunications (HKT) Limited 1996 - 2009。著作權所有 </span></td>';
	footer_str += '<td width="113"><img name="pccw_logo" src="'+imageDomain+'/images/footer/pccw_logo_'+logo_color+'.gif" width="113" height="45" border="0" alt=""></td>';
	footer_str += '<td>&nbsp;</td>';
	footer_str += '</tr>';
	footer_str += '</table>';
	document.write(footer_str);
}

function setEngFooter(font_color,bg_color,logo_color,style,faq_link,tnc_link)
{
	var footer_str = '';
	footer_str += '<link rel="stylesheet" href="'+styleDomain+'/css/footer.css" type="text/css">';
	footer_str += '<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="'+bg_color+'">';
	footer_str += '<tr>';
	footer_str += '<td width="667"><img src="'+imageDomain+'/images/common/spacer.gif" width="10" height="1">		  <SPAN class=footer><A href="http://www.netvigator.com/netvigator2003/index_eng.htm" target=_top class="footer_link_'+style+'">Home</A><FONT color='+font_color+'> | </FONT>';
	footer_str += '<A href="http://www.netvigator.com/disclaimer.html" target=_blank class="footer_link_'+style+'">Disclaimer and Copyrights</A><FONT color='+font_color+'> | </FONT>';
	footer_str += '<A href="http://www.pccw.com/legal/privacy.html" target=_blank class="footer_link_'+style+'">Privacy Policy</A><FONT color='+font_color+'> | </FONT>';
	footer_str += '<A href="mailto:webmast@netvigator.com" class="footer_link_'+style+'">Webmaster</A><FONT color='+font_color+'> | </FONT>';
	if (faq_link != null && faq_link != "")
	{
		footer_str += '<A href="'+faq_link+'" class="footer_link_'+style+'">FAQ</A><FONT color='+font_color+'> | </FONT>';
	}
	if (tnc_link != null && tnc_link != "")
	{
		footer_str += '<A href="'+tnc_link+'" class="footer_link_'+style+'">Terms and Conditions</A><FONT color='+font_color+'> | </FONT>';
	}
	footer_str += '<A href="#top" class="footer_link_'+style+'">Top</A><br>';
	footer_str += '</SPAN><span class="table_heading_2"><img src="'+imageDomain+'/images/common/spacer.gif" width="10" height="1"></span><span class="footer_link_'+style+'">&copy; Hong Kong Telecommunications (HKT) Limited 1996 - 2009. All Rights Reserved.</span></td>';
	footer_str += '<td width="113"><img name="pccw_logo" src="'+imageDomain+'/images/footer/pccw_logo_e_'+logo_color+'.gif" width="113" height="45" border="0" alt=""></td>';
	footer_str += '<td>&nbsp;</td>';
	footer_str += '</tr>';
	footer_str += '</table>';
	document.write(footer_str);
}
