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

<window title="news test"
        id="news-test-window" xmlns:html="http://www.w3.org/TR/REC-html40"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <html:script language="javascript" src="news-test.js">
  </html:script>

<html:b>news tests</html:b>
<html:hr/>
<html:div>Newsgroups: can be a comma seperated list of these:</html:div>
<html:ul>
<html:li/>
news://host/group
<html:li/>
news://group
<html:li/>
host/group
<html:li/>
group
</html:ul>
we are not going to allow the user to cross post to multiple hosts.
if we detect that, we stop and return error.    
<html:hr/>
<html:b>Newsgroups:</html:b>
<box align="horizontal" flex="100%">
<html:input id="newsgroups" type="text" style="min-width: 400px; min-height: 27px" flex="100%"/>
</box>  
<html:br/>
<html:b>result:</html:b>
<box align="horizontal" flex="100%">
<html:input id="result" type="text" style="min-width: 400px; min-height: 27px" flex="100%"/>
</box>  
<html:hr/>
<html:button onclick="doit()">do it</html:button>

</window>
