function writeMenu(subject) {
   document.write('<b>');
   document.write('[ <a href="/search.html">Search</a> | ');
   document.write('<a href="/directory">Directory</a> ]&nbsp; &nbsp; ');

   document.write('[ <a href="/news.html">Updates</a> | ');
   document.write('<a href="/site_map.html">Site Map</a> | ');
   document.write('<a href="/stats.html">Stats</a> | ');
   document.write('<a href="/reference.html">References</a> | ');
   document.write('<a href="/affiliate.html">Affiliates</a> | ');
   document.write('<a href="/comments/?TopicID=2">Comments</a> | ');
   document.write('<a href="/index.html">Home</a> ]');
   document.write('</b>');
}

function writePageLeft(subject) {
   document.write('<img src=dot.gif width=160 height=1/>');
   document.write('<p class="g_key"><a href="/hySite">Download: hySite</a></p>');
   document.write('<p class="g_des">Simple site directory in ASP</p>');
   document.write('<p class="g_key"><a href="/hyBook">Download: hyBook</a></p>');
   document.write('<p class="g_des">Simple guestbook in ASP</p>');
   document.write('<p class="g_key"><a href="/hyBook/PHP">Download: hyBook-PHP</a></p>');
   document.write('<p class="g_des">Simple guestbook in PHP</p>');

   document.write('<img src=dot.gif width=160 height=1/>');
   document.write('<p class="g_key"><a href="/2007">Chinese Calendar 2007</a></p>');
   document.write('<p class="g_key"><a href="/2008">Chinese Calendar 2008</a></p>');
   document.write('<p class="g_key"><a href="/chinese/wedding/wedding_dates_2008.html">Wedding Calendar 2008</a></p>');
   document.write('<p class="g_key"><a href="/chinese/">Other Chinese Calendars</a></p>');
}

function writeRight(subject) {
   document.write('<img src=dot.gif width=220 height=1/>');
   document.write('<p class="g_key">Free Books by Herong</a></p>');
   document.write('<p class="g_des">-----------------------</p>');

   document.write('<img src=dot.gif width=200 height=1/>');

   document.write('<p class="g_key"><a href="/XML-Schema/">XML Schema (XSD) Notes</a></p>');
   document.write('<p class="g_des">XML, Schema, XSD, Validation...</p>');

   document.write('<p class="g_key"><a href="/CD-DVD/">CD/DVD Tutorial Notes</a></p>');
   document.write('<p class="g_des">Audio, Play, Copy, Rip, Burn, MP3...</p>');

   document.write('<p class="g_key"><a href="/PHP-Chinese/">Chinese Web Sites using PHP</a></p>');
   document.write('<p class="g_des">PHP, UTF-8, GBK, GB18030, Big5...</p>');

   document.write('<p class="g_key"><a href="/jdbc/">Java JDBC Tutorials</a></p>');
   document.write('<p class="g_des">Connection, ResultSet, SQL Server...</p>');

   document.write('<p class="g_key"><a href="/vb_script/">VB Script Tutorials</a></p>');
   document.write('<p class="g_des">Variant, Array, Loop, Function...</p>');

   document.write('<p class="g_key"><a href="/jtool">Java Tools Tutorials</a></p>');
   document.write('<p class="g_des">javac, java, jar, jdb, keytool...</p>');

   document.write('<p class="g_key"><a href="/win">Tutorial Book: Windows</a></p>');
   document.write('<p class="g_des">FTP, ZIP, RAR, Crossover cable...</p>');

   document.write('<p class="g_key"><a href="/asp">Tutorial Book: ASP</a></p>');
   document.write('<p class="g_des">Cookies, Sessions, Response...</p>');

   document.write('<p class="g_key"><a href="/crypto">Tutorial Book: Cryptography</a></p>');
   document.write('<p class="g_des">Blowfish, DES, SSL, OpenSSL...</p>');

   document.write('<p class="g_key"><a href="/java">Tutorial Book: Java</a></p>');
   document.write('<p class="g_des">Threads, Synchronize, Deadlock...</p>');

   document.write('<p class="g_key"><a href="/jdk">Tutorial Book: JDK</a></p>');
   document.write('<p class="g_des">XML, DOM, keytool & keystore...</p>');

   document.write('<p class="g_key"><a href="/jsp">Tutorial Book: JSP</a></p>');
   document.write('<p class="g_des">Cookie, JavaBean, JSTL, Tags...</p>');

   document.write('<p class="g_key"><a href="/jvm">Tutorial Book: JVM</a></p>');
   document.write('<p class="g_des">HotSpot, JRockit, GC, Memory...</p>');

   document.write('<p class="g_key"><a href="/perl">Tutorial Book: Perl - Part A</a></p>');
   document.write('<p class="g_des">References, Class, Binary, DBM...</p>');

   document.write('<p class="g_key"><a href="/perl_b">Tutorial Book: Perl - Part B</a></p>');
   document.write('<p class="g_des">Socket, XML, SOAP, RPC, CGI...</p>');

   document.write('<p class="g_key"><a href="/php">Tutorial Book: PHP</a></p>');
   document.write('<p class="g_des">Session, Cookie, MySQL, SOAP...</p>');

   document.write('<p class="g_key"><a href="/sort">Book: Sorting Algorithms</a></p>');
   document.write('<p class="g_des">Quicksort, Merge, Heap, Shell...</p>');

   document.write('<p class="g_key"><a href="/sql">Tutorial Book: SQL</a></p>');
   document.write('<p class="g_des">MySQL, Locks, Stored procedure...</p>');

   document.write('<p class="g_key"><a href="/swing">Tutorial Book: Swing</a></p>');
   document.write('<p class="g_des">JFrame, Layouts, Localization...</p>');

   document.write('<p class="g_key"><a href="/unicode">Tutorial Book: Unicode</a></p>');
   document.write('<p class="g_des">Character set, UTF8, Conversion...</p>');

   document.write('<p class="g_key"><a href="/Web-Services">Book: SOAP & Web Service</a></p>');
   document.write('<p class="g_des">SOAP 1.2, Protocol Binding, WSDL...</p>');

   document.write('<p class="g_key"><a href="/gb2312">Book: GB2312 Character Set</a></p>');
   document.write('<p class="g_des">Unicode, UTF8, Mapping table...</p>');

   document.write('<p class="g_key"><a href="/xhtml">Tutorial Book: XSLT & XHTML</a></p>');
   document.write('<p class="g_des">XSL-FO, FOP, Generating PDF...</p>');

   document.write('<p class="g_key"><a href="/xml">Tutorial Book: XML Technologies</a></p>');
   document.write('<p class="g_des">DOM, SAX, XSD, XSL, XPath, DTD...</p>');

   document.write('<p class="g_key"><a href="/encoding">Tutorial Book: Data Encoding</a></p>');
   document.write('<p class="g_des">Base64, UUEncode, Java code...</p>');

   document.write('<p class="g_key"><a href="/cs_a">Tutorial Book: C# - Part A </a></p>');
   document.write('<p class="g_des">Data type, Expression, .NET...</p>');

   document.write('<p class="g_key"><a href="/cs_b">Tutorial Book: C# - Part B</a></p>');
   document.write('<p class="g_des">"double", "decimal", Precision...</p>');

   document.write('<p class="g_key"><a href="/year">200 Years of Chinese Calendar</a></p>');
   document.write('<p class="g_des">Algorithm, Printable calendars...</p>');

   document.write('<img src=dot.gif width=200 height=1/>');
   document.write('<p class="g_key"><a href="/gb2312_gb">In Chinese: GB2312 Character Set</a></p>');
   document.write('<p class="g_des">Unicode, UTF8, Mapping table...</p>');

   document.write('<p class="g_key"><a href="/xhtml_gb">In Chinese: XSLT & XHTML</a></p>');
   document.write('<p class="g_des">XSL-FO, FOP, Generating PDF...</p>');

   document.write('<p class="g_key"><a href="/year_gb">Chinese GB: 200 Years Calendar</a></p>');
   document.write('<p class="g_des">Algorithm, Printable calendars...</p>');

   document.write('<p class="g_key"><a href="/year_big5">Chinese Big5: 200 Years Calendar</a></p>');
   document.write('<p class="g_des">Algorithm, Printable calendars...</p>');
   
   document.write('<img src=dot.gif width=200 height=1/>');
   document.write('<p class="g_key">Copyright &#169; Dr. Herong Yang</p>');
   document.write('<p class="g_des">1995 - 2007</p>');
   document.write('<img src=dot.gif width=200 height=1/>');
   document.write('<p class="g_des">WebCounter <img src="http://counter.digits.com/wc/-d/4/herong" alt="Hits" align="center" width="80" height="20" border="0"/></p>');
}

function writeTop(subject) {
}

function writeBottom(subject) {
}

function writeLeft(subject) {
}

function writeSection(subject) {
}
