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("/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 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="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="/default.asp?lang=cn"><img alt="行業資訊" SRC="images/common/cn/icon_industry_o.jpg" WIDTH=111 HEIGHT=19 border="0"></a></td>');
document.write('			                      <td width="111"><a href="/filmart/chi/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image1241\',\'\',\'images/common/cn/icon_filmart_over.jpg\',1)"><img alt="Filmart" src="images/common/cn/icon_filmart.jpg" name="Image1241" width="111" height="19" border="0" id="Image1241"></a></td>');
document.write('			                      <td width="111"><a href="/haf/chi/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image1251\',\'\',\'images/common/cn/icon_haf_over.jpg\',1)"><img alt="HAF" src="images/common/cn/icon_haf.jpg" 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 alt="香港影視娛樂網" SRC="images/common/hkfilmart_02.jpg" WIDTH=50 HEIGHT=22"></td>');
document.write('			                      <td><a href="' + 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="' + 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.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 alt="簡體" src="images/common/topmenu_bg.gif" name="Image68" width="39" height="22" border="0"></a></td>');
document.write('			                      <td><a href="sitemap.asp?lang=cn" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image69\',\'\',\'images/common/cn/topmenu_sitmap_over.gif\',1)"><img alt="網站地圖" src="images/common/cn/topmenu_sitmap.gif" name="Image69" width="71" height="22" border="0"></a></td>');
document.write('			                      <td><a href="http://www.tdctrade.com/abouttdc/chi/index.htm" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image70\',\'\',\'images/common/cn/topmenu_abouttdc_over.gif\',1)"><img alt="關於貿發局" src="images/common/cn/topmenu_abouttdc.gif" name="Image70" width="82" height="22" border="0"></a></td>');
document.write('			                      <td><a href="contactus.asp?lang=cn" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image71\',\'\',\'images/common/cn/topmenu_contactus_over.gif\',1)"><img alt="聯絡我們" src="images/common/cn/topmenu_contactus.gif" 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="images/main_cn2008.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="news.asp?lang=cn" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image59\',\'\',\'images/common/cn/topmenu01_over.gif\',1)"><img alt="行業新聞" src="images/common/cn/topmenu01.gif" name="Image59" width="102" height="20" border="0"></a></td>');
document.write('			          <td><a href="films.asp?lang=cn" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image60\',\'\',\'images/common/cn/topmenu02_over.gif\',1)"><img alt="香港電影" src="images/common/cn/topmenu02.gif" name="Image60" width="102" height="20" border="0"></a></td>');
document.write('			          <td><a href="de.asp?lang=cn" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image61\',\'\',\'images/common/cn/topmenu03_over.gif\',1)"><img alt="數碼娛樂" src="images/common/cn/topmenu03.gif" name="Image61" width="102" height="20" border="0"></a></td>');
document.write('			          <td><a href="resources.asp?lang=cn" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image62\',\'\',\'images/common/cn/topmenu04_over.gif\',1)"><img alt="實用資源" src="images/common/cn/topmenu04.gif" name="Image62" width="102" height="20" border="0"></a></td>');
document.write('			          <td><a href="onlinescreening.asp?sortby=genre&id=NEW&lang=cn" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image63\',\'\',\'images/common/cn/topmenu05_over.gif\',1)"><img alt="網上試映室" src="images/common/cn/topmenu05.gif" name="Image63" width="120" height="20" border="0"></a></td>');
/*
document.write('			          <td><a href="http://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/cn/topmenu06_over.gif\',1)"><img alt="商機站" src="images/common/cn/topmenu06.gif" name="Image64" width="86" height="20" border="0"></a></td>');
*/
document.write('			          <td><a href="links.asp?lang=cn" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image65\',\'\',\'images/common/cn/topmenu07_over.gif\',1)"><img alt="相關網址" src="images/common/cn/topmenu07.gif" name="Image65" width="103" height="20" border="0"></a></td>');
document.write('			          <td><img SRC="images/common/cn/topmenu_08.gif" WIDTH=63 HEIGHT=20></td>');

document.write('			<td bgcolor="#000000"><img src="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://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://my.tdctrade.com/tdctrade_c.asp" target="_blank" coords="19, 72, 78, 86" shape="rect">');
document.write('<area href="http://www.tdctrade.com/abouttdc/chi/index.htm" target="_blank" shape="rect" coords="100, 72, 143, 86">');
document.write('<area href="http://www.tdctrade.com/feedback/index_c.htm" target="_blank" shape="rect" coords="164, 72, 224, 86">');
document.write('<area href="http://www.tdctrade.com/about/offices_c.htm" target="_blank" shape="rect" coords="242, 72, 301, 86">');
document.write('<area href="http://www.tdctrade.com/terms/index_c.htm" target="_blank" shape="rect" coords="320, 72, 373, 86">');
document.write('<area href="http://www.tdctrade.com/privacy/index_c.htm" target="_blank" shape="rect" coords="381, 72, 459, 86">');
document.write('<area href="http://www.tdctrade.com/sitemap/chi/index_c.htm" target="_blank" shape="rect" coords="475, 73, 523, 86"></map><img alt="圖片" border="0" src="images/common/cn/footer.gif" usemap="#FPMap0" width="780" height="128"></p>');
*/
}