<!--
var date2 = new Date()
var year  = date2.getFullYear()
var showadsfactor, preview_check, CFName;
var domain_pf, h_domain, c_domain=(h_domain?h_domain:document.domain);
//var sdomain_n=document.domain.replace(/^(www.|)+(.*)$/,"$2");
var sdomain_n=c_domain.replace(/^([^\.]+)\.+(.*)$/,"$2");
var domain_pf="http://www."+sdomain_n;
var img_domain="http://img."+sdomain_n;
var img2_domain="http://img2."+sdomain_n;

if (!preview_check){
	showadsfactor=true;
	CFName = top.location.href;
}

document.write('<table width="778" border="0" cellspacing="0" cellpadding="0" class="footertext" name="footerTBL" id="footerTBL">');
document.write('  <tr>');
document.write('    <td><img src="'+domain_pf+'/image/shim.gif" width="10" height="10"></td>');
document.write('  <tr>');
document.write('    <td>');
var frontpage;
if (frontpage == 1) {
	document.write('    <div align="center"><img src="'+domain_pf+'/image/new_red_line.gif" width="777" height="13"></div>');
}
document.write('      <div align="center">');
document.write('        <a href="http://news.'+sdomain_n+'/dailynews/index.asp">新聞</a>│');
document.write('        <a href="http://fin.'+sdomain_n+'/finance/index.asp">財經</a>│');
document.write('        <a href="'+domain_pf+'/ent/">娛樂</a>│');
document.write('        <a href="'+domain_pf+'/blog/index.asp">Blog</a>│');
document.write('        <a href="'+domain_pf+'/album/">相簿</a>│');
document.write('        <a href="'+domain_pf+'/dining/">飲食</a>│');
document.write('        <a href="'+domain_pf+'/shop/">旺舖</a>│');
document.write('        <a href="http://travel.'+sdomain_n+'/travel/index.asp">旅遊</a>│');
document.write('        <a href="'+domain_pf+'/pet/">寵物</a>│');
document.write('        <a href="'+domain_pf+'/shopping/">潮流時尚</a>│');
document.write('        <a href="'+domain_pf+'/digital/">數碼</a>│');
document.write('        <a href="'+domain_pf+'/living/">健康生活</a>│');
document.write('        <a href="'+domain_pf+'/beauty/">美容</a>│');
document.write('        <a href="'+domain_pf+'/home/">家居</a>│');
document.write('        <a href="'+domain_pf+'/car/">汽車</a>│');
document.write('        <a href="'+domain_pf+'/fortune/">星相</a>│');
document.write('        <a href="'+domain_pf+'/arts/">藝術</a>');
document.write(' <br>        Copyright '+year+' hkheadline.com. all rights reserved. <br>');
document.write('        General Enquires, contact us at <a href="mailto:web_info@hkheadline.com">web_info@hkheadline.com</a> <br>');

if (CFName.indexOf('/shop/') == -1)
{
  document.write('        <a href="http://paper.hkheadline.com/html/callad.html" target="_blank">日報廣告查詢</a> : 31813666　 <a href="'+domain_pf+'/adv_index.html" target="_blank">網上廣告查詢</a> : 2798 2708　<br>');
}

document.write('        <a href="'+domain_pf+'/privacy.html" target="_blank">私隱政策聲明</a> │ <a href="'+domain_pf+'/terms.html" target="_blank">使用條款</a> │ <a href="'+domain_pf+'/copyright.html" target="_blank">版權告示</a>');
document.write('<img src="'+img_domain+'/headline/image/hk_footer_logo.gif" border="0" usemap="#Map_footer">');
document.write('<map name="Map_footer">');
document.write('  <area shape="rect" coords="18,11,80,40" href="http://www.singtaonewscorp.com/" target="_blank">');
document.write('  <area shape="rect" coords="100,9,174,41" href="http://www.singtao.com/" target="_blank">');
document.write('  <area shape="rect" coords="195,11,261,41" href="http://www.thestandard.com.hk/" target="_blank">');
document.write('  <area shape="rect" coords="286,13,338,40" href="http://www.pcmarket.com.hk/" target="_blank">');
document.write('  <area shape="rect" coords="354,12,432,42" href="http://www.cazbuyer.com/" target="_blank">');
document.write('  <area shape="rect" coords="446,8,520,43" href="http://www.easttouch.com.hk/" target="_blank">');
document.write('  <area shape="rect" coords="537,9,641,43" href="http://www.eastweek.com.hk/" target="_blank">');
document.write('  <area shape="rect" coords="653,9,735,42" href="http://www.singtaobooks.com/" target="_blank">');
document.write('</map>');

document.write('        </div>');
document.write('    </td>');
document.write('  </tr>');
document.write('  <tr><td>&nbsp;</td></tr>');
document.write('  <tr><td>&nbsp;</td></tr>');
document.write('</table>');

// special right promo
document.write ("<" + "script language='JavaScript' type='text/javascript' src='" +img2_domain+ "/headline/js/right_promo.js?t=1'><" + "/script>");

// adsfactor
if (showadsfactor){
  //CFName is need;
  document.write ("<" + "script language='JavaScript' type='text/javascript' src='" +img_domain+ "/promo/js/banner_adsfactor_video.js?t=1'><" + "/script>");
}

// check user browser info
document.write('<'+'script src="http://img2.hkheadline.com/headline/js/c_info.js"></script'+'>');
//-->
