function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function slideShow(i_id, i_type) {
	var oE = window.open("http://gbcode.hktdc.com/gb/www.hkfilmart.com/slideshow.asp?lang=cn&type=" + i_type + "&tid=" + i_id,"win","width=400,height=385,resizable=no,scrollbars=no,toolbar=no,directories=no,status=no,menubar=no")
	oE.focus();
}
	
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function gotoPage(s_Site, s_Page) {
	var sUrl = "window.loca";
	sUrl += "tion.hre";
	sUrl += "f = 'ht";
	sUrl += "tp:/";
	sUrl += "/" + s_Site + s_Page + "';"
	eval(sUrl);
}

function printTOP(s_Site, S_Page, s_QS){
document.write('<table width=\"780\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">');
document.write('  <tr> ');
document.write('    <td><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">');
document.write('        <tr> ');
document.write('          <td width=\"333\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
document.write('              <tr> ');
document.write('                <td><img alt=\"香港影视娱乐网\" SRC=\"http://www.hkfilmart.com/js/images/common/topmenu_01.jpg\" WIDTH=333 HEIGHT=104 ></td>');
document.write('              </tr>');
document.write('              <tr> ');
document.write('                <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
document.write('                    <tr> ');
document.write('                      <td width=\"111\"><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/\"><IMG SRC=\"http://www.hkfilmart.com/js/images/common/sc/icon_industry_o.jpg\" WIDTH=111 HEIGHT=19 border=\"0\"ALT=\"行业资讯\"></a></td>');
document.write('                      <td width=\"111\"><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/js/filmart/chi/index.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image1241\',\'\',\'images/common/sc/icon_filmart_over.jpg\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/icon_filmart.jpg\" alt=\"Filmart\" name=\"Image1241\" width=\"111\" height=\"19\" border=\"0\" id=\"Image1241\"></a></td>');
document.write('                      <td width=\"111\"><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/js/haf/chi/index.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image1251\',\'\',\'images/common/sc/icon_haf_over.jpg\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/icon_haf.jpg\" alt=\"HAF\" name=\"Image1251\" width=\"111\" height=\"19\" border=\"0\" id=\"Image1251\"></a></td>');
document.write('                    </tr>');
document.write('                  </table></td>');
document.write('              </tr>');
document.write('            </table></td>');
document.write('          <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
document.write('              <tr> ');
document.write('                <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
document.write('                    <tr> ');
document.write('                      <td><IMG SRC=\"http://www.hkfilmart.com/js/images/common/hkfilmart_02.jpg\" WIDTH=50 HEIGHT=22 ALT=\"香港影视娱乐网\"></td>');
document.write('                      <td><a href=\"#\" onclick=\"gotoPage(\'' + s_Site + '\',\'' + S_Page + '?' + (s_QS.length > 0 ? s_QS + '&' : '') + 'lang=en\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image66\',\'\',\'images/common/topmenu_eng_over.gif\',1)"><img alt="English" src="images/common/topmenu_eng.gif" name="Image66" width="65" height="22" border="0"></a></td>');
document.write('                      <td><a href=\"#\" onclick=\"gotoPage(\'' + s_Site + '\',\'' + S_Page + '?' + (s_QS.length > 0 ? s_QS + '&' : '') + 'lang=cn\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image67\',\'\',\'images/common/topmenu_big5_over.gif\',1)"><img alt="繁体" src="images/common/topmenu_big5.gif" name="Image67" width="42" height="22" border="0"></a></td>');
  
document.write('                      <td><a href=\"http://gbcode.hktdc.com/gb/gbcode.tdctrade.com/gb/' + s_Site + S_Page + '?' + (s_QS.length > 0 ? s_QS + '&' : '') + 'lang=cn" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image68\',\'\',\'images/common/topmenu_bg_over.gif\',1)"><img src="images/common/topmenu_bg.gif" alt="简体" name="Image68" width="39" height="22" border="0"></a></td>');
document.write('                      <td><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/js/sitemap.asp?lang=cn\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image69\',\'\',\'images/common/sc/topmenu_sitmap_over.gif\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/topmenu_sitmap.gif\" alt=\"网站地图\" name=\"Image69\" width=\"71\" height=\"22\" border=\"0\"></a></td>');
document.write('                      <td><a href=\"http://gbcode.hktdc.com/gb/gbcode.tdctrade.com/gb/www.tdctrade.com/abouttdc/chi/index.htm\" target=\"_blank\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image70\',\'\',\'images/common/sc/topmenu_abouttdc_over.gif\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/topmenu_abouttdc.gif\" alt=\"关于贸发局\" name=\"Image70\" width=\"82\" height=\"22\" border=\"0\"></a></td>');
document.write('                      <td><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/js/contactus.asp?lang=cn\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image71\',\'\',\'images/common/sc/topmenu_contactus_over.gif\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/topmenu_contactus.gif\" alt=\"联络我们\" name=\"Image71\" width=\"98\" height=\"22\" border=\"0\"></a></td>');
document.write('                    </tr>');
document.write('                  </table></td>');
document.write('              </tr>');
document.write('              <tr> ');
document.write('              <td><img alt=\"hkfilmart.com\" src=\"http://www.hkfilmart.com/js/images/main_sc2008.jpg\" width=\"447\" height=\"101\" border=\"0\"></td>');
document.write('            </tr> ');
document.write('            </table></td> ');
document.write('        </tr>');
document.write('      </table></td>');
document.write('  </tr>');
document.write('  <tr> ');
document.write('    <td><table width=\"780\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
document.write('        <tr> ');
document.write('          <td><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/js/news.asp?lang=cn\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image59\',\'\',\'images/common/sc/topmenu01_over.gif\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/topmenu01.gif\" alt=\"行业新闻\" name=\"Image59\" width=\"102\" height=\"20\" border=\"0\"></a></td>');
document.write('          <td><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/js/films.asp?lang=cn\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image60\',\'\',\'images/common/sc/topmenu02_over.gif\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/topmenu02.gif\" alt=\"香港电影\" name=\"Image60\" width=\"102\" height=\"20\" border=\"0\"></a></td>');
document.write('          <td><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/js/de.asp?lang=cn\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image61\',\'\',\'images/common/sc/topmenu03_over.gif\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/topmenu03.gif\" alt=\"数码娱乐\" name=\"Image61\" width=\"102\" height=\"20\" border=\"0\"></a></td>');
document.write('          <td><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/js/resources.asp?lang=cn\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image62\',\'\',\'images/common/sc/topmenu04_over.gif\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/topmenu04.gif\" alt=\"实用资源\" name=\"Image62\" width=\"102\" height=\"20\" border=\"0\"></a></td>');
document.write('          <td><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/js/onlinescreening.asp?sortby=genre&id=NEW&lang=cn\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image63\',\'\',\'images/common/sc/topmenu05_over.gif\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/topmenu05.gif\" alt=\"网上试映室\" name=\"Image63\" width=\"120\" height=\"20\" border=\"0\"></a></td>');
/*
document.write('          <td><a href=\"http://gbcode.tdctrade.com/gb/bidsnoffers.tdctrade.com/search/result_lst.jsp?language=2&lvl1=&lvl2=&pos_typ=&lvl0=J05&headline_txt=&desc_txt=&pos_lan=&dat_fr=&dat_to=&com_txt=&loc=&est_yr=&stf_fr=&stf_to=&first_id=129475452\" target=\"_blank\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image64\',\'\',\'images/common/sc/topmenu06_over.gif\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/topmenu06.gif\" alt=\"商机站\" name=\"Image64\" width=\"86\" height=\"20\" border=\"0\"></a></td>');
*/
document.write('          <td><a href=\"http://gbcode.hktdc.com/gb/www.hkfilmart.com/js/links.asp?lang=cn\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image65\',\'\',\'images/common/sc/topmenu07_over.gif\',1)\"><img src=\"http://www.hkfilmart.com/js/images/common/sc/topmenu07.gif\" alt=\"相关网址\" name=\"Image65\" width=\"103\" height=\"20\" border=\"0\"></a></td>');
document.write('          <td><IMG SRC=\"http://www.hkfilmart.com/js/images/common/sc/topmenu08.gif\" WIDTH=63 HEIGHT=20 ALT=\"\"></td>');

document.write('		  <td bgcolor=\"#000000\"><img src=\"http://www.hkfilmart.com/js/images/common/spacer.gif\" width=\"86\" height=\"20\"></td>');

document.write('        </tr>');
document.write('      </table></td>');
document.write('  </tr>');
document.write('</table>');
}



function printFOOT(){
document.write('<footer-start>');
document.write('<script src="http://gbcode.hktdc.com/gb/www.tdctrade.com/footer/footer_c.js" type="text/javascript"> </script>');
document.write('<footer-end>');
/*
document.write('<p><map name="FPMap0">');
document.write('<area href="http://gbcode.hktdc.com/gb/gbcode.tdctrade.com/gb/my.tdctrade.com/tdctrade_c.asp" target="_blank" coords="19, 72, 78, 86" shape="rect">');
document.write('<area href="http://gbcode.hktdc.com/gb/gbcode.tdctrade.com/gb/www.tdctrade.com/abouttdc/chi/index.htm" target="_blank" shape="rect" coords="100, 72, 143, 86">');
document.write('<area href="http://gbcode.hktdc.com/gb/gbcode.tdctrade.com/gb/www.tdctrade.com/feedback/index_c.htm" shape="rect" coords="164, 72, 224, 86">');
document.write('<area href=\"http://gbcode.hktdc.com/gb/gbcode.tdctrade.com/gb/www.tdctrade.com/about/offices_c.htm\" target=\"_blank\" shape=\"rect\" coords=\"242, 72, 301, 86\">');
document.write('<area href=\"http://gbcode.hktdc.com/gb/gbcode.tdctrade.com/gb/www.tdctrade.com/terms/index_c.htm\" target=\"_blank\" shape=\"rect\" coords=\"320, 72, 373, 86\">');
document.write('<area href=\"http://gbcode.hktdc.com/gb/gbcode.tdctrade.com/gb/www.tdctrade.com/privacy/index_c.htm\" target=\"_blank\" shape=\"rect\" coords=\"381, 72, 459, 86\">');
document.write('<area href=\"http://gbcode.hktdc.com/gb/gbcode.tdctrade.com/gb/www.tdctrade.com/sitemap/chi/index_c.htm\" target=\"_blank\" shape=\"rect\" coords=\"475, 73, 523, 86\"></map><img border=\"0\" src=\"http://www.hkfilmart.com/js/images/common/sc/footer.gif\" usemap=\"#FPMap0\" width=\"780\" height=\"128\"></p>');
*/
}