﻿document.writeln('');
var zmsBannerGroups = [];
document.writeln('<link href="/filemanager/template/tc/css/index_style.css" rel="stylesheet" type="text/css" media="screen" />');
document.writeln('<link href="/filemanager/template/tc/css/index_style_print.css" rel="stylesheet" type="text/css" media="print" />');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/jquery-1.4.2.min.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/jcombox-1.0b.packed.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/jquery.easing.1.3.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/jScrollPane.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/jquery.mousewheel.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/Article/tc/Article.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/TrainingCourses/tc/courses.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/common.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/scroller.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/generate_menu.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/jq_control.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/iepngfix_tilebg.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript" src="/filemanager/template/common/js/swfobject.js"></scr'+'ipt>');
document.writeln('<scr'+'ipt type="text/javascript">');
document.writeln('<!--');
document.writeln('var zmsBannerGroups = [["/filemanager/banner/tc/left_banner_homepage.xml", "/filemanager/banner/tc/right_banner_homepage.xml"]];');
document.writeln('//-->');
document.writeln('</scr'+'ipt>');
function ShowHeader(){
document.writeln('<div>');
document.writeln('<script type=\"text/javascript\">// <![CDATA[');
document.writeln('document.writeln(\'<div id=\"sizecontrol\" class=\"\'+currFontSize+\'_size\">\');');
document.writeln('// ]]></script>');
document.writeln('<div id=\"wrapper\">');
document.writeln('<div id=\"wrapper_inner\">');
document.writeln('<div id=\"top_zone\">');
document.writeln('<div id=\"top_zone_inner\">');
document.writeln('<div id=\"top_zone_inner_top\">');
document.writeln('<div id=\"top_zone_inner_top_left\"><a href=\"javascript:\"><img alt=\"\" border=\"0\" class=\"logo_jccpa\" src=\"/filemanager/template/tc/images/logo_jccpa.jpg\" /></a>&nbsp;</div>');
document.writeln('<div id=\"top_zone_inner_top_right\"><a href=\"/tc/service/memory_hotline/index.php\"><img alt=\"\" class=\"left\" height=\"33\" src=\"/filemanager/template/tc/images/img_hotline.jpg\" style=\"border: 0px;\" width=\"249\" /></a>');
document.writeln('<ul class=\"size_nav\">');
document.writeln('<script type=\"text/javascript\">// <![CDATA[');
document.writeln('document.writeln(\'<li class=\"small\"><a href=\"javascript:changeFontSize(1);\" mce_href=\"javascript:changeFontSize(1);\" \'+((currFontSize==\"small\")?\' class=\"selected\"\':\'\')+\'></a></li>\');');
document.writeln('document.writeln(\'<li class=\"normal\"><a href=\"javascript:changeFontSize(2);\" mce_href=\"javascript:changeFontSize(2);\" \'+((currFontSize==\"normal\")?\' class=\"selected\"\':\'\')+\'></a></li>\');');
document.writeln('document.writeln(\'<li class=\"large\"><a href=\"javascript:changeFontSize(3);\" mce_href=\"javascript:changeFontSize(3);\" \'+((currFontSize==\"large\")?\' class=\"selected\"\':\'\')+\'></a></li>\');');
document.writeln('// ]]></script>');
document.writeln('</ul>');
document.writeln('<ul class=\"lang_nav\">');
document.writeln('<li><a href=\"javascript:SwitchLang(1);\">ENG</a></li>');
document.writeln('<li>|</li>');
document.writeln('<li><a>繁體</a></li>');
document.writeln('<li>|</li>');
document.writeln('<li><a href=\"javascript:SwitchLang(3);\">简体</a></li>');
document.writeln('</ul>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('<div id=\"top_zone_inner_bottom\">');
document.writeln('<div id=\"top_zone_inner_bottom_left\"><img alt=\"\" class=\"png\" src=\"/filemanager/template/common/images/menu_l.png\" /></div>');
document.writeln('<div id=\"top_zone_inner_bottom_middle\">');
document.writeln('<script type=\"text/javascript\">');
document.writeln('<!--');
document.writeln('if (\'function\' == typeof generateMenu){');
document.writeln('generateMenu(rootMenu);');
document.writeln('}');
document.writeln('//-->');
document.writeln('</script>');
document.writeln('');
document.writeln('</div>');
document.writeln('<div id=\"top_zone_inner_bottom_right\"><img alt=\"\" class=\"png\" src=\"/filemanager/template/common/images/menu_r.png\" /></div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('<div id=\"middle_zone_outer\">');
document.writeln('<div id=\"flash1\">');
document.writeln('<p class=\"flash_alert_msg\">Please use the latest version of Flash player to view the web page. <br /><br />It can be downloaded at <a href=\"http://www.adobe.com/products/flashplayer\" target=\"blank\">http://www.adobe.com/products/flashplayer</a>.</p>');
document.writeln('</div>');
document.writeln('<script type=\"text/javascript\">// <![CDATA[');
document.writeln('var fo = new FlashObject(\'/filemanager_zms/template/tc/images/main01.swf?xmlFileNameLeft=\'+zmsBannerGroups[0][0]+\'&xmlFileNameRight=\'+zmsBannerGroups[0][1]+\'\', \'movie1\', \'100%\', \'332\', \'9\', \'#FFFFFF\');');
document.writeln('fo.addParam(\"wmode\", \"transparent\");');
document.writeln('fo.addParam(\"allowscriptaccess\", \"sameDomain\");');
document.writeln('fo.addParam(\"bgcolor\", \"#ffffff\");');
document.writeln('fo.write(\'flash1\');');
document.writeln('// ]]></script>');
document.writeln('<div id=\"middle_zone\">');
document.writeln('<div id=\"middle_zone_left\">');
document.writeln('<div id=\"middle_zone_left_top\">');
document.writeln('<ul>');
document.writeln('<li><img alt=\"\" border=\"0\" src=\"/filemanager/template/tc/images/news_l.jpg\" /></li>');
document.writeln('<li><a class=\"btn_latestnews\" href=\"javascript:switchTab(\'0\');\"></a></li>');
document.writeln('<li><a class=\"btn_newcourses\" href=\"javascript:switchTab(\'1\');\"></a></li>');
document.writeln('<li><img alt=\"\" border=\"0\" src=\"/filemanager/template/tc/images/news_r.jpg\" /></li>');
document.writeln('</ul>');
document.writeln('</div>');
document.writeln('<div id=\"middle_zone_left_bottom_outer\">');
document.writeln('<div id=\"middle_zone_left_bottom\">');
document.writeln('<div id=\"container_outer\" style=\"display:block;\">');
document.writeln('<div id=\"container\" class=\"JsScroller_content0 scroller0\">&nbsp;</div>');
document.writeln('</div>');
document.writeln('<script type=\"text/javascript\">// <![CDATA[');
document.writeln('generateLatestNews();');
document.writeln('// ]]></script>');
document.writeln('<div id=\"container2_outer\" class=\"ui_tabs_hide\" style=\"display:block;\">');
document.writeln('<div id=\"container2\" class=\"JsScroller_content1 scroller1\">&nbsp;</div>');
document.writeln('</div>');
document.writeln('<script type=\"text/javascript\">// <![CDATA[');
document.writeln('generateNewCourses();');
document.writeln('// ]]></script>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('<div id=\"middle_zone_right\">');
document.writeln('<div id=\"tit_quicklink1\">');
document.writeln('<div class=\"tit_quicklink_heading\">');
document.writeln('<div class=\"tit_quicklink_heading_left\"><img alt=\"\" border=\"0\" src=\"/filemanager/template/common/images/tit_quicklink01.jpg\" /></div>');
document.writeln('<div class=\"tit_quicklink_heading_right\">懷疑患上腦退化症？</div>');
document.writeln('</div>');
document.writeln('<div class=\"tit_quicklink_content_outer\">');
document.writeln('<div class=\"tit_quicklink_content scroller2\">&nbsp;</div>');
document.writeln('<script type=\"text/javascript\">// <![CDATA[');
document.writeln('generateBlocks(0);');
document.writeln('// ]]></script>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('<div id=\"tit_quicklink2\">');
document.writeln('<div class=\"tit_quicklink_heading\">');
document.writeln('<div class=\"tit_quicklink_heading_left\"><img alt=\"\" border=\"0\" src=\"/filemanager/template/common/images/tit_quicklink02.jpg\" /></div>');
document.writeln('<div class=\"tit_quicklink_heading_right\">家屬照顧者</div>');
document.writeln('</div>');
document.writeln('<div class=\"tit_quicklink_content_outer\">');
document.writeln('<div class=\"tit_quicklink_content scroller3\">&nbsp;</div>');
document.writeln('<script type=\"text/javascript\">// <![CDATA[');
document.writeln('generateBlocks(1);');
document.writeln('// ]]></script>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('<div id=\"tit_quicklink3\">');
document.writeln('<div class=\"tit_quicklink_heading\">');
document.writeln('<div class=\"tit_quicklink_heading_left\"><img alt=\"\" border=\"0\" src=\"/filemanager/template/common/images/tit_quicklink03.jpg\" /></div>');
document.writeln('<div class=\"tit_quicklink_heading_right\">業界資訊</div>');
document.writeln('</div>');
document.writeln('<div class=\"tit_quicklink_content_outer\">');
document.writeln('<div class=\"tit_quicklink_content scroller4\">&nbsp;</div>');
document.writeln('<script type=\"text/javascript\">// <![CDATA[');
document.writeln('generateBlocks(2);');
document.writeln('// ]]></script>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('<div id=\"footer_zone\">');
document.writeln('<div id=\"footer_zone_inner_outer\">');
document.writeln('<div id=\"footer_zone_inner\">');
document.writeln('<div id=\"footer_zone_inner_left\"><a href=\"http://www.youtube.com/user/JCCPAHK\" target=\"_blank\"><img alt=\"\" border=\"0\" class=\"logo_youtube\" src=\"/filemanager/template/tc/images/logo_youtube.gif\" /></a> <img alt=\"\" border=\"0\" class=\"footer_logo_border\" src=\"/filemanager/template/common/images/footer_logo_border.gif\" /> <a href=\"http://www.facebook.com/home.php#!/pages/Jockey-Club-Centre-for-Positive-AgeingDementia-Care-Centre-sai-ma-hui-qi-zhi-yuan-nao-tui-hua-zheng-fu-wu/107067256035702\" target=\"_blank\"><img alt=\"\" border=\"0\" class=\"logo_fb\" src=\"/filemanager/template/tc/images/logo_fb.gif\" /></a> <img alt=\"\" border=\"0\" class=\"footer_logo_border\" src=\"/filemanager/template/common/images/footer_logo_border.gif\" /> <a href=\"/tc/forum/index.php\"><img alt=\"\" border=\"0\" src=\"/filemanager/template/tc/images/logo_forum.gif\" /></a> <img alt=\"\" border=\"0\" class=\"footer_logo_border\" src=\"/filemanager/template/common/images/footer_logo_border.gif\" /></div>');
document.writeln('<div id=\"footer_zone_inner_middle\">');
document.writeln('<div id=\"footer_zone_inner_middle_top\">搜索腦退化症資訊</div>');
document.writeln('<form method=\"get\" action=\"/tc/search/index.php\" name=\"footer_search_frm\">');
document.writeln('<div id=\"footer_zone_inner_middle_middle\"><input name=\"q\" type=\"text\" /> <span class=\"search_btn\"><a href=\"javascript: search(\'footer_search_frm\');\"><img alt=\"\" border=\"0\" class=\"btn_over\" src=\"/filemanager/template/tc/images/btn_search.gif\" /></a></span></div>');
document.writeln('</form>');
document.writeln('<div id=\"footer_zone_inner_middle_bottom\">');
document.writeln('<ul>');
document.writeln('<li><img alt=\"\" border=\"0\" src=\"/filemanager/template/tc/images/img_hot.gif\" /></li>');
document.writeln('<script type=\"text/javascript\">// <![CDATA[');
document.writeln('generateHotSearch();');
document.writeln('// ]]></script>');
document.writeln('</ul>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('<div id=\"footer_zone_inner_right\">');
document.writeln('<div id=\"footer_zone_inner_right_top\">');
document.writeln('<ul>');
document.writeln('<li><a href=\"/tc/about_us/contact/index.php\">聯絡我們</a></li>');
document.writeln('<li>| </li>');
document.writeln('<li><a href=\"/tc/disclaimer/index.php\">免責聲明</a></li>');
document.writeln('<li>| </li>');
document.writeln('<li><a href=\"/tc/privacy_policy/index.php\">私隱政策聲明</a></li>');
document.writeln('<li>| </li>');
document.writeln('<li><a href=\"/tc/sitemap/index.php\">網頁指南</a></li>');
document.writeln('</ul>');
document.writeln('</div>');
document.writeln('<div id=\"footer_zone_inner_right_bottom\">2011賽馬會耆智園。版權所有。</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('</div>');
}

function ShowFooter(){
document.writeln('<scr'+'ipt language="javascript" src="/filemanager/template/common/js/generate_banner.js"></sc'+'ript>');
}

