/* Indian Language Type Pad -  http://www.monusoft.com

Modified by http://www.hadimhd.com - hadimhd@gmail.com

Permission is hereby granted to any person obtaining a copy of this software and associated 
the rights to use, copy, modify, merge copies of the Software for personal non-commercial use only and 
to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions 
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
DEALINGS IN THE SOFTWARE.
*/
document.write("<script language='javascript' src='http://service.monusoft.com/hindi.js'></script>");
document.write("<script language='javascript' src='http://service.monusoft.com/Parser.js'></script>");
document.write("<script language='javascript'>var pname =" + "id" + ";" );
document.write("function done(){if(window.opener != null && window.opener.document.getElementById(pname) != 'undefined')");
document.write("{window.opener.document.getElementById(pname).value=document.getElementById('TypePad').value;");
document.write("window.close();}else{alert('Please copy/paste the text manually.');}}</script>");
document.write("<table cellpadding='0' cellspacing='0' border='0'>");
document.write("<TR>");
document.write("<TD colspan=2>This plug n play Hindi type pad is by <a href='http://www.hadimhd.com' target=_blank>HadiMhd.com</a>. </TD>");
document.write("</TR><tr><td colspan=2>&nbsp;</td></tr>");
document.write("<tr><td colspan=2> \
					<textarea id='TypePad' name='TypePad' rows='10' cols='54' onkeypress='if (!isEng){ return change(this,event);} else {return true;}' \
						onFocus='changeCursor(this);' onClick='changeCursor(this);' onKeyUp='changeCursor(this);' \
						onkeydown='positionChange(event);'></textarea> \
				</td>\
			</tr>\
			<TR>\
				<TD align='right' colspan=2>&nbsp;</TD>\
			</TR>\
			<tr>\
				<td ><span id='lang'>\
Selected Language: <b>Hindi</b>. Press F12 to change.</span></TD><TD align='right'><INPUT language='javascript' id='btnDone'\
 onclick='done();' type='button' value='Done'\
						name='btnDone'>\
				</td>\
			</tr>\
			<TR>\
				<TD align='right' colspan=2>&nbsp;</TD>\
			</TR>\
			<tr>\
				<td colspan=2><img src='http://service.monusoft.com/images/HindiMap.jpg' alt='Hindi letter map'></td>\
			</tr>\
		</table>\
		<script language='javascript'>\
		if(window.opener != null && window.opener.document.getElementById(pname) != 'undefined')\
		{\
			document.getElementById('TypePad').value = window.opener.document.getElementById(pname).value;\
		}\
	\
\
		</script>");
document.close();


