// JavaScript Document
    function validateEmail(elemV) {
        var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
        if (elemV.match(emailExp)) {
            return true;
        } else {
            return false;
        }
    }


    function submit_subscription() {
        if (validateEmail(document.getElementById('txt_subscription').value)) {
            document.forms.frm_subscription.subscription.value = document.getElementById('txt_subscription').value;

			if(document.getElementById('rbSubscriptionLang_tc').checked){
				document.forms.frm_subscription.subscription_lang.value = document.getElementById('rbSubscriptionLang_tc').value;
			}else if(document.getElementById('rbSubscriptionLang_eng').checked){
				document.forms.frm_subscription.subscription_lang.value = document.getElementById('rbSubscriptionLang_eng').value;
			}

            document.forms.frm_subscription.submit();
        } else {
            alert('Please use a correct email address.');
        }
    }

	function event_calendar_popup(){
		window.open('/EventCalendar/EventCalendar_en.aspx','_blank','height=650, menubar=0, resizable=1, width=860','false');
	}

document.writeln("<ul id=\"browser\" class=\"filetree\">");
document.writeln("    <li class=\"closed\" >");
document.writeln("    <span class=\"folder\"><a onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\">About Us</a></span>");
document.writeln("        <ul>");
document.writeln("            <li><a href=\"/en/about-hkcf.html\">Who We Are</a></li>");
document.writeln("            <li><a href=\"/en/about_message.html\">Founder & CEO's Message</a></li>");
document.writeln("            <li><a href=\"/en/about_board.html\">Governance</a></li>");
document.writeln("            <li><a href=\"/en/about_milestones.html\">Milestones</a></li>");
document.writeln("            <li><a href=\"/en/about_report.html\">Annual Report</a></li>");
document.writeln("            <li><a href=\"/scripts/about_us_comment.aspx?hkcflang=E\">Comments</a></li>");
document.writeln("            <li><a href=\"/en/about_glance.html\">Our Work at a Glance</a></li>");
document.writeln("            <li><a href=\"/en/about_careers.html\">Careers</a></li>");
document.writeln("            <li><a href=\"/en/about_contact_us.html\">Contact Us</a></li>");
document.writeln("        </ul>");
document.writeln("    </li>");
document.writeln("    <li class=\"closed\" style=\"margin:-2px 0 0 0;\">");
document.writeln("    <span class=\"folder\"><a onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\">All About Cancer</a></span>");
document.writeln("        <ul>");
document.writeln("            <li><a href=\"/en/cancer.html\">What is Cancer?</a></li>");
document.writeln("            <li class=\"closed\"><a href=\"/en/cancer-statistics.html\">Latest Cancer Statistics</a>");
document.writeln("                <ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                    <li><a href=\"/en/cancer-statistics.html\" class=\"long\"><span>10 Most Common Cancers in Hong Kong</span></a></li>");
document.writeln("                    <li><a href=\"/en/cancer_deaths.html\" class=\"long\"><span>10 Major Causes of Cancer Deaths in Hong Kong</span></a></li>");
document.writeln("                </ul>");
document.writeln("            </li>");
document.writeln("            <li><a href=\"/en/cancer-fact-sheets.html\">Cancer Fact Sheets</a></li>");
document.writeln("            <li><a href=\"/en/cancer-research-booklet.html\">Download Cancer Booklets</a></li>");
document.writeln("            <li><a href=\"/en/cancer_news.html\">Latest Cancer News</a></li>");
document.writeln("            <li class=\"closed\" ><a href=\"/en/cancer_coping.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\" style=\"line-height:3em; background-position:0 0;\">Coping with Side Effects</a>");
document.writeln("                <ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                    <li><a href=\"/en/cancer_coping.html#Chemotherapy\" class=\"long\"><span>Coping with Chemotherapy</span></a></li>");
document.writeln("                    <li style=\"margin:-2px 0 0 0;\"><a href=\"/en/cancer_coping.html#Radiotherapy\" class=\"long\"><span>Coping with<br />Radiotherapy</span></a></li>");
document.writeln("                </ul>");
document.writeln("            </li>");
document.writeln("            <li class=\"closed\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                <a href=\"/en/cancer-tips.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\" style=\"line-height:3em; background-position:0 0;\">Useful Tips For Patients</a>");
document.writeln("                <ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                    <li><a href=\"/en/cancer_patients_hospital.html\">In the Hospital</a></li>");
document.writeln("                    <!--<li><a href=\"/en/cancer_patients_medical.html\">Medical Services</a></li> -->");
document.writeln("                    <li><a href=\"/en/cancer_patients_smart_eating.html\">Smart Eating</a></li>");
document.writeln("                    <li><a href=\"/en/cancer_patients_financial.html\">Financial Concerns</a></li>");
document.writeln("                    <li><a href=\"/en/cancer_patients_resources.html\">Community Resources</a></li>");
document.writeln("                    <li><a href=\"/en/cancer_patients_communicate.html\">How to Communicate</a></li>");
document.writeln("                    <li><a href=\"/en/cancer_patients_8_key_tips.html\">8 Key Tips</a></li>");
document.writeln("                </ul>");
document.writeln("            </li>");
document.writeln("            <li style=\"margin:-4px 0 0 0;\"><a href=\"/en/cancer_cancer_myths.html\">Top 10 Cancer Myths</a></li>");
document.writeln("            <li><a href=\"/en/cancer_links.html\">Useful Links</a></li>");
document.writeln("            <li><a href=\"/en/cancer_glossary.html\">Glossary</a></li>");
document.writeln("        </ul>");
document.writeln("    </li>");
document.writeln("    <li class=\"closed\" style=\"margin:-2px 0 0 0;\">");
document.writeln("    <span class=\"folder\"><a onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\">How We Help</a></span>");
document.writeln("        <ul>");
document.writeln("            <li class=\"closed\" style=\"margin:-2px 0 0 0;\">");
document.writeln("            <a href=\"/en/howwehelp_community_cancerlink.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\" style=\"line-height:3em; background-position:0 0;\">CancerLink</a>");
document.writeln("                <ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                        <li><a href=\"/en/howwehelp_community.html\">CancerLink Locations</a> </li>");
document.writeln("                        <li><a href=\"/en/howwehelp_download.html\">CancerLink Calendar</a> </li>");
document.writeln("                </ul>");
document.writeln("            </li>");
document.writeln("            <li class=\"closed\" style=\"margin:-2px 0 0 0;\">");
document.writeln("            <a href=\"/en/howwehelp_hospital.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\" style=\"line-height:3em; background-position:0 0;\">In the Hospital</a>");
document.writeln("                <ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                    <li><a href=\"/en/howwehelp_hospital_facilities.html\">Improving Facilities</a></li>");
document.writeln("                    <li><a href=\"/en/howwehelp_hospital_environment.html\">Hospital Environment</a></li>");
document.writeln("                    <li><a href=\"/en/howwehelp_hospital_visual.html\">Visual Therapy</a></li>");
document.writeln("                </ul>");
document.writeln("            </li>");
document.writeln("            <li style=\"margin:-4px 0 0 0;\"><a href=\"/en/howwehelp_homecare.html\">Home Care</a></li>");
document.writeln("            <li><a href=\"/en/howwehelp_inchina.html\">In China</a></li>");
document.writeln("        </ul>");
document.writeln("    </li>");
document.writeln("    <li class=\"closed\" style=\"margin:-2px 0 0 0;\">");
document.writeln("    <span class=\"folder\"><a onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\">Preventing Cancer</a></span>");
document.writeln("        <ul>");
document.writeln("            <li class=\"closed\">");
document.writeln("            <a href=\"/en/cancer-prevention-detection.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\" style=\"line-height:3em; background-position:0 0;\">Early Detection</a>");
document.writeln("                <ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                    <li><a href=\"/en/early-cervical-cancer-detection-prevention.html\">Cervical</a></li>");
document.writeln("                    <li><a href=\"/en/early-breast-cancer-detection-prevention.html\">Breast</a></li>");
document.writeln("                    <li><a href=\"/en/early-colorectal-cancer-detection-prevention.html\">Colorectal</a></li>");
document.writeln("                    <li><a href=\"/en/early-postate-cancer-detection-prevention.html\">Prostate</a></li>");
document.writeln("                </ul>");
document.writeln("             </li>");
document.writeln("            <li style=\"margin:-4px 0 0 0;\"><a href=\"/en/cancer-symptoms.html\">Possible Symptoms</a></li>");
document.writeln("            <li class=\"closed\"><a href=\"/en/prevent-cancer-lower-risk.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\" style=\"line-height:3em; background-position:0 0;\">Lower Your Risk</a>");
document.writeln("                <ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                    <li><a href=\"/en/preventing_eatright.html\">Eat Right</a></li>");
document.writeln("                    <li><a href=\"/en/preventing_stopsmoking.html\">Stop Smoking</a></li>");
document.writeln("                    <li><a href=\"/en/preventing_be_sunsmart.html\">Be Sun Smart</a></li>");
document.writeln("                </ul>");
document.writeln("            </li>");
document.writeln("        </ul>");
document.writeln("    </li>                ");
document.writeln("    <li class=\"closed\" style=\"margin:-4px 0 0 0;\"><a href=\"/en/hkcf-campaigns.html\">Education Campaigns</a></li>");
document.writeln("    <li class=\"closed\" style=\"margin:-3px 0 0 0;\"><a href=\"/en/research.html\">Research</a>");
document.writeln("     <ul style=\"margin:-2px 0 0 0;\">");
document.writeln("            <li><a href=\"/en/cancer-research-training.html\">Training and Conferences</a></li>");
document.writeln("     </ul>");
document.writeln("    </li>");
document.writeln("    <li class=\"closed\" style=\"margin:-2px 0 0 0;\">");
document.writeln("    <span class=\"folder\"><a href=\"/en/cancer-donation.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\">Donate</a></span>");
document.writeln("        <ul>");
document.writeln("            <li class=\"closed\"><a href=\"/en/donate_monthly.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\" class=\"longer\" style=\"height:40px; background-position: 0 -31px;\"><span style=\"line-height:12px; padding:8px 0 0 0;\">Monthly Donation<br>(Circle of Friends)</span></a>");
document.writeln("                 <ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                     <li><a href=\"/en/donate_what_receive.html\">What you will receive</a></li>");
document.writeln("                     <li><a href=\"/en/donate_recent_cof.html\">Recent COF gatherings</a></li>");
document.writeln("                     <li><a href=\"/en/donate_recent_cof_photo.html\">COF gathering photos</a></li>");
document.writeln("                     <li><a href=\"/en/donate_important_notes.html\">Important Notes</a></li>");
document.writeln("                     <li><a href=\"/en/donate_update_cof.html\" class=\"long\"><span>Update Donor's Details</span></a></li>");
document.writeln("                 </ul>");
document.writeln("            </li>");

document.writeln("            <li class=\"closed\"><a href=\"/en/donate_street_fundraise.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\" class=\"longer\" style=\"height:40px; background-position: 0 -31px;\"><span style=\"line-height:12px; padding:8px 0 0 0;\">Street Fundraising for our <br>Monthly Giving Programme</span></a></li>");

document.writeln("            <li class=\"closed\"  ><a href=\"/en/donate_oneoff.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\">One-off Donation</a>");
document.writeln("                 <ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                     <li><a href=\"/en/donate_faq.html\" ><span>FAQ for Online Donation</span></a></li>");
document.writeln("                 </ul>");
document.writeln("            </li>");

document.writeln("            <li><a href=\"/en/donate_memory.html\">Donate in Memory</a></li>");
document.writeln("            <li class=\"closed\"><a href=\"/en/donate_leave_a_legacy.html\">Leave a Legacy</a>");
document.writeln("                <ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                    <li><a href=\"/en/donate_leave_a_legacy_type.html\" class=\"long\"><span>What are the different types of legacies </span></a></li>");
document.writeln("				</ul>");
document.writeln("			</li>");
document.writeln("        </ul>");
document.writeln("    </li> ");
document.writeln("    <li class=\"closed\" style=\"margin:-2px 0 0 0;\">");
document.writeln("    <span class=\"folder\"><a onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\">Get Involved</a></span>");
document.writeln("        <ul>");
document.writeln("            <li class=\"closed\"><a href=\"/en/fundraising.html\" onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\">DIY Fundraising Campaign</a>");
document.writeln("                <!--<ul class=\"sub\" style=\"margin:-2px 0 0 0;\">");
document.writeln("                    <li><a href=\"/en/fundraising.html\">Introduction</a></li>");
document.writeln("                    <li><a href=\"/en/diy_how_page.html\">How</a></li>");
document.writeln("                    <li><a href=\"/en/diy_frequently_page.html\" class=\"long\"><span>Frequently Asked Questions</span></a></li>");
document.writeln("                    <li><a href=\"/en/diy_sample_page.html\">Sample Page</a></li>");
document.writeln("                    <li><a href=\"/en/diy_fundraising_guideline.html\" class=\"long\"><span>Create My Fundraising Page</span></a></li>");
document.writeln("                    <li><a href=\"/en/diy_fundrasing_page.html\" class=\"long\"><span>Current Fundraising Pages</span></a></li>");
document.writeln("                </ul>-->            ");
document.writeln("            </li>");
document.writeln("            <li><a href=\"/en/get_involved_partnerships.html\">Corporate Support</a></li>");
document.writeln("            <li><a href=\"/en/event.html\">Events</a></li>");
document.writeln("            <li><a href=\"/en/get_involved_volunteer.html\">Volunteer</a></li>");
document.writeln("        </ul>");
document.writeln("    </li> ");
document.writeln("    <li class=\"closed\" style=\"margin:-2px 0 0 0;\">");
document.writeln("    <span class=\"folder\"><a onMouseOver=\"this.className='on'\" onMouseOut=\"this.className=''\">Press Centre</a></span>");
document.writeln("        <ul>");
document.writeln("            <li><a href=\"/en/press-center.html\">Fact Sheet</a></li>");
document.writeln("            <li><a href=\"/en/press_centre_statistics.html\">Cancer Statistics</a></li>");
document.writeln("            <li><a href=\"/en/press_centre_common_media_questions.html\">Common Media Questions</a></li>");
document.writeln("            <li><a href=\"/en/press_centre_media_contacts.html\">Media Contacts</a></li>");
document.writeln("            <li><a href=\"/en/press_centre_newsletters_publications.html\">Newsletters &amp; Publications</a></li>");
document.writeln("			<li><a href=\"/en/press_centre_latest_news.html\">Latest News</a></li>");
document.writeln("            <li><a href=\"/en/press_centre_press_releases.html\">Press Releases</a></li>");
document.writeln("            <li><a href=\"/en/press_centre_upcoming_events.html\">Upcoming Events</a></li>");
document.writeln("            <li><a href=\"/en/press_centre_tv_messages.html\">Video &amp; TV Messages</a></li>");
document.writeln("        </ul>");
document.writeln("    </li> ");
document.writeln("</ul>");
document.writeln("            <form name=\"frm_subscription\" method=\"get\" action=\"/scripts/subscription.aspx\">");
document.writeln("            <input type=\"hidden\" name=\"subscription\" value=\"\" />");
document.writeln("            <input type=\"hidden\" name=\"hkcflang\" value=\"E\" />");
document.writeln("            <input type=\"hidden\" name=\"subscription_lang\" />");
document.writeln("            </form>");
document.writeln("			  <span style=\"display:none;\" class=\"lower\"><b>Subscribe to our E-news</b>");
document.writeln("                <input type=\"text\" value=\"your email here\" class=\"input\" onclick=\"this.select();\" id=\"txt_subscription\" /><a onclick=\"submit_subscription();\" style=\"cursor:pointer;\" class=\"btnSignup\"></a>");
document.writeln("                <INPUT TYPE=\"RADIO\" NAME=\"rbSubscriptionLang\" VALUE=\"E\" id=\"rbSubscriptionLang_eng\" CHECKED />Eng &nbsp; ");
document.writeln("                <INPUT TYPE=\"RADIO\" NAME=\"rbSubscriptionLang\" VALUE=\"C\" id=\"rbSubscriptionLang_tc\"          />中文 <BR><BR></span>");
//Event Calendar Popup
document.writeln("                <span align=\"center\" class=\"lower\"><div align=\"center\"><b>Event Calendar</b><br/><a href=\"javascript:event_calendar_popup()\"><img src=\"/images/en/btn_calendar_en.jpg\"></a></div></span><br/>");
//BANNER_START
document.writeln("<span style=\" display:block; margin:5px 0 0 0\">");
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','212','height','400','src','/upload/banner/40/11012012pH26KXxUI.swf','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/upload/banner/40/11012012pH26KXxUI' ); //end AC code
document.writeln("        <noscript>");
document.writeln("        <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\"212\" height=\"400\">");
document.writeln("          <param name=\"movie\" value=\"/upload/banner/40/11012012pH26KXxUI.swf\">");
document.writeln("          <param name=\"quality\" value=\"high\">");
document.writeln("          <embed src=\"/upload/banner/40/11012012pH26KXxUI.swf\" quality=\"high\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"212\" height=\"400\"></embed>");
document.writeln("        </object>");
document.writeln("        </noscript></span>");
document.writeln("         <a target='_blank' href=\'http://www.cancer-fund.org/RainbowClub/en/\'  ><img src=\"/upload/banner/37/09122011drPshgyKI_1.jpg\"  width=\"212\" height=\"30\"/></a>");
document.writeln("         <a target='_blank' href=\'http://www.cancer-fund.org/en/subscription.html\'  ><img src=\"/upload/banner/33/09122011yox22Wy6c_1.jpg\"  width=\"212\" height=\"30\"/></a>");
document.writeln("         <a target='_blank' href=\'http://www.cancer-fund.org/en/press_centre_newsletters_publications.html\'  ><img src=\"/upload/banner/35/09122011Xy1BkoG48.jpg\"  width=\"212\" height=\"30\"/></a>");
document.writeln("         <a target='_blank' href=\'http://www.cancer-fund.org/en/howwehelp_download.html\'  ><img src=\"/upload/banner/34/09122011OLrSDV62b_1.jpg\"  width=\"212\" height=\"30\"/></a>");
document.writeln("        <a target='_blank' href=\'http://www.cancer-fund.org/en/map_hospital.html?keepThis=true&TB_iframe=true&height=650&width=800\' class=\"thickbox\"  ><img src=\"/upload/BANNER/2//160620094T2Tid4FJ.jpg\" width=\"212\" height=\"210\"/></a>");
document.writeln("<span style=\" display:block; margin:5px 0 0 0\">");
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','212','height','22','src','/upload/banner/21/180520108pstMumCi_1.swf','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/upload/banner/21/180520108pstMumCi_1' ); //end AC code
document.writeln("        <noscript>");
document.writeln("        <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\"212\" height=\"22\">");
document.writeln("          <param name=\"movie\" value=\"/upload/banner/21/180520108pstMumCi_1.swf\">");
document.writeln("          <param name=\"quality\" value=\"high\">");
document.writeln("          <embed src=\"/upload/banner/21/180520108pstMumCi_1.swf\" quality=\"high\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"212\" height=\"22\"></embed>");
document.writeln("        </object>");
document.writeln("        </noscript></span>");
//BANNER_END
document.writeln("        </span></span>");

var baseSSL_URL = document.location.href;
baseSSL_URL = baseSSL_URL.substr(0, baseSSL_URL.indexOf('/', 10));
baseSSL_URL = baseSSL_URL.replace("http", "https");

