<?xml version="1.0"?> 
<!-- win version of platformDialogOverlay.xul -->

<!DOCTYPE window SYSTEM "chrome://global/locale/platformDialogOverlay.dtd">



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

	<!-- OK & Cancel Buttons -->
	 <box id="okCancelButtons" align="horizontal" style="margin-top: 0.5em">
		<spring flex="100%"/>
		<!-- centering offset for two 10px springs that are not hidden -->
		<spring id="OKSpring" style="width:20px"/>
		<titledbutton id="ok"
					  class="dialog push"
					  value="&okButton.label;"
					  default="true"
					  align="right"
					  onclick="doOKButton()"/>	
		<spring id="Button2Spring" style="width:10px"/>
		<titledbutton id="Button2"
					  class="dialog push"
					  value="&cancelButton.label;"
					  style="display:none;"
					  onclick="doButton2()"/>	
		<spring id="Button3Spring" style="width:10px"/>
		<titledbutton id="Button3"
					  class="dialog push"
					  value="&cancelButton.label;"
					  style="display:none;"
					  onclick="doButton3()"/>	
		<spring id="CancelSpring" style="width:10px"/>
		<titledbutton id="cancel"
					  class="dialog push"
					  value="&cancelButton.label;"
					  onclick="doCancelButton()"/>	
		<spring flex="100%"/>
	</box>
	
	<keyset id="keyset">
		<key keycode="VK_ENTER" oncommand="doOKButton()"/>
		<key keycode="VK_RETURN" oncommand="doOKButton()"/>
		<key keycode="VK_ESCAPE" oncommand="doCancelButton()"/>
	</keyset>

</overlay>		
