startList=function(){if(document.all&&document.getElementById){navRoot=document.getElementById("top_nav");for(i=0;i<navRoot.childNodes.length;i++){node=navRoot.childNodes[i];if(node.nodeName=="LI"){node.onmouseover=function(){this.className+=" over";};node.onmouseout=function(){this.className=this.className.replace(" over","");}}}}};window.onload=startList;

function ShowLanguage()
{
with(document){
arrowleft.src='';
arrowleft.width=0;
arrowleft.height=0;
arrowleft.title='';
arrowright.src='image/menuarrowright.gif';
arrowright.width='20';
arrowright.height='21';
arrowright.title='言語';
langde.src='image/menulangde.gif';
langde.width='49';
langde.height='21';
langde.title='ドイツ語';
langfr.src='image/menulangfr.gif';
langfr.width='52';
langfr.height='21';
langfr.title='フランス語';
langes.src='image/menulanges.gif';
langes.width='49';
langes.height='21';
langes.title='スペイン語';
langjp.src='image/menulangjp.gif';
langjp.width='49';
langjp.height='21';
langjp.title='日本語';
langzh.src='image/menulangzh.gif';
langzh.width='45';
langzh.height='21';
langzh.title='中国語';
}}

function HideLanguage()
{
with(document){
arrowleft.src='image/menuarrowleft.gif';
arrowleft.width='20';
arrowleft.height='21';
arrowleft.title='言語';
arrowright.src='';
arrowright.width='0';
arrowright.height='0';
arrowright.title='';
langde.src='';
langde.width='0';
langde.height='0';
langde.title='';
langfr.src='';
langfr.width='0';
langfr.height='0';
langfr.title='';
langes.src='';
langes.width='0';
langes.height='0';
langes.title='';
langjp.src='';
langjp.width='0';
langjp.height='0';
langjp.title='';
langzh.src='';
langzh.width='0';
langzh.height='0';
langzh.title='';
}}

function PageHeader(){
Str='<table width="100%" border="0" bordercolor="#cccccc" cellspacing="0" cellpadding="0" style="border-collapse: collapse"><tbody><tr>';
Str+='<td background="image/headback.gif" height="59" width="170" nowrap="nowrap" align="left" valign="top"><p style="margin: 0px; text-indent: 0px"><a href="index.php"><img src="image/headleft.gif" width="170" height="59" border="0" title="ソースコード整形ツール" alt="ソースコード整形"/></a></p></td>';
Str+='<td background="image/headback.gif" height="59"></td><td background="image/headback.gif" height="59" nowrap="nowrap" align="right"><p style="margin: 0px; text-indent: 0px"><a href="contact.php"><img src="image/headright.gif" width="100" height="59" border="0" title="ご連絡先" alt="ご連絡先" /></a></p></td></tr></tbody></table>';
Str+='<table width="100%" background="image/menuback.gif" border="0" bordercolor="#cccccc" cellspacing="0" cellpadding="0" style="border-collapse: collapse"><tbody><tr id="mainmenu"><td nowrap="nowrap" height="21"><ul id="top_nav">';
Str+='<li id="topnav_12"><a href="index.php"><img src="image/menuhome.gif" width="47" height="21" border="0" alt="" /></a><ul>';
Str+='<li><a href="product.php">私たちの製品</a></li>';
Str+='<li><a href="about.php">私たちについて</a></li>';
Str+='<li><a href="news.php">最新のニュース</a></li></ul></li>';
Str+='<li id="topnav_27"><a href="code-formatter.htm"><img src="image/menuformat.gif" width="94" height="21" border="0" alt="" /></a><ul>';
Str+='<li><a href="code-formatter.htm">製品概要</a></li>';
Str+='<li><a href="feature.htm">機能一覧</a></li>';
Str+='<li><a href="why.htm">なぜ使用</a></li>';
Str+='<li><a href="code-formatting.htm">使用例</a></li>';
Str+='<li><a href="integrate.php">IDE への統合</a></li>';
Str+='<li><a href="preview.htm">スクリーンショット</a></li>';
Str+='<li><a href="faq.php">よくあるご質問</a></li>';
Str+='<li><a href="http://www.sourceformat.com/documentation.php">ドキュメント</a></li>';
Str+='<li><a href="history.php">機能履歴</a></li>';
Str+='<li><a href="award.htm">受賞賞一覧</a></li>';
Str+='<li><a href="comment.htm">ユーザーコメント</a></li>';
Str+='<li><a href="license.htm">ライセンス</a></li></ul></li>';
Str+='<li id="topnav_38"><a href="codetohtml.htm"><img src="image/menucode.gif" width="78" height="21" border="0" alt="" /></a><ul>';
Str+='<li><a href="codetohtml.htm">製品概要</a></li>';
Str+='<li><a href="code2html.htm">機能一覧</a></li>';
Str+='<li><a href="code2html-style.htm">出力スタイル</a></li>';
Str+='<li><a href="code2html-convert.htm">コード変換者</a></li>';
Str+='<li><a href="code2html-preview.htm">スクリーンショット</a></li>';
Str+='<li><a href="code2html-faq.php">よくあるご質問</a></li>';
Str+='<li><a href="code2html-history.php">機能履歴</a></li>';
Str+='<li><a href="code2html-license.htm">ライセンス</a></li></ul></li>';
Str+='<li id="topnav_45"><a href="download.php"><img src="image/menudownload.gif" width="68" height="21" border="0" alt="" /></a><ul>';
Str+='<li><a href="download.php">SourceFormatX</a></li>';
Str+='<li><a href="download-code2html.php">CodeToHtml</a></li>';
Str+='<li><a href="licenses.htm">ライセンス</a></li>';
Str+='<li><a href="http://www.sourceformat.com/coding-standard.htm">コーディング標準</a></li></ul></li>';
Str+='<li id="topnav_52"><a href="order.php"><img src="image/menupurchase.gif" width="65" height="21" border="0" alt="" /></a><ul>';
Str+='<li><a href="order.php">購入方法</a></li>';
Str+='<li><a href="price.php">税込価格</a></li>';
Str+='<li><a href="orderfaq.php">購入質問</a></li>';
Str+='<li><a href="licensetype.php">ライセンス タイプ</a></li>';
Str+='<li><a href="licenses.htm">ライセンス</a></li>';
Str+='<li><a href="reseller.php">販売代理店</a></li></ul></li>';
Str+='<li id="topnav_68"><a href="support.php"><img src="image/menusupport.gif" width="58" height="21" border="0" alt="" /></a><ul>';
Str+='<li><a href="support.php">テクニカルサポート中心</a></li>';
Str+='<li><a href="faqs.htm">よくあるご質問</a></li>';
Str+='<li><a href="http://www.sourceformat.com/tutorial.php">チュートリアル</a></li>';
Str+='<li><a href="http://www.sourceformat.com/documentation.php">ドキュメント</a></li>';
Str+='<li><a href="http://www.sourceformat.com/forum/">ユーザーフォーラム</a></li></ul></li>';
Str+='<li id="topnav_74"><a href="contact.php"><img src="image/menucontact.gif" width="57" height="21" border="0" alt="" /></a><ul>';
Str+='<li><a href="contact.php">お問い合わせ</a></li>';
Str+='<li><a href="link2us.php">リンク時のお願い</a></li>';
Str+='<li><a href="privacy.htm">個人情報保護方針</a></li>';
Str+='<li><a href="term.htm">利用規約</a></li>';
Str+='<li><a href="sitemap.htm">サイトマップ</a></li></ul></li></ul>';
Str+='<a href="#"><img src="image/menuarrowleft.gif" width="20" height="21" name="arrowleft" onmouseup="ShowLanguage()" border="0" title="言語" /></a><a href="#"><img name="arrowright" width="0" height="0" onmouseup="HideLanguage()" border="0" title="" /></a><a href="http://www.sourceformat.com/"><img src="image/menulangen.gif" width="49" height="21" border="0" title="英語" /></a><a href="http://translate.google.com/translate_c?hl=en&langpair=en%7Cde&u=http://www.sourceformat.com"><img name="langde" width="0" height="0" border="0" title="" /></a><a href="http://translate.google.com/translate_c?hl=en&langpair=en%7Cfr&u=http://www.sourceformat.com"><img name="langfr" width="0" height="0" border="0" title="" /></a><a href="http://translate.google.com/translate_c?hl=en&langpair=en%7Ces&u=http://www.sourceformat.com"><img name="langes" width="0" height="0" border="0" title="" /></a><a href="http://jp.sourceformat.com/"><img name="langjp" width="0" height="0" border="0" title="" /></a><a href="http://zh.sourceformat.com/"><img name="langzh" width="0" height="0" border="0" title="" /></a></td></tr></tbody></table>';
document.write(Str);}

function PageFooter(){
Str='<hr width="100%" color="#cccccc" noshade="noshade" size="1" style="margin-top: 10pt; margin-bottom: 0pt" />';
Str+='<p style="margin-top: 6pt; margin-bottom: 6pt" align="center">';
Str+='<a href="index.php"><font color="#606060">トップページ</font></a><font color="#a0a0a0"> | </font>';
Str+='<a href="product.php"><font color="#606060">製品</font></a><font color="#a0a0a0"> | </font>';
Str+='<a href="download.php"><font color="#606060">ダウンロード</font></a><font color="#a0a0a0"> | </font>';
Str+='<a href="order.php"><font color="#606060">ご購入</font></a><font color="#a0a0a0"> | </font>';
Str+='<a href="support.php"><font color="#606060">サポート</font></a><font color="#a0a0a0"> | </font>';
Str+='<a href="contact.php"><font color="#606060">ご連絡先</font></a><font color="#a0a0a0"> | </font>';
Str+='<a href="sitemap.htm"><font color="#606060">サイトマップ</font></a><font color="#a0a0a0"> | </font>';
Str+='<a href="privacy.htm"><font color="#606060">個人情報保護方針</font></a><font color="#a0a0a0"> | </font>';
Str+='<a href="term.htm"><font color="#606060">利用規約</font></a></p>';
Str+='<p style="font-size: 8pt; margin-top: 6pt; margin-bottom: 12pt; color: #606060" align="center">Copyright &copy; 2004-2009 Draupnir Software Co., Ltd. All Rights Reserved.</p>';
document.write(Str);}

function PageBottom(){
Str='<table width="100%" border="0" bordercolor="#ffffff" style="border-collapse: collapse" cellspacing="0" cellpadding="0"><tbody><tr width="100%"><td height="1" bgcolor="#cccccc"></td></tr></tbody></table>';
document.write(Str);}
