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=en&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="HKFilmart" 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=en"><img alt="Industry" SRC="images/common/en/icon_industry_o.jpg" WIDTH=111 HEIGHT=19 border="0"></td>');
	document.write('			          <td width="111"><a href="/filmart/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image1241\',\'\',\'images/common/en/icon_filmart_over.jpg\',1)"><img alt="Filmart" src="images/common/en/icon_filmart.jpg" name="Image1241" width="111" height="19" border="0" id="Image1241"></a></td>');
	document.write('			          <td width="111"><a href="/haf/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image1251\',\'\',\'images/common/en/icon_haf_over.jpg\',1)"><img alt="HAF" src="images/common/en/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 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="ÁcÅé" 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=en" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image69\',\'\',\'images/common/en/topmenu_sitmap_over.gif\',1)"><img alt="Sitemap" src="images/common/en/topmenu_sitmap.gif" name="Image69" width="64" height="22" border="0"></a></td>');
	document.write('			          <td><a href="http://www.tdctrade.com/abouttdc/index.htm" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image70\',\'\',\'images/common/en/topmenu_abouttdc_over.gif\',1)"><img alt="About TDC" src="images/common/en/topmenu_abouttdc.gif" name="Image70" width="85" height="22" border="0"></a></td>');
	document.write('			          <td><a href="contactus.asp?lang=en" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image71\',\'\',\'images/common/en/topmenu_contactus_over.gif\',1)"><img alt="Contact Us" src="images/common/en/topmenu_contactus.gif" name="Image71" width="102" 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_en2008.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=en" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image59\',\'\',\'images/common/en/topmenu01_over.gif\',1)"><img alt="Industry News" src="images/common/en/topmenu01.gif" name="Image59" width="111" height="20" border="0"></a></td>');
	document.write('			<td><a href="films.asp?lang=en" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image60\',\'\',\'images/common/en/topmenu02_over.gif\',1)"><img alt="HK Films" src="images/common/en/topmenu02.gif" name="Image60" width="67" height="20" border="0"></a></td>');
	document.write('			<td><a href="de.asp?lang=en" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image61\',\'\',\'images/common/en/topmenu03_over.gif\',1)"><img alt="Digital Entertainment" src="images/common/en/topmenu03.gif" name="Image61" width="155" height="20" border="0"></a></td>');
	document.write('			<td><a href="resources.asp?lang=en" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image62\',\'\',\'images/common/en/topmenu04_over.gif\',1)"><img alt="Resources" src="images/common/en/topmenu04.gif" name="Image62" width="84" height="20" border="0"></a></td>');
	document.write('			<td><a href="onlinescreening.asp?sortby=genre&id=NEW&lang=en" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image63\',\'\',\'images/common/en/topmenu05_over.gif\',1)"><img alt="Online Screening Room" src="images/common/en/topmenu05.gif" name="Image63" width="163" height="20" border="0"></a></td>');
/*
document.write('			<td><a href="http://bidsnoffers.tdctrade.com/search/result_lst.jsp?language=1&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=134609083" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image64\',\'\',\'images/common/en/topmenu06_over_18.gif\',1)"><img alt="Bids N Offers" src="images/common/en/topmenu06.gif" name="Image64" width="98" height="20" border="0"></a></td>');
*/
	document.write('			<td><a href="links.asp?lang=en" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image65\',\'\',\'images/common/en/topmenu07_over.gif\',1)"><img alt="Useful Links" src="images/common/en/topmenu07.gif" name="Image65" width="102" height="20" border="0"></a></td>');
	
	document.write('			<td bgcolor="#000000"><img src="images/common/spacer.gif" width="98" 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.js" type="text/javascript"> </script>');
document.write('<footer-end>');
/*
document.write('<p><map name="FPMap0">');
document.write('<area href="http://my.tdctrade.com/tdctrade.asp" target="_blank" coords="19, 73, 115, 86" shape="rect">');
document.write('<area href="http://www.tdctrade.com/abouttdc/index.htm" target="_blank" shape="rect" coords="121, 73, 164, 86">');
document.write('<area href="http://www.tdctrade.com/feedback/index.htm" target="_blank" shape="rect" coords="172, 73, 224, 86">');
document.write('<area href="http://www.tdctrade.com/about/offices.htm" target="_blank" shape="rect" coords="230, 73, 301, 86">');
document.write('<area href="http://www.tdctrade.com/terms/index.htm" target="_blank" shape="rect" coords="310, 73, 373, 86">');
document.write('<area href="http://www.tdctrade.com/privacy/index.htm" target="_blank" shape="rect" coords="381, 73, 469, 86">');
document.write('<area href="http://www.tdctrade.com/sitemap/index.htm" target="_blank" shape="rect" coords="475, 73, 523, 86"></map><img alt="Photo" border="0" src="images/common/en/footer.gif" usemap="#FPMap0" width="780" height="128"></p>');
*/
}