function print_bottom() {    document.write("<script>var pub='life';</script>");    document.write("<script>pyear(pub);</script>");}function chgad(item){      parent[0].location=item; }function minwin(link, width, height) {	window.open(link,'popup','location=no,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=yes,width='+width+',height='+height);}function popupwin(link, width, height) {	window.open(link,'popupdetail','location=no,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=yes,width='+width+',height='+height);}function print_bottomLink(){	document.write("<script>var pub='travel';</script>");	document.write("<script>pbmenu(pub);</script>");chgContent();}<!--if (! (RN)) {        var RN = new String (Math.random());        var RNS = RN.substring (2,11); }function banner (page, position){        var height=60;        var sec=page.substring(0,2);         if (position == "x20")  {                width="728";        }        else if ( (position == "Right") || (position == "Right1"))  {                width="90";                height="110";        }        else {                width="468";        }        var _version='11';        var site = 'www.on.cc';        var server = '210.177.167.145';        if (navigator.userAgent.indexOf('Mozilla/3') != -1)        {                _version='10';        }        var oas='http://' + server + '/RealMedia/ads/' ;        var oaspage= site + '/' + page + '/1' + RNS + '@' + position;        if (position == 'BottomLeft')         {         document.write('<a href ="http://on.cc/odnreaders/" target="_blank"><img src="/adv/odnreaders.gif" width=103 height=60 border =0></a>');         }        else if (position == 'Bottom1')         {         document.write('<a href ="http://on.cc/racing/" target="_blank"><img src="/adv/racing.gif" width=103 height=60 border =0></a>');          }        else if (position == 'Bottom2'){        document.write('<a href ="http://orientaldaily.com.hk/" target="_blank"><img src="/adv/odn.gif" width=103 height=60 border =0></a>');         }        else if (position == 'Bottom3')         {        document.write('<a href ="http://the-sun.com.hk" target="_blank"><img src="/adv/sun.gif" width=728 height=90 border =0></a>');        }        else if (position == 'BottomRight')         {        document.write('<a href ="http://on.cc/" target="_blank"><img src="/adv/epaper.gif" width=103 height=60 border =0></a>');          }	       else if (_version < 11)        {     document.write ('<A HREF="' + oas + 'click_nx.ads/' + oaspage + '" TARGET="_Blank" ><IMG SRC="' + oas + 'adstream_nx.ads/' + oaspage + '" BORDER= "0" + WIDTH="' + width + '" HEIGHT="' + height + '" ALT=" "></a>');         }         else        {                document.write ('<SCRIPT LANGUAGE="JavaScript"1.1" SRC="' + oas +  'adstream_jx.ads/'+ oaspage + '" >');                document.write ('\<\!-- --\>');                document.write ('\<\/SCRIPT\>');                document.write ('\<\!-- --\>');                }}function phpBanner (zone){   if (!document.phpAds_used) document.phpAds_used = ',';   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);      document.write ("<" + "script language='JavaScript' type='text/javascript' src='");   document.write ("http://ad1.on.cc/phpAdsNew/adjs.php?n=" + phpAds_random);   document.write ("&amp;what=zone:"+zone);   document.write ("&amp;exclude=" + document.phpAds_used);   if (document.referrer)      document.write ("&amp;referer=" + escape(document.referrer));   document.write ("'><" + "/script>");}//var MM_contentVersion = 8;//var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;////if ( plugin ) {//	var words = navigator.plugins["Shockwave Flash"].description.split(" ");//	for (var i = 0; i < words.length; ++i) {//		if (isNaN(parseInt(words[i])))//			continue;//		var MM_PluginVersion = words[i]; //	}//	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;//} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {//	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag//	document.write('on error resume next \n');//	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');//	document.write('</SCR' + 'IPT\> \n');//}////if (!(MM_FlashCanPlay)) {//	var answer = confirm ("您需要安裝最新版本的 Macromedia Flash Player 才可正常瀏覽此網頁，是否立即進行安裝？");//	if (answer) {//		window.location = "http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Win32&P3_Browser_Version=MSIE";//	} //}function checkField(sender, sender_email, receiver, receiver_email, msg){	var message = "";    if (receiver == ""){        message += "請輸入收件人姓名\n";    }    if (receiver_email == ""){        message += "請輸入收件人電郵\n";    }else if (receiver_email.indexOf("@") < 1 ||        receiver_email.lastIndexOf("@") >= receiver_email.length - 4 ||        receiver_email.lastIndexOf(".") < 1 ||        receiver_email.lastIndexOf(".") >= receiver_email.length - 2 ||        receiver_email.lastIndexOf("@") > receiver_email.lastIndexOf(".") ||        receiver_email.lastIndexOf("@") > receiver_email.indexOf("@")    ){        message += "收件人電郵格式不正確。\n";    }else if (receiver_email.indexOf(" ") > -1){        message += "收件人電郵中不能夠有空白位置，\n    請特別注意開始及末端位置。\n";    }	if (sender == "")		message += "請輸入寄件人姓名\n"	if (sender_email == ""){		message += "請輸入寄件人電郵\n"	}else if (sender_email.indexOf("@") < 1 ||			sender_email.lastIndexOf("@") >= sender_email.length - 4 ||			sender_email.lastIndexOf(".") < 1 ||			sender_email.lastIndexOf(".") >= sender_email.length - 2 ||			sender_email.lastIndexOf("@") > sender_email.lastIndexOf(".") ||			sender_email.lastIndexOf("@") > sender_email.indexOf("@")	){		message += "寄件人電郵格式不正確。\n";	}else if (sender_email.indexOf(" ") > -1){		message += "寄件人電郵中不能夠有空白位置，\n    請特別注意開始及末端位置。\n";	}	if (msg == "")		message += "請輸入留言\n"	if (message != ""){		alert ("未能完成交表程序:\n" +  message);		return false;	}    return true;}function __jInit() {	var __divTop = document.getElementById('jSpareTop');	var __formStr = '';		__divTop.style.position = 'absolute';	__divTop.style.top = '269';	__divTop.style.left = '210';	__divTop.style.zIndex = '2';		__formStr += '<form id="__searchForm" name="__searchForm" method="get" action="/search/result.html">';	__formStr += '<input type="hidden" id="start" name="start" value="1">';	__formStr += '	<table border="0" width="129" border="0" cellpadding="0" cellspacing="0">';	__formStr += '	<tr>';	__formStr += '		<td align="center" valign="middle" width="85" height="23" style="background-image:url(/img/search_textfield.gif)">';	__formStr += '		<input type="text" id="search_query" name="search_query" size="10" maxlength="20" style="border:0; width:75; height:17; font: 12px 新細明體">';	__formStr += '		</td>';	__formStr += '		<td align="left" valign="middle">';	__formStr += '		<input type="image" src="/img/search_btsubmit.gif">';	__formStr += '		</td>';	__formStr += '	</tr>';	__formStr += '	</table>';	__formStr += '</form>';	__divTop.innerHTML = __formStr;}// -->