oType="dijit.Tree" id="mytree" store="mailStore"
							childrenAttr="folders" query="{type:'folder'}" label="Folders">
							<script type="dojo/method" event="onClick" args="item">
								if(!item){
									return;	// top level node in tree doesn't correspond to any item
								}
								/* filter the message list to messages in this folder */
								table.setQuery({
									type: "message",
									folder: mailStore.getValue(item, "id")
								});
							</script>
							<script type="dojo/method"