var locapath = document.location.href;
var pos = locapath.indexOf("search.gov.hk");
if (pos>=0) {
  locapath = "http://www.cwc.tid.gov.hk/";	  
} else {
  locapath = "/preview/";	  
}

document.writeln("<hr>");
document.writeln("<p class=\"mylink2\"><font face=\"Arial, Helvetica, sans-serif\">[<a href=\"" + locapath + "textonly/english/cwc/introduction.html\">Chemical ");
document.writeln("  Weapons convention (CWC)</a>] [<a href=\"" + locapath + "textonly/english/implementation/objective.html\">Implementation ");
document.writeln("  of CWC in Hong Kong</a>] [<a href=\"" + locapath + "textonly/english/permit/scope.html\">Permit System</a>] ");
document.writeln("  [<a href=\"" + locapath + "textonly/english/notification/scope2.html\">Notification System</a>] [<a href=\"" + locapath + "textonly/english/ie/import_export.html\">Import ");
document.writeln("  and Export of CWC Scheduled Chemicals</a>] [<a href=\"http://www.cwc.tid.gov.hk/service/chemicalRecordsRead.do?locale=eng&text=1\">Classification ");
document.writeln("  Advice on Chemicals</a>] [<a href=\"" + locapath + "textonly/english/download/application_form.html\">Downloading ");
document.writeln("  Forms</a>] [<a href=\"" + locapath + "textonly/english/guideline/guideline_form.html\">Guide on How to Comlete ");
document.writeln("  Forms</a>]</font></p>");
document.writeln("<hr>");
document.writeln("<p class=\"mylink2\"><font face=\"Arial, Helvetica, sans-serif\">[<a href=\"" + locapath + "textonly/eindex.html\">Home</a>] ");
document.writeln("  [<a href=\"" + locapath + "textonly/english/whatsnew/whatsnew.html\">What's New</a>] [<a href=\"" + locapath + "textonly/english/chemical/scheduled.html\">Chemical ");
document.writeln("  Regulated under the Ordinance</a>] [<a href=\"" + locapath + "textonly/english/faq/faq.html\">Frequently Asked ");
document.writeln("  Question</a>] [<a href=\"" + locapath + "textonly/english/publications/publication.html\">Publications</a>] ");
document.writeln("  [<a href=\"" + locapath + "textonly/english/glossary/glossarydef_1.html\">Glossary of Definitions and Commonly ");
document.writeln("  Used Terms</a>] [<a href=\"" + locapath + "textonly/english/links/links_to_useful_websites.html\">Link to Useful ");
document.writeln("  Websites</a>] [<a href=\"" + locapath + "textonly/english/contactus/contactus.html\">Contact Us</a>] ");
document.writeln("  [<a href=\"http://www.stc.tid.gov.hk/textonly/eindex.html\" target=\"_blank\">Strategic Commodities Control System</a>]</font></p>");
document.writeln("<hr>");
document.writeln("<p class=\"mylink2\"><font face=\"Arial, Helvetica, sans-serif\">[<a href=\"http://www.gov.hk/en/residents/\" target=\"_blank\">GovHK</a>] [<a href=\"http://www.brandhk.gov.hk/brandhk/eindex.htm\" target=\"_blank\">Brand Hong Kong - Asia's world city</a>]</font></p>");
document.writeln("<hr>");
document.writeln("<p class=\"mylink2\"><font face=\"Arial, Helvetica, sans-serif\">2003 copyright | <a href=\"" + locapath + "textonly/english/disclaimer/disclaimer.html\">Important ");
document.writeln("  notices</a> | <a href=\"" + locapath + "textonly/english/disclaimer/privacy_policy.html\">Privacy policy</a></font></p>");
document.writeln("<p class=\"mylink3\"><font face=\"Arial, Helvetica, sans-serif\" size=\"2\">Last revision date: 07 November 2008</font></p>");

document.writeln("<style>");
document.writeln(".mylink2 { FONT-SIZE: 12pt; Font-FAMILY: verdana, helvetica, sans-serif; padding:10px; }");
document.writeln(".mylink3 { FONT-SIZE: 10pt; Font-FAMILY: verdana, helvetica, sans-serif; padding:10px; }");
document.writeln("</style>");

