<?xml version="1.0" encoding="ISO-8859-1"?>
<Root_Element ID="DAOCUi">
	
	<WindowTemplate>
		<Name>new_quest</Name>
		<CloseButton>true</CloseButton>
		<MoveButton>true</MoveButton>	
		<Height>400</Height>
	  <Width>300</Width>
		<TitleWidth>300</TitleWidth>
		<TitleHeight>18</TitleHeight>
		<WindowId>NewQuest</WindowId>
				
		<FullResizeImageDef>
		  <TemplateName>StandardBackground</TemplateName>
			<ControlId>BackgroundImage</ControlId>
  		<Position>
				<X>0</X>
				<Y>0</Y>
			</Position>			
			<Height>400</Height>
			<Width>300</Width>
		</FullResizeImageDef>
		
		<HorizontalResizeImageDef>
			<Position>
				<X>10</X>
				<Y>24</Y>
			</Position>
			<TemplateName>dialog_inset</TemplateName>
			<Height>20</Height>
			<Width>280</Width>
		</HorizontalResizeImageDef>
				
		<LabelDef>
			<Position>
				<X>15</X>
				<Y>25</Y>
			</Position>
			<Height>15</Height>			
		  <Width>270</Width>		 
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial11</FontName>
			<MaxCharacters>128</MaxCharacters>
			<Adapter>new_quest_title</Adapter>
		</LabelDef>

		<TextAreaDef>
			<TemplateName>generic_textarea</TemplateName>
			<Position>
				<X>10</X>
				<Y>40</Y>
			</Position>			
			<Height>180</Height>
			<Width>280</Width>
			<Alignment>
				<CenterHorizontally>true</CenterHorizontally>
			</Alignment>
			<ControlId>1000</ControlId>
			<HasHotspots>false</HasHotspots>
			<MaxCharacters>32768</MaxCharacters>
			<AdapterName>new_quest_text</AdapterName>
		</TextAreaDef>
		
		<HorizontalResizeImageDef>
			<Position>
				<X>10</X>
				<Y>224</Y>
			</Position>
			<TemplateName>dialog_inset</TemplateName>
			<Height>20</Height>
			<Width>280</Width>
		</HorizontalResizeImageDef>				
		
		<LabelDef>
		  <Data>Basic Rewards</Data>		  
			<Position>
				<X>15</X>
				<Y>225</Y>
			</Position>
			<Height>15</Height>			
		  <Width>256</Width>		 
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial11</FontName>
			<MaxCharacters>128</MaxCharacters>
			<Adapter>none</Adapter>
		</LabelDef>
			
		<!-- Basic reward frames -->
		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>13</X>
				<Y>240</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>47</X>
				<Y>240</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>81</X>
				<Y>240</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>115</X>
				<Y>240</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>149</X>
				<Y>240</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>183</X>
				<Y>240</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>217</X>
				<Y>240</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>251</X>
				<Y>240</Y>
			</Position>
		</ImageAreaDef>
		
		<!-- Basic reward icons --> 
		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>13</X>
				<Y>240</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1010</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_reward0</AdapterName>
			<LabelAdapterName>new_quest_reward_desc0</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>47</X>
				<Y>240</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1011</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_reward1</AdapterName>
			<LabelAdapterName>new_quest_reward_desc1</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>81</X>
				<Y>240</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1012</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_reward2</AdapterName>
			<LabelAdapterName>new_quest_reward_desc2</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>115</X>
				<Y>240</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1013</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_reward3</AdapterName>
			<LabelAdapterName>new_quest_reward_desc3</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>149</X>
				<Y>240</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1014</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_reward4</AdapterName>
			<LabelAdapterName>new_quest_reward_desc4</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>183</X>
				<Y>240</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1015</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_reward5</AdapterName>
			<LabelAdapterName>new_quest_reward_desc5</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>217</X>
				<Y>240</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1016</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_reward6</AdapterName>
			<LabelAdapterName>new_quest_reward_desc6</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>251</X>
				<Y>240</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1017</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_reward7</AdapterName>
			<LabelAdapterName>new_quest_reward_desc7</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<!-- Exp payout bubbles -->
		<LabelDef>
		  <Data>Exp</Data>		  
			<Position>
				<X>12</X>
				<Y>276</Y>
			</Position>
			<Height>17</Height>			
		  <Width>256</Width>		 
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial9</FontName>
			<MaxCharacters>16</MaxCharacters>
			<Adapter>none</Adapter>
		</LabelDef>
		<StatusBarDef>
			<ControlId>1002</ControlId>
			<Position>
				<X>30</X>
				<Y>276</Y>
			</Position>
			<TemplateName>exp_bubbles</TemplateName>
			<Adaptername>new_quest_exp_coarse</Adaptername>
			<Width>90</Width>
		</StatusBarDef>
		<StatusBarDef>
			<ControlId>1003</ControlId>
			<Position>
				<X>30</X>
				<Y>284</Y>
			</Position>
			<TemplateName>blue_status</TemplateName>
			<Adaptername>new_quest_exp_fine</Adaptername>
			<Width>90</Width>
		</StatusBarDef>

		<!-- Coin payout -->

		<!-- Coin images -->
		<ImageAreaDef>
			<TemplateName>mithril_decal</TemplateName>
			<Position>
				<X>54</X>
				<Y>290</Y>
			</Position>
		</ImageAreaDef>
		<ImageAreaDef>
			<TemplateName>platinum_decal</TemplateName>
			<Position>
				<X>99</X>
				<Y>290</Y>
			</Position>
		</ImageAreaDef>
		<ImageAreaDef>
			<TemplateName>gold_decal</TemplateName>
			<Position>
				<X>141</X>
				<Y>290</Y>
			</Position>
		</ImageAreaDef>
		<ImageAreaDef>
			<TemplateName>silver_decal</TemplateName>
			<Position>
				<X>189</X>
				<Y>290</Y>
			</Position>
		</ImageAreaDef>
		<ImageAreaDef>
			<TemplateName>copper_decal</TemplateName>
			<Position>
				<X>234</X>
				<Y>290</Y>
			</Position>
		</ImageAreaDef>

		<!-- Coin data -->
		<LabelDef>
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial11</FontName>
			<Width>35</Width>
			<Height>16</Height>
			<MaxCharacters>128</MaxCharacters>
			<Data>M  0</Data>
			<Position>
				<X>48</X>
				<Y>300</Y>
			</Position>
		</LabelDef>
		<LabelDef>
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial11</FontName>
			<Width>35</Width>
			<Height>16</Height>
			<MaxCharacters>128</MaxCharacters>
			<Data>P 999</Data>
			<Position>
				<X>93</X>
				<Y>300</Y>
			</Position>
			<Adapter>new_quest_platinum</Adapter>
		</LabelDef>
		<LabelDef>
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial11</FontName>
			<Width>35</Width>
			<Height>16</Height>
			<MaxCharacters>128</MaxCharacters>
			<Data>G 999</Data>
			<Position>
				<X>135</X>
				<Y>300</Y>
			</Position>
			<Adapter>new_quest_gold</Adapter>
		</LabelDef>
		<LabelDef>
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial11</FontName>
			<Width>35</Width>
			<Height>16</Height>
			<MaxCharacters>128</MaxCharacters>
			<Data>S 999</Data>
			<Position>
				<X>186</X>
				<Y>300</Y>
			</Position>
			<Adapter>new_quest_silver</Adapter>
		</LabelDef>
		<LabelDef>
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial11</FontName>
			<Width>35</Width>
			<Height>16</Height>
			<MaxCharacters>128</MaxCharacters>
			<Data>C 999</Data>
			<Position>
				<X>228</X>
				<Y>300</Y>
			</Position>
			<Adapter>new_quest_copper</Adapter>
		</LabelDef>

		<LabelDef>
			<Position>
				<X>200</X>
				<Y>315</Y>
			</Position>
			<Height>15</Height>
			<Width>95</Width>
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial11</FontName>
			<MaxCharacters>16</MaxCharacters>
			<Adapter>new_quest_opt_reward_count</Adapter>
		</LabelDef>

		<!-- Optional rewards section -->
		<HorizontalResizeImageDef>
			<Position>
				<X>10</X>
				<Y>314</Y>
			</Position>
			<TemplateName>dialog_inset</TemplateName>
			<Height>20</Height>
			<Width>280</Width>
		</HorizontalResizeImageDef>				
			
		<LabelDef>
		  <Data>Optional Rewards</Data>		  
			<Position>
				<X>15</X>
				<Y>315</Y>
			</Position>
			<Height>15</Height>			
		  <Width>256</Width>		 
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial11</FontName>
			<MaxCharacters>128</MaxCharacters>
			<Adapter>none</Adapter>
		</LabelDef>
			
		<LabelDef>
			<Position>
				<X>200</X>
				<Y>315</Y>
			</Position>
			<Height>15</Height>
			<Width>95</Width>
			<Color>
				<R>255</R>
				<G>255</G>
				<B>255</B>
				<A>255</A>
			</Color>
			<FontName>arial11</FontName>
			<MaxCharacters>16</MaxCharacters>
			<Adapter>new_quest_opt_reward_count</Adapter>
		</LabelDef>
			
		<!-- Optional reward frames -->
		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>13</X>
				<Y>334</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>47</X>
				<Y>334</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>81</X>
				<Y>334</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>115</X>
				<Y>334</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>149</X>
				<Y>334</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>183</X>
				<Y>334</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>217</X>
				<Y>334</Y>
			</Position>
		</ImageAreaDef>

		<ImageAreaDef>
			<TemplateName>reward_frame_template</TemplateName>
			<Position>
				<X>251</X>
				<Y>334</Y>
			</Position>
		</ImageAreaDef>

			
		<!-- Optional rewards icons -->
		
		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>13</X>
				<Y>334</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1018</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_opt_reward0</AdapterName>
			<LabelAdapterName>new_quest_opt_reward_desc0</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>47</X>
				<Y>334</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1019</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_opt_reward1</AdapterName>
			<LabelAdapterName>new_quest_opt_reward_desc1</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>81</X>
				<Y>334</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1020</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_opt_reward2</AdapterName>
			<LabelAdapterName>new_quest_opt_reward_desc2</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>115</X>
				<Y>334</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1021</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_opt_reward3</AdapterName>
			<LabelAdapterName>new_quest_opt_reward_desc3</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>149</X>
				<Y>334</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1022</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_opt_reward4</AdapterName>
			<LabelAdapterName>new_quest_opt_reward_desc4</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>183</X>
				<Y>334</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1023</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_opt_reward5</AdapterName>
			<LabelAdapterName>new_quest_opt_reward_desc5</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>217</X>
				<Y>334</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1024</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_opt_reward6</AdapterName>
			<LabelAdapterName>new_quest_opt_reward_desc6</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<IconDef>
			<IconID>0</IconID>
			<Position>
				<X>251</X>
				<Y>334</Y>
			</Position>
			<Width>32</Width>
			<Height>32</Height>
			<ControlId>1025</ControlId>
			<TemplateName>plain_icon_large</TemplateName>
			<AdapterName>new_quest_opt_reward7</AdapterName>
			<LabelAdapterName>new_quest_opt_reward_desc7</LabelAdapterName>
			<ToolTipID>38</ToolTipID>
			<HideLabel>1</HideLabel>
		</IconDef>

		<ButtonDef>
			<TemplateName>button_large</TemplateName>
			<OnClickEvent>NewQuestAccept</OnClickEvent>
			<ControlId>1003</ControlId>
			<Label>ACCEPT</Label>
			<Alignment>
				<OffsetBottom>true</OffsetBottom>
			</Alignment>
		  <Position>
				<X>90</X>
				<Y>9</Y>
			</Position>
		</ButtonDef>
		
		<ButtonDef>
			<TemplateName>button_large</TemplateName>
			<OnClickEvent>NewQuestDecline</OnClickEvent>
			<ControlId>1004</ControlId>
			<Label>DECLINE</Label>
			<Position>
				<X>152</X>
				<Y>9</Y>
			</Position>
			<Alignment>
				<OffsetBottom>true</OffsetBottom>
			</Alignment>
		</ButtonDef>		
		
	</WindowTemplate>
</Root_Element>
