﻿

var temp="";          //     ??????????
temp += '<style><!--.drag{cursor:move}';
temp +='.imeButton1{height:26px;width:85px;background-color:#d4d0c8;border-width:1px;font-size:13px;line-height:24px;font-family:FZZWXBT_Unicode,monospace;cursor:pointer}';
temp +='.imeButton2{height:26px;width:85px;background-color:#d4d0c8;border-width:1px;font-size:13px;line-height:24px;font-family:FZZWXBT_Unicode,monospace;cursor:pointer}';
temp +='.imeButton22{height:26px;width:90px;background-color:#d4d0c8;border-width:1px;font-size:13px;line-height:24px;font-family:FZZWXBT_Unicode,monospace;cursor:pointer}';
temp +='.imeButton3{height:26px;background-color:#d4d0c8;border-width:1px;font-size:13px;line-height:24px;font-family:FZZWXBT_Unicode,monospace;cursor:pointer}';
temp += '--></style> ';
temp += '<script src="script/method.js" type="text/javascript"></script>';
temp += '<script language="javascript" src="script/vkboard.js" type="text/javascript"></script>';

//zhangwen object
temp += '<OBJECT id="zhangwenFont" style="Z-INDEX: 102; LEFT: 328px;display:none; WIDTH: 72px; POSITION: absolute; TOP: 32px; HEIGHT: 16px" classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83" VIEWASTEXT>';
temp +='<PARAM NAME="RowDelim" VALUE="&#10;">';
temp +='<PARAM NAME="FieldDelim" VALUE="#">';
temp +='<PARAM NAME="TextQualifier" VALUE="">';
temp +='<PARAM NAME="EscapeChar" VALUE="">';
temp +='<PARAM NAME="UseHeader" VALUE=true>';
temp +='<PARAM NAME="SortAscending" VALUE="-1">';
temp +='<PARAM NAME="SortColumn" VALUE="">';
temp +='<PARAM NAME="FilterValue" VALUE="">';
temp +='<PARAM NAME=	" VALUE="??">';
temp +='<PARAM NAME="FilterColumn" VALUE="">';
temp +='<PARAM NAME="CharSet" VALUE="unicode">';
temp +='<PARAM NAME="Language" VALUE="zh-cn">';
temp +='<PARAM NAME="CaseSensitive" VALUE="-1">';
temp +='<PARAM NAME="Sort" VALUE="">';
temp +='<PARAM NAME="Filter" VALUE="code="+"#">';
temp +='<PARAM NAME="AppendData" VALUE="0">';
temp +='<PARAM NAME="DataURL" VALUE="script/zhangwen.txt">';
temp += '<PARAM NAME="ReadyState" VALUE="4">';
temp +='</OBJECT>';
//fanwen object
temp += '<OBJECT id="fanwenFont" style="Z-INDEX: 102; LEFT: 328px;display:none; WIDTH: 72px; POSITION: absolute; TOP: 32px; HEIGHT: 16px" classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83" VIEWASTEXT>';
temp +='<PARAM NAME="RowDelim" VALUE="&#10;">';
temp +='<PARAM NAME="FieldDelim" VALUE="#">';
temp +='<PARAM NAME="TextQualifier" VALUE="">';
temp +='<PARAM NAME="EscapeChar" VALUE="">';
temp +='<PARAM NAME="UseHeader" VALUE=true>';
temp +='<PARAM NAME="SortAscending" VALUE="-1">';
temp +='<PARAM NAME="SortColumn" VALUE="">';
temp +='<PARAM NAME="FilterValue" VALUE="">';
temp +='<PARAM NAME=	" VALUE="??">';
temp +='<PARAM NAME="FilterColumn" VALUE="">';
temp +='<PARAM NAME="CharSet" VALUE="unicode">';
temp +='<PARAM NAME="Language" VALUE="zh-cn">';
temp +='<PARAM NAME="CaseSensitive" VALUE="-1">';
temp +='<PARAM NAME="Sort" VALUE="">';
temp +='<PARAM NAME="Filter" VALUE="code="+"#">';
temp +='<PARAM NAME="AppendData" VALUE="0">';
temp +='<PARAM NAME="DataURL" VALUE="script/fanwen.txt">';
temp += '<PARAM NAME="ReadyState" VALUE="4">';
temp +='</OBJECT>';
	

temp +='<table id="displayCharPanel" cellpadding="0"  cellspacing="0" border="1" width=370 rules=none style="z-index:200;background-color:#d4d0c8;position:absolute;top:0px;left:expression(body.clientWidth-displayCharPanel.offsetWidth);">';
	<!-- first row -->
temp +='<tr><td width=24><img style="width:24px;height:24px" border=0 class="drag" src="image/Bpflag.bmp"></img></td>';
temp += '<td width=85><button id="imeOn1" class="imeButton1" onclick="imeOn()" title="Open IME" accesskey="a">ཁ་བབ། 关</button><button id="imeOn2" class="imeButton1" style="display:none;" onclick="imeOn()" title="Close IME" accesskey="a">ཁ་། 开</button></td><td width=260><button id="fontName"  class="imeButton22" title="Change IME"  accesskey="z">ད་ག  藏文</button><button class="imeButton1" title="Help" onclick="showHelp()" accesskey="h">གས་པ། 帮助</button>';
temp += '<button id="virtualKeyboard" class="imeButton1" title="Turn on the vistual keyboard" accesskey="k" onclick="keyb_change()"><img src="image/Nsoftkbd.bmp" width=20 height=20></button></td></tr>';		
	 <!-- second row main panel-->
temp +='<tr ><td colspan=3><table id="mainTable" style="display:none"><tr ><td colspan=2><table><tr><td id="waima" style="border-bottom:1px solid #aaaaaa" width=170>';
temp +='</td><td style="border-bottom:1px solid #aaaaaa"><span id="page">Founder</span></td></tr></table></td></tr>';
                                              

temp += '<tr><td width=20 align="left" valign="top"><table rules=none id="numbertable" cellpadding="0"  cellspacing=0 border=0>';

<!-- show the chars in the new table -->
//zhangwenfont
for(var i=0; i<10; i++)
	temp += '<tr width=5><td height=24>'+i+'</td></tr>'
temp +='</table></td><td align="left" valign="top"><table id="showChar" border=0 datasrc="#zhangwenFont"  cellpadding="0" cellspacing="0" datapagesize=10>';
temp +='<tr><td width=190 height=24 nowrap=true cellpadding="0"  cellspacing="0"><span  id="Chars" datafld="font" style="font-family:FZZWXBT_Unicode;font-size:12"></span></td>';
temp += '<td width=70 nowrap=true cellpading="0" cellspacing="0" ><span datafld="code" ></span></td></tr>';  
temp +='</table>';
//fanwenfont<ul>

temp +='<table id="showFanwenPanel" border=0 datasrc="#fanwenFont"  cellpadding="0" cellspacing="0" datapagesize=10>';
temp +='<tr><td width=145 nowrap=true height=23 cellpadding="0"  cellspacing="0"><span  id="Chars" datafld="font" style="font-family:FZZWXBT_Unicode;font-size:12"></span></td>';
temp += '<td width=55 nowrap=true ><span datafld="code" ></span></td></tr>';  
temp +='</table>';

temp +='</td></tr>';
temp +='<tr><td colspan=2>';
temp +='<button id="firstpage" class="imeButton2" title="First Page" onclick="showFirstPage()">&lt;&lt</button><button id="previouspage" class="imeButton2" title="Previous Page" onclick="showPreviousPage()">&lt;</button>';
temp +='<button id="nextpage" class="imeButton2"  title="Next Page" onclick="showNextPage()">&gt;</button><button id="lastpage" class="imeButton2" title="Last Page" onclick="showLastPage()">&gt;&gt;</button></td></tr>';
temp +='</table>';
//<!-- status bar -->	
//temp +='<tr><td colspan=2><span>Peking university</span><td></tr>';


//help panel
//temp +='<tr><td colspan=2>';

temp +='<table id="helpPanel" style="display:none"><tr><td><button class="imeButton3" onclick="switchHelp(0)">版本</button>';
temp +='<button class="imeButton3" onclick="switchHelp(2)">使用说明</button><button class="imeButton3" onclick="switchHelp(3)">快捷键</button></td></tr>';
//temp +='<tr><td><table id="versionPanel" height=175 width = 195><tr><td align="center"><img src="image/founder-chinese.jpg"></img></td></tr>';
//temp +='<tr><td align="center">版本1.0</td></tr></table>';
temp +='<tr><td><table id="versionPanel"><tr><td><iframe src="help/version.html" height=250 width=360></iframe></td></tr></table>';
//temp +='<table id="declarationPanel" style="display:none"><tr><td><iframe src="help/declaration.html" height=170 width=190></iframe></td></tr></table>';
temp +='<table id="operationPanel" style="display:none"><tr><td><iframe src="help/operation.html" height=250 width=360></iframe></td></tr></table>';
temp +='<table id="symbolPanel" style="display:none"><tr><td><iframe src="help/symbol.html" height=250 width=360></iframe></td></tr></table></td></tr>'; 

temp +='</td></tr></table>';
temp +='</td></tr></table>'; 

//virtual keyboard
temp += '<div id="keyboard" style="Z-INDEX: 102;font-family:FZZWXBT_Unicode,Tahoma; LEFT: 104px; POSITION: absolute; TOP: 472px"></div>';
 document.write(temp);
 
 

	

