I'm trying to develop a small suite of tools that will be run from a group in
the Insert Bar.
I have a command that works OK from the 'Commands' menu, but not from the
Insert Bar.
How do I achieve this from the Insert bar? Currently it inserts the DOCTYPE
into the current document!

Which DOCTYPE declaration should I use for this?
Any hints gratefully received!

The html is:
<!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
<HTML>
<HEAD>
<TITLE>Create New Page From Specific Template</TITLE>
<script language="javascript">
function newFromSpecificTemplate(){
var siteRoot = dreamweaver.getSiteRoot();
var templateFile = siteRoot + 'Templates/MyTemplate.dwt';
dreamweaver.newFromTemplate(templateFile,1);
}
</script>
</HEAD>
<body onLoad="newFromSpecificTemplate()">
</body>
</HTML>