<?xml version="1.0"?>
<!DOCTYPE dialog PUBLIC "-//MOZILLA//DTD XUL V1.0//EN" "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>

<dialog id="dlg_about"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        persist="screenX screenY"
        width="400"
        height="300"
        buttons="accept"
        title="About..."
        onload="init()"
        hidechrome="false"
        style="background-color:black;"
    >

<script type="application/x-javascript" src="js/global.js" />
<script>
	function init()
	{
		var xai = Cc["@mozilla.org/xre/app-info;1"]
										 .getService(Ci.nsIXULAppInfo);
		
		$('des_name').value+=			xai.name;
		
		$('des_version').value+= 	xai.version;
		//$('des_build').value+=		xai.appBuildID;
		//$('des_id').value+=				xai.ID;
		$('des_vendor').value+= 	xai.vendor;
		$('des_platform').value+=	xai.platformVersion;
		//$('des_platformbd').value+=	xai.platformBuildID;
	}
</script>

<description id="des_name" style="color:white;font-size:25pt" />

<separator class="groove" />

<hbox>
 <vbox>
	<image src="img/logo.gif" />
 </vbox>
 
  <vbox style="color:white" align="end" flex="1">
		<description id="des_version" value="version : " />
		<description id="des_platform" value="platformVersion : " />
		<description id="des_vendor" value="by " />
		
		<html:a href="mailto:contact@thx1138.be" style="display:block;color:#1111CC">contact@thx1138.be</html:a>

	</vbox>
</hbox>

<spacer flex="1" />
<!--
<progressmeter mode="undetermined" style="
-moz-appearance: none !important;
background: transparent !important;
border: transparent !important;
" />
-->
</dialog>