function d(s){document.writeln(s);};function w(c,s){d('<td class="btnFlat"  width=6% onclick="javascript:AddText(\''+s+'\' );">'+c+'</td>');}function w2(c,s){d('<td class="btnFlat" onclick="javascript:AddText(\''+s+'\' );">'+c+'</td>');}function writeKeyboard(){d('<span dir="ltr">');d('<table   width="100%" style="border: 1px solid #C0C0C0;">');d('<tr>');w('ر','ر');w('ذ','ذ');w('ڈ','ڈ');w('د','د');w('خ','خ');w('ح','ح');w('چ','چ');w('ج','ج');w('ث','ث');w('ٹ','ٹ');w('ت','ت');w('پ','پ');w('ب','ب');w('آ','آ');w('ا','ا');d('</tr><tr>');w('گ','گ');w('ک','ک');w('ق','ق');w('ف','ف');w('غ','غ');w('ع','ع');w('ظ','ظ');w('ط','ط');w('ض','ض');w('ص','ص');w('ش','ش');w('س','س');w('ژ','ژ');w('ز','ز');w('ڑ','ڑ');d('</tr>');d('<tr>');d('<TD >&nbsp;</TD >');w('؟','؟');w('۔','۔');w('ے','ے');w('ی','ی');w('ئ','ئ');w('ء','ء');w('ھ','ھ');w('ہ','ہ');w('ؤ','ؤ');w('و','و');w('ں','ں');w('ن','ن');w('م','م');w('ل','ل');d('</tr>');d('<tr>');d('<td width="100%" colspan="15">');d('<table align=right style="border: 1px solid #D3D3D3;" colspan="15">');d('<tr>');w2('کوما',String.fromCharCode(0x060C));w2('تشدید',String.fromCharCode(0x0651));w2('کھڑی زبر',String.fromCharCode(0x0670));w2('درمیانی حمزہ',String.fromCharCode(0x0626));w2('دو زیر',String.fromCharCode(0x064D));w2('دو زبر',String.fromCharCode(0x064B));w2(' پیش ',String.fromCharCode(0x064F));w2('زبر',String.fromCharCode(0x064E));w2('زیر',String.fromCharCode(0x0650));d('</tr>');d('</table>');d('</td>');d('</tr>');d('</table>');d('</span>');}function r(e){e=(e)?e:(window.event)?event:null;if(e.srcElement){var el=e.srcElement;className=el.className;if(className=='btnFlat'||className=='btnLowered'){el.className='btnRaised';}}else if(e.target){var el=e.target;className=el.className;if(className=='btnFlat'||className=='btnLowered'){el.className='btnRaised';}}}function n(e){e=(e)?e:(window.event)?event:null;if(e.srcElement){var el=window.event.srcElement;className=el.className;if(className=='btnRaised'||className=='btnLowered'){el.className='btnFlat';}}else if(e.target){var el=e.target;className=el.className;if(className=='btnRaised'||className=='btnLowered'){el.className='btnFlat';}}}function l(e){e=(e)?e:(window.event)?event:null;if(e.srcElement){var el=window.event.srcElement;className=el.className;if(className=='btnFlat'||className=='btnRaised'){el.className='btnLowered';}}else if(e.target){var el=e.target;className=el.className;if(className=='btnFlat'||className=='btnRaised'){el.className='btnLowered';}}}function initWebPadKeyboard(cssPath){document.onmouseover=r;document.onmouseout=n;document.onmousedown=l;document.onmouseup=r;var sPath='';if(arguments.length>0)sPath=cssPath;}initWebPadKeyboard("");