<?xml version="1.0"?>

<!--
// *** Copyright (c)2002 Jim Massey. All rights reserved  ***********
// *** massey@stlouis-shopper.com ************
// *** No Warranty - certified to work with nothing ***
// *** developed to work with mozilla kiosk **** 
-->


<!DOCTYPE window [
<!ENTITY % kioskDTD SYSTEM "chrome://kiosk/locale/kiosk.dtd">
%kioskDTD;
<!ENTITY % bindingsDTD SYSTEM "chrome://kiosk/locale/bindings.dtd">
%bindingsDTD;
<!ENTITY % VKeyboardDTD SYSTEM "chrome://kiosk/locale/VKeyboard.dtd">
%VKeyboardDTD;
]>


<overlay id="VKeyboardOverlay"

	xmlns:html="http://www.w3.org/TR/REC-html40"
	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<window id="main-window">

<script type="text/javascript" src="VKeyboard.js" />
<toolbox id="VKboard_box">
 <toolbar id="VKboard1" grippytooltiptext="VKeyBoard click to Popup" >
  <vbox id="VKboard_alpha">
    <hbox id="VKeyboard" crop="right">
<!--	<button class="VKey" label="Tab" oncommand="VKtoggle_pad();"/> -->
<!--	<button class="VKey" label="&#81;" oncommand="VKhandlefocus('&#113;');"/> -->
<!--	<button id="&kbd.key1.id;" class="&kbd.key1.class;" 
	    label="&kbd.key1.label;" oncommand="&kbd.key1.command;"/>
	<button id="&kbd.key2.id;" class="&kbd.key2.class;" 
	    label="&kbd.key2.label;" oncommand="&kbd.key2.command;"/>
	<button id="&kbd.key3.id;" class="&kbd.key3.class;" 
	    label="&kbd.key3.label;" oncommand="&kbd.key3.command;"/>
	<button id="&kbd.key4.id;" class="&kbd.key4.class;" 
	    label="&kbd.key4.label;" oncommand="&kbd.key4.command;"/>
	<button id="&kbd.key5.id;" class="&kbd.key5.class;" 
	    label="&kbd.key5.label;" oncommand="&kbd.key5.command;"/>
	<button id="&kbd.key6.id;" class="&kbd.key6.class;" 
	    label="&kbd.key6.label;" oncommand="&kbd.key6.command;"/>
	<button id="&kbd.key7.id;" class="&kbd.key7.class;" 
	    label="&kbd.key7.label;" oncommand="&kbd.key7.command;"/>
	<button id="&kbd.key8.id;" class="&kbd.key8.class;" 
	    label="&kbd.key8.label;" oncommand="&kbd.key8.command;"/>
	<button id="&kbd.key9.id;" class="&kbd.key9.class;" 
	    label="&kbd.key9.label;" oncommand="&kbd.key9.command;"/>
	<button id="&kbd.key10.id;" class="&kbd.key10.class;" 
	    label="&kbd.key10.label;" oncommand="&kbd.key10.command;"/>
	<button id="&kbd.key11.id;" class="&kbd.key11.class;" 
	    label="&kbd.key11.label;" oncommand="&kbd.key11.command;"/>
	<button id="&kbd.key12.id;" class="&kbd.key12.class;" 
	    label="&kbd.key12.label;" oncommand="&kbd.key12.command;"/>
	<button id="&kbd.key13.id;" class="&kbd.key13.class;" 
	    label="&kbd.key13.label;" oncommand="&kbd.key13.command;"/>
	<button id="&kbd.key14.id;" class="&kbd.key14.class;" 
	    label="&kbd.key14.label;" oncommand="&kbd.key14.command;"/>
-->
    </hbox>
    <hbox>
<!--	 <button id="&kbd.key15.id;" class="&kbd.key15.class;" 
	    label="&kbd.key15.label;" oncommand="&kbd.key15.command;"/>
	<button id="&kbd.key16.id;" class="&kbd.key16.class;" 
	    label="&kbd.key16.label;" oncommand="&kbd.key16.command;"/>
	<button id="&kbd.key17.id;" class="&kbd.key17.class;" 
	    label="&kbd.key17.label;" oncommand="&kbd.key17.command;"/>
	<button id="&kbd.key18.id;" class="&kbd.key18.class;" 
	    label="&kbd.key18.label;" oncommand="&kbd.key18.command;"/>
	<button id="&kbd.key19.id;" class="&kbd.key19.class;" 
	    label="&kbd.key19.label;" oncommand="&kbd.key19.command;"/>
	<button id="&kbd.key20.id;" class="&kbd.key20.class;" 
	    label="&kbd.key20.label;" oncommand="&kbd.key20.command;"/>
	<button id="&kbd.key21.id;" class="&kbd.key21.class;" 
	    label="&kbd.key21.label;" oncommand="&kbd.key21.command;"/>
	<button id="&kbd.key22.id;" class="&kbd.key22.class;" 
	    label="&kbd.key22.label;" oncommand="&kbd.key22.command;"/>
	<button id="&kbd.key23.id;" class="&kbd.key23.class;" 
	    label="&kbd.key23.label;" oncommand="&kbd.key23.command;"/>
	<button id="&kbd.key24.id;" class="&kbd.key24.class;" 
	    label="&kbd.key24.label;" oncommand="&kbd.key24.command;"/>
	<button id="&kbd.key25.id;" class="&kbd.key25.class;" 
	    label="&kbd.key25.label;" oncommand="&kbd.key25.command;"/>
-->
<!--	<button class="VKeyB" label="reset" oncommand="VKboard_reset();"/> -->
    </hbox>
    <hbox>
<!-- 	
	<button id="&kbd.key26.id;" class="&kbd.key26.class;" 
	    label="&kbd.key26.label;" oncommand="&kbd.key26.command;"/>
	<button id="&kbd.key27.id;" class="&kbd.key27.class;" 
	    label="&kbd.key27.label;" oncommand="&kbd.key27.command;"/>
	<button id="&kbd.key28.id;" class="&kbd.key28.class;" 
	    label="&kbd.key28.label;" oncommand="&kbd.key28.command;"/>
	<button id="&kbd.key29.id;" class="&kbd.key29.class;" 
	    label="&kbd.key29.label;" oncommand="&kbd.key29.command;"/>
	<button id="&kbd.key30.id;" class="&kbd.key30.class;" 
	    label="&kbd.key30.label;" oncommand="&kbd.key30.command;"/>
	<button id="&kbd.key31.id;" class="&kbd.key31.class;" 
	    label="&kbd.key31.label;" oncommand="&kbd.key31.command;"/>
	<button id="&kbd.key32.id;" class="&kbd.key32.class;" 
	    label="&kbd.key32.label;" oncommand="&kbd.key32.command;"/>
	<button id="&kbd.key33.id;" class="&kbd.key33.class;" 
	    label="&kbd.key33.label;" oncommand="&kbd.key33.command;"/>
	<button id="&kbd.key34.id;" class="&kbd.key34.class;" 
	    label="&kbd.key34.label;" oncommand="&kbd.key34.command;"/>
	<button id="&kbd.key35.id;" class="&kbd.key35.class;" 
	    label="&kbd.key35.label;" oncommand="&kbd.key35.command;"/>
	<button id="&kbd.key36.id;" class="&kbd.key36.class;" 
	    label="&kbd.key36.label;" oncommand="&kbd.key36.command;"/>
	<button id="&kbd.key37.id;" class="&kbd.key37.class;" 
	    label="&kbd.key37.label;" oncommand="&kbd.key37.command;"/>
-->
<!--	<button id="&kbd.key36.id;" class="&kbd.key36.class;"
	      label="&kbd.key36.label;"  oncommand="&kbd.key36.command;"/>
	<button class="VKeyB" label="delete" oncommand="VKhandledelete();"/>
    <button class="VKeyB" label="Return" oncommand="VKhandlefocus('\n');"/>
-->
    </hbox>
   </vbox>
   <toolbar id="VKnumpad" class="VKaux_pad" grippytooltiptext="Numeric Keypad click to Popup">
   <vbox id="VKboard_numpad">
      <hbox>
	<button class="VKey" label="9" oncommand="VKhandlefocus('9');"/>
	<button class="VKey" label="8" oncommand="VKhandlefocus('8');"/>
	<button class="VKey" label="7" oncommand="VKhandlefocus('7');"/>
	<button class="VKey" label="-" oncommand="VKhandlefocus('-');"/>
      </hbox>
       <hbox>
	<button class="VKey" label="6" oncommand="VKhandlefocus('6');"/>
	<button class="VKey" label="5" oncommand="VKhandlefocus('5');"/>
	<button class="VKey" label="4" oncommand="VKhandlefocus('4');"/>
	<button class="VKey" label="+" oncommand="VKhandlefocus('+');"/>
      </hbox>
       <hbox>
	<button class="VKey" label="3" oncommand="VKhandlefocus('3');"/>
	<button class="VKey" label="2" oncommand="VKhandlefocus('2');"/>
	<button class="VKey" label="1" oncommand="VKhandlefocus('1');"/>
	<button class="VKey" label="0" oncommand="VKhandlefocus('0');"/>
      </hbox>
   </vbox>
   </toolbar>
   <toolbar id="VKspecialpad" class="VKaux_pad" 
	grippytooltiptext="Special Keypad click to Popup">
    <vbox id="VKspecialpadB">
      <hbox>
	<button id="&kbd.spec1.id;" class="&kbd.spec1.class;"
	      label="&kbd.spec1.label;" oncommand="&kbd.spec1.command;"/>
<!--	<button class="VKey" label="&#40;" oncommand="VKhandlefocus('(');"/> -->
	<button class="VKey" label=")" oncommand="VKhandlefocus(')');"/>
	<button class="VKey" label="#" oncommand="VKhandlefocus('#');"/>
	<button class="VKey" label="$" oncommand="VKhandlefocus('$');"/>
      </hbox>
      <hbox>
	<button class="VKey" label="_" oncommand="VKhandlefocus('_');"/>
	<button class="VKey" label="^" oncommand="VKhandlefocus('^');"/>
	<button class="VKey" label="&#38;" oncommand="VKhandlefocus('&#38;');"/>
	<button class="VKey" label="*" oncommand="VKhandlefocus('*');"/>
      </hbox>
      <hbox>
	<button class="VKey" label="&#59;" oncommand="VKhandlefocus('&#59;');"/>
	<button class="VKey" label="=" oncommand="VKhandlefocus('=');"/>
	<button class="VKey" label="%" oncommand="VKhandlefocus('%');"/>
	<button class="VKey" label="&#126;" oncommand="VKhandlefocus('~');"/>
      </hbox>
    </vbox>
  </toolbar>
  </toolbar>
  </toolbox>
</window>

</overlay>