<config>
<static>
	
	<UI.CPanels>
		<panels>
			
			<mainmenu _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>250</y>
						<halign>center</halign>
						<width>300</width>
						<height>270</height>
					</frame>

					<download _extends="/controldefs/choicetext">
						<text>Download Tradewinds 2</text>
						<x>400</x>
						<y>265</y> 
						<tooltip>Download Full Version</tooltip>
						<onlclick>download_full_game</onlclick>
					</download>
					<storymodebutton _extends="/controldefs/choicetext">
						<text>Story Mode</text>
						<tooltip>Story Mode</tooltip>
						<x>400</x>
						<y>310</y>
						<width>200</width>
						<onlclick>hidepanel(mainmenu);hidelogo;freetrade(off);showpanel(choosecharacter)</onlclick>
					</storymodebutton>
					<freetradebutton _extends="/controldefs/choicetext">
						<text>Free Trade Mode</text>
						<tooltip>Focus on trade and profit</tooltip>
						<x>400</x>
						<y>340</y>
						<width>200</width>
						<onlclick>hidepanel(mainmenu);hidelogo;freetrade(on);showpanel(choosecharacter)</onlclick>
					</freetradebutton>
					<optionsbutton _extends="/controldefs/choicetext">
						<text>Options</text>
						<tooltip>Configure Tradewinds 2</tooltip>
						<x>400</x>
						<y>370</y>
						<width>200</width>
						<onlclick>hidepanel(mainmenu);refresh_options;showpanel(options)</onlclick>
					</optionsbutton>
					<helpbutton _extends="/controldefs/choicetext">
						<text>Help</text>
						<tooltip>How to play</tooltip>
						<x>400</x>
						<y>400</y>
						<width>200</width>
						<onlclick>gethelp</onlclick>
					</helpbutton>
					<creditsbutton _extends="/controldefs/choicetext">
						<text>Credits</text>
						<tooltip>Meet the Makers</tooltip>
						<x>400</x>
						<y>430</y>
						<width>200</width>
						<onlclick>hidepanel(mainmenu);showpanel(credits)</onlclick>
					</creditsbutton>
					<hidebutton _extends="/controldefs/choicetext">
						<text>Hide this Menu</text>
						<tooltip>View the scenery</tooltip>
						<x>400</x>
						<y>460</y>
						<width>200</width>
						<onlclick>hidepanel(mainmenu);showpanel(restore)</onlclick>
					</hidebutton>
				</elements>
			</mainmenu>
			
			<restore _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<showbutton _extends="/controldefs/choicetext">
						<text>Restore Main Menu</text>
						<tooltip>Back to Main Menu</tooltip>
						<x>660</x>
						<y>560</y>
						<width>200</width>
						<onlclick>hidepanel(restore);showpanel(mainmenu)</onlclick>
					</showbutton>
				</elements>
			</restore>
			
			<confirmquit _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>300</y>
						<halign>center</halign>
						<width>300</width>
						<height>145</height>
					</frame>
					<message _extends="/controldefs/centertext">
						<x>400</x>
						<y>330</y>
						<text>Exit to Windows?</text>
					</message>
					<yes _extends="/controldefs/choicetext">
						<text>Yarrgh!</text>
						<tooltip>Yes</tooltip>
						<x>323</x>
						<y>385</y>
						<width>60</width>
						<onlclick>hidepanel(confirmquit);quit</onlclick>
					</yes>
					<no _extends="/controldefs/choicetext">
						<text>Narrgh!</text>
						<tooltip>No</tooltip>
						<x>472</x>
						<y>385</y>
						<width>60</width>
						<onlclick>hidepanel(confirmquit);showpanel(mainmenu)</onlclick>
					</no>
				</elements>
			</confirmquit>
		
			<credits _class="UI.CPanel" x="0" y="-60" width="800" height="600">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>385</x>
						<y>235</y>
						<halign>center</halign>
						<width>580</width>
						<height>405</height>
					</frame>
					<title _extends="/controldefs/label">
						<text>CREDITS</text>
						<x>390</x>
						<y>242</y>
					</title>
					<credit1 _extends="/controldefs/basictext">
						<text>Game Design and Programming</text>
						<x>120</x>
						<y>275</y>
					</credit1>
					<credit2 _extends="/controldefs/basictext">
						<text>Andy Megowan</text>
						<x>160</x>
						<y>295</y>
					</credit2>
					<credit3 _extends="/controldefs/basictext">
						<text>Addtional Programming</text>
						<x>120</x>
						<y>330</y>
					</credit3>
					<credit4 _extends="/controldefs/basictext">
						<text>Clint Levijoki</text>
						<x>160</x>
						<y>350</y>
					</credit4>
					<credit5 _extends="/controldefs/basictext">
						<text>Additional Game Design</text>
						<x>120</x>
						<y>380</y>
					</credit5>
					<credit6 _extends="/controldefs/basictext">
						<text>Andrew Lum</text>
						<x>160</x>
						<y>400</y>
					</credit6>
					<credit7 _extends="/controldefs/basictext">
						<text>Art Director</text>
						<x>120</x>
						<y>435</y>
					</credit7>
					<credit8 _extends="/controldefs/basictext">
						<text>Israel Evans</text>
						<x>160</x>
						<y>455</y>
					</credit8>
					<credit9 _extends="/controldefs/basictext">
						<text>Artists</text>
						<x>120</x>
						<y>485</y>
					</credit9>
					<credit9a _extends="/controldefs/basictext">
						<text>Israel Evans</text>
						<x>160</x>
						<y>505</y>
					</credit9a>
					<credit9b _extends="/controldefs/basictext">
						<text>Fil Worobey</text>
						<x>160</x>
						<y>525</y>
					</credit9b>
					<credit10 _extends="/controldefs/basictext">
						<text>Darren Ohail</text>
						<x>160</x>
						<y>545</y>
					</credit10>
					<credit12 _extends="/controldefs/basictext">
						<text>Sound and Music</text>
						<x>430</x>
						<y>275</y>
					</credit12>
					<credit13 _extends="/controldefs/basictext">
						<text>Daniel Bernstein</text>
						<x>470</x>
						<y>295</y>
					</credit13>
					<credit14 _extends="/controldefs/basictext">
						<text>Writing</text>
						<x>430</x>
						<y>330</y>
					</credit14>
					<credit15 _extends="/controldefs/basictext">
						<text>Dana Hanna</text>
						<x>470</x>
						<y>350</y>
					</credit15>
					<credit16 _extends="/controldefs/basictext">
						<text>Matthaeus Szumanski</text>
						<x>470</x>
						<y>370</y>
					</credit16>
					<credit17 _extends="/controldefs/basictext">
						<text>Scripting and Layout</text>
						<x>430</x>
						<y>405</y>
					</credit17>
					<credit18 _extends="/controldefs/basictext">
						<text>Andrew Lum</text>
						<x>470</x>
						<y>425</y>
					</credit18>
					<credit19 _extends="/controldefs/basictext">
						<text>Brian Lynch</text>
						<x>470</x>
						<y>445</y>
					</credit19>
					<credit20 _extends="/controldefs/basictext">
						<text>Quality Assurance</text>
						<x>430</x>
						<y>480</y>
					</credit20>
					<credit21 _extends="/controldefs/basictext">
						<text>Andrew Lum</text>
						<x>470</x>
						<y>500</y>
					</credit21>
					<credit22 _extends="/controldefs/basictext">
						<text>Brian Lynch</text>
						<x>470</x>
						<y>520</y>
					</credit22>
					<credit23 _extends="/controldefs/basictext">
						<text>Game Instinct</text>
						<x>470</x>
						<y>540</y>
					</credit23>
					<credit24 _extends="/controldefs/basictext">
						<text>Web Version - ITPremium</text>
						<x>260</x>
						<y>570</y>
					</credit24>
					<back _extends="/controldefs/choicetext">
						<text>Back</text>
						<x>375</x>
						<y>600</y>
						<onlclick>hidepanel(credits);showpanel(mainmenu)</onlclick>
					</back>
				</elements>
			</credits>

			<choosecharacter _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<title _extends="/controldefs/label">
						<text>Select your CHARACTER</text>
						<x>400</x>
						<y>0</y>
					</title>

					<portrait_1 _class="UI.CBitmapButton">
						<link>portrait-vangregor</link>
						<halign>center</halign>
						<valign>center</valign>
						<x>80</x>
						<y>125</y>
						<cooltime>0.5</cooltime>
						<onhot>describe(2)</onhot>
						<oncold>describe(0)</oncold>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
					</portrait_1>
		
					<portrait_2 _class="UI.CBitmapButton">
						<link>portrait-christine</link>
						<halign>center</halign>
						<valign>center</valign>
						<x>293</x>
						<y>125</y>
						<cooltime>0.5</cooltime>
						<onhot>describe(1)</onhot>
						<oncold>describe(0)</oncold>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>newgame</onlclick>
					</portrait_2>

					<portrait_3 _class="UI.CBitmapButton">
						<link>portrait-verdugo</link>
						<halign>center</halign>
						<valign>center</valign>
						<x>507</x>
						<y>125</y>
						<cooltime>0.5</cooltime>
						<onhot>describe(2)</onhot>
						<oncold>describe(0)</oncold>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
					</portrait_3>
		
					<portrait_4 _class="UI.CBitmapButton">
						<link>portrait-adia</link>
						<halign>center</halign>
						<valign>center</valign>
						<x>720</x>
						<y>125</y>
						<cooltime>0.5</cooltime>
						<onhot>describe(2)</onhot>
						<oncold>describe(0)</oncold>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
					</portrait_4>  

					<portrait_5 _class="UI.CBitmapButton">
						<link>portrait-laroche</link>
						<halign>center</halign>
						<valign>center</valign>
						<x>720</x>
						<y>340</y>
						<cooltime>0.5</cooltime>
						<onhot>describe(2)</onhot>
						<oncold>describe(0)</oncold>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
					</portrait_5>

					<portrait_6 _class="UI.CBitmapButton">
						<link>portrait-mysterymark</link>
						<halign>center</halign>
						<valign>center</valign>
						<x>80</x>
						<y>340</y>
						<cooltime>0.5</cooltime>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onhot>describe(3)</onhot>
						<oncold>describe(0)</oncold>
					</portrait_6>
					
					<frame _extends="/controldefs/popupframe">
						<x>395</x>
						<y>225</y>
						<halign>center</halign>
						<width>460</width>
						<height>365</height>
					</frame>
		
					<description _extends="/controldefs/basictext">
						<text>Move your mouse over each portrait to learn more about the character.  Click on a portrait to select that character.</text>
						<x>180</x>
						<y>235</y>
						<wrapwidth>430</wrapwidth>
					</description>
		
					<back _extends="/controldefs/choicetext">
						<text>Back</text>
						<x>400</x>
						<y>550</y> 
						<tooltip>Back to Main Menu</tooltip>
						<onlclick>hidepanel(choosecharacter);showlogo;showpanel(mainmenu)</onlclick>
					</back>
				</elements>
			</choosecharacter>

			<storymode _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>250</y>
						<halign>center</halign>
						<width>400</width>
						<height>135</height>
					</frame>
					<title _extends="/controldefs/label">
						<text>Story Mode</text>
						<x>400</x>
						<y>0</y>
					</title>
					<description _extends="/controldefs/basictext">
						<text>Play Story Mode in the Download Version to sail to new ports, embark on tasks, and learn the fate of your character!</text>
						<x>210</x>
						<y>275</y>
						<wrapwidth>380</wrapwidth>
					</description>
					<ok _extends="/controldefs/choicetext">
						<text>OK</text>
						<x>400</x>
						<y>330</y> 
						<tooltip>Back to Main Menu</tooltip>
						<onlclick>hidepanel(storymode);showpanel(mainmenu)</onlclick>
					</ok>
				</elements>
			</storymode>

			<!--careermode _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>250</y>
						<halign>center</halign>
						<width>400</width>
						<height>135</height>
					</frame>
					<title _extends="/controldefs/label">
						<text>Career Mode</text>
						<x>400</x>
						<y>0</y>
					</title>
					<description _extends="/controldefs/basictext">
						<text>Play Career Mode in the Download Version to sail to new ports, embark on tasks, and learn the fate of your character!</text>
						<x>210</x>
						<y>275</y>
						<wrapwidth>380</wrapwidth>
					</description>
					<ok _extends="/controldefs/choicetext">
						<text>OK</text>
						<x>400</x>
						<y>330</y> 
						<tooltip>Back to Main Menu</tooltip>
						<onlclick>hidepanel(careermode);showpanel(mainmenu)</onlclick>
					</ok>
				</elements>
			</careermode-->

			<begingame _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<portrait _class="UI.CBitmap">
						<halign>center</halign>
						<valign>center</valign>
						<x>400</x>
						<y>130</y>
						<link>portrait-empty</link>
					</portrait>
					<name _extends="/controldefs/label">
						<text>Turbo the Snail</text>
						<x>400</x>
						<y>240</y>
						<width>200</width>
					</name>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>290</y>
						<halign>center</halign>
						<width>600</width>
						<height>260</height>
					</frame>
					<intro _extends="/controldefs/basictext">
						<text>Move your mouse over each portrait to learn more about the character.  Click on a portrait to select that character.</text>
						<x>124</x>
						<y>312</y>
						<wrapwidth>561</wrapwidth>
					</intro>
					<online _extends="/controldefs/smalltext">
						<text>Play as Christine McGowan for 6 months in the online version.</text>
						<halign>center</halign>
						<x>400</x>
						<y>480</y>
					</online>
					<begin _extends="/controldefs/choicetext">
						<text>BEGIN</text>
						<x>400</x>
						<y>500</y>
						<onlclick>hidepanel(begingame);begingame</onlclick>
					</begin>
				</elements>
			</begingame>
		
			<options _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<title _extends="/controldefs/label">
						<text>Options</text>
						<x>400</x>
						<y>15</y>
					</title>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>250</y>
						<halign>center</halign>
						<width>350</width>
						<height>270</height>
					</frame>
					<soundlabel _extends="/controldefs/centertext">
						<text>Sound FX Volume</text>
						<x>400</x>
						<y>315</y>
					</soundlabel>
					<soundslider _extends="/controldefs/settingslider">
						<x>400</x>
						<y>335</y>
						<tooltip>Adjusts the volume</tooltip>
						<onlclick>set_sfx</onlclick>
					</soundslider>
					<decsound _extends="/controldefs/dec_button">
						<tooltip>Quieter</tooltip>
						<x>257</x>
						<y>330</y>
						<onlclick>dec_sfx</onlclick>
					</decsound>
					<incsound _extends="/controldefs/inc_button">
						<tooltip>Louder</tooltip>
						<x>507</x>
						<y>330</y>
						<onlclick>inc_sfx</onlclick>
					</incsound>
					<amblabel _extends="/controldefs/centertext">
						<text>Ambient Volume</text>
						<x>400</x>
						<y>270</y>
					</amblabel>
					<ambslider _extends="/controldefs/settingslider">
						<x>400</x>
						<y>290</y>
						<tooltip>Adjusts the volume</tooltip>
						<onlclick>set_amb</onlclick>
					</ambslider>
					<decamb _extends="/controldefs/dec_button">
						<tooltip>Quieter</tooltip>
						<x>257</x>
						<y>285</y>
						<onlclick>dec_amb</onlclick>
					</decamb>
					<incamb _extends="/controldefs/inc_button">
						<tooltip>Louder</tooltip>
						<x>507</x>
						<y>285</y>
						<onlclick>inc_amb</onlclick>
					</incamb>
					<waterfx _extends="/controldefs/toggle">
						<text>Sea current: Off</text>
						<text>Sea current: On</text>
						<x>400</x>
						<y>355</y>
						<width>250</width>
						<tooltip>Click to switch</tooltip>
						<onlclick>waterfx</onlclick>
					</waterfx>
					<!--graphicdetail _extends="/controldefs/toggle">
						<tooltip>Change Performance Settings</tooltip>
						<text>Graphic Detail: Low</text>
						<text>Graphic Detail: Medium</text>
						<text>Graphic Detail: High</text>
						<width>250</width>
						<x>400</x>
						<y>385</y>
						<onlclick>setgraphicdetail</onlclick>
					</graphicdetail-->
					<sailspeed _extends="/controldefs/toggle">
						<tooltip>Adjust how time passes on the World Map</tooltip>
						<text>Sailing Speed: Slow</text>
						<text>Sailing Speed: Normal</text>
						<text>Sailing Speed: Fast</text>
						<width>250</width>
						<x>400</x>
						<y>385</y>
						<onlclick>setsailspeed</onlclick>
					</sailspeed>
					<textspeed _extends="/controldefs/toggle">
						<tooltip>Adjust the speed dialogue will appear</tooltip>
						<text>Dialogue Speed: Slow</text>
						<text>Dialogue Speed: Normal</text>
						<text>Dialogue Speed: Fast</text>
						<width>250</width>
						<x>400</x>
						<y>415</y>
						<onlclick>settextspeed</onlclick>
					</textspeed>
					<tutorialtoggle _extends="/controldefs/toggle">
						<tooltip>Get helpful tips in the game</tooltip>
						<text>Tutorial: OFF</text>
						<text>Tutorial: ON</text>
						<width>250</width>
						<x>400</x>
						<y>445</y>
						<onlclick>toggletutorial</onlclick>
					</tutorialtoggle>

					<back _extends="/controldefs/choicetext">
						<text>Back</text>
						<tooltip>Main Menu</tooltip>
						<x>400</x>
						<y>475</y>
						<width>100</width>
						<onlclick>hidepanel(options);showpanel(mainmenu)</onlclick>
					</back>
				</elements>
			</options>
		
			<ingamemenu _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>300</y>
						<halign>center</halign>
						<width>300</width>
						<height>120</height>
					</frame>
					<resumebutton _extends="/controldefs/choicetext">
						<text>Resume</text>
						<tooltip>Continue playing</tooltip>
						<x>400</x>
						<y>310</y>
						<width>200</width>
						<onlclick>hidepanel(ingamemenu);resume</onlclick>
					</resumebutton>
					<optionsbutton _extends="/controldefs/choicetext">
						<text>Options</text>
						<tooltip>Configure Tradewinds 2</tooltip>
						<x>400</x>
						<y>340</y>
						<width>200</width>
						<onlclick>hidepanel(ingamemenu);refresh_options;showpanel(ingameoptions)</onlclick>
					</optionsbutton>
					<endbutton _extends="/controldefs/choicetext">
						<text>Quit to Main Menu</text>
						<tooltip>Quit and return to the Main Menu</tooltip>
						<x>400</x>
						<y>370</y>
						<width>200</width>
						<onlclick>hidepanel(ingamemenu);showpanel(confirmabort)</onlclick>
					</endbutton>
				</elements>
			</ingamemenu>
					   
			<ingameoptions _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<title _extends="/controldefs/label">
						<text>Options</text>
						<x>400</x>
						<y>15</y>
					</title>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>220</y>
						<halign>center</halign>
						<width>350</width>
						<height>300</height>
					</frame>
					<soundlabel _extends="/controldefs/centertext">
						<text>Sound FX Volume</text>
						<x>400</x>
						<y>285</y>
					</soundlabel>
					<soundslider _extends="/controldefs/settingslider">
						<x>400</x>
						<y>305</y>
						<tooltip>Adjusts the volume</tooltip>
						<onlclick>set_sfx</onlclick>
					</soundslider>
					<decsound _extends="/controldefs/dec_button">
						<tooltip>Quieter</tooltip>
						<x>257</x>
						<y>300</y>
						<onlclick>dec_sfx</onlclick>
					</decsound>
					<incsound _extends="/controldefs/inc_button">
						<tooltip>Louder</tooltip>
						<x>507</x>
						<y>300</y>
						<onlclick>inc_sfx</onlclick>
					</incsound>
					<amblabel _extends="/controldefs/centertext">
						<text>Ambient Volume</text>
						<x>400</x>
						<y>240</y>
					</amblabel>
					<ambslider _extends="/controldefs/settingslider">
						<x>400</x>
						<y>260</y>
						<tooltip>Adjusts the volume</tooltip>
						<onlclick>set_amb</onlclick>
					</ambslider>
					<decamb _extends="/controldefs/dec_button">
						<tooltip>Quieter</tooltip>
						<x>257</x>
						<y>255</y>
						<onlclick>dec_amb</onlclick>
					</decamb>
					<incamb _extends="/controldefs/inc_button">
						<tooltip>Louder</tooltip>
						<x>507</x>
						<y>255</y>
						<onlclick>inc_amb</onlclick>
					</incamb>
					<waterfx _extends="/controldefs/toggle">
						<text>Sea current: Off</text>
						<text>Sea current: On</text>
						<x>400</x>
						<y>325</y>
						<width>250</width>
						<tooltip>Click to switch</tooltip>
						<onlclick>waterfx</onlclick>
					</waterfx>
					<!--graphicdetail _extends="/controldefs/toggle">
						<tooltip>Change Performance Settings</tooltip>
						<text>Graphic Detail: Low</text>
						<text>Graphic Detail: Medium</text>
						<text>Graphic Detail: High</text>
						<width>250</width>
						<x>400</x>
						<y>355</y>
						<onlclick>setgraphicdetail</onlclick>
					</graphicdetail-->
					<sailspeed _extends="/controldefs/toggle">
						<tooltip>Adjust how time passes on the World Map</tooltip>
						<text>Sailing Speed: Slow</text>
						<text>Sailing Speed: Normal</text>
						<text>Sailing Speed: Fast</text>
						<width>250</width>
						<x>400</x>
						<y>355</y>
						<onlclick>setsailspeed</onlclick>
					</sailspeed>
					<textspeed _extends="/controldefs/toggle">
						<tooltip>Adjust the speed dialogue will appear</tooltip>
						<text>Dialogue Speed: Slow</text>
						<text>Dialogue Speed: Normal</text>
						<text>Dialogue Speed: Fast</text>
						<width>250</width>
						<x>400</x>
						<y>385</y>
						<onlclick>settextspeed</onlclick>
					</textspeed>
					<tutorialtoggle _extends="/controldefs/toggle">
						<tooltip>Get helpful tips in the game</tooltip>
						<text>Tutorial: OFF</text>
						<text>Tutorial: ON</text>
						<width>250</width>
						<x>400</x>
						<y>415</y>
						<onlclick>toggletutorial</onlclick>
					</tutorialtoggle>
					<helpbutton _extends="/controldefs/choicetext">
						<text>Help</text>
						<tooltip>How to play</tooltip>
						<x>400</x>
						<y>445</y>
						<width>250</width>
						<onlclick>gethelp</onlclick>
					</helpbutton>
					<back _extends="/controldefs/choicetext">
						<text>Back</text>
						<tooltip>Main Menu</tooltip>
						<x>400</x>
						<y>475</y>
						<width>100</width>
						<onlclick>hidepanel(ingameoptions);showpanel(ingamemenu)</onlclick>
					</back>
				</elements>
			</ingameoptions>
		
			<confirmabort _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>300</y>
						<halign>center</halign>
						<width>300</width>
						<height>145</height>
					</frame>
					<message _extends="/controldefs/centertext">
						<x>400</x>
						<y>320</y>
						<text>Quittin' so soon?</text>
					</message>
					<yes _extends="/controldefs/choicetext">
						<text>Aye.</text>
						<tooltip>Back to Main Menu</tooltip>
						<x>320</x>
						<y>385</y>
						<width>60</width>
						<onlclick>hidepanel(confirmabort);abortgame</onlclick>
					</yes>
					<no _extends="/controldefs/choicetext">
						<text>Never!!</text>
						<tooltip>Return to Game</tooltip>
						<x>477</x>
						<y>385</y>
						<width>60</width>
						<onlclick>hidepanel(confirmabort);showpanel(ingamemenu)</onlclick>
					</no>
				</elements>
			</confirmabort>
		
			<setsail _class="UI.CPanel" x="578" y="452" width="222" height="127">
				<elements>
					<shipfragment _class="UI.CBitmap">
						<halign>left</halign>
						<valign>top</valign>
						<x>0</x>
						<y>0</y>
						<link>shipbit</link>
					</shipfragment>
					<sailbutton _class="UI.CBitmapButton">
						<link>button-setsail</link>
						<x>87</x>
						<y>69</y>
						<cooltime>0.5</cooltime>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>setsail</onlclick>
					</sailbutton>
				</elements>
			</setsail>
			
			<returntoport _class="UI.CPanel" x="578" y="452" width="222" height="127">
				<elements>
					<shipfragment _class="UI.CBitmap">
						<halign>left</halign>
						<valign>top</valign>
						<x>0</x>
						<y>0</y>
						<link>shipbit</link>
					</shipfragment>
					<returnbutton _class="UI.CBitmapButton">
						<link>button-return</link>
						<x>87</x>
						<y>69</y>
						<cooltime>0.5</cooltime>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>backtoport</onlclick>
					</returnbutton>
				</elements>
			</returntoport>
		
			<mapstorm _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<frame _class="UI.CShadow">
						<x>175</x>
						<y>265</y>
						<width>400</width>
						<height>100</height>
						<alpha>180</alpha>
					</frame>
					<icon _class="UI.CBitmap">
						<x>185</x>
						<y>290</y>
						<link>lost_icon</link>
					</icon>
					<text _extends="/controldefs/tuttext">
						<x>250</x>
						<y>270</y>
						<text>text</text>
						<wrapwidth>320</wrapwidth>
					</text>
					<okbutton _extends="/controldefs/choicetext">
						<text>Continue</text>
						<x>365</x>
						<y>336</y>
						<width>100</width>
						<onlclick>map_ok</onlclick>
					</okbutton>
				</elements>
			</mapstorm>
		
			<mapreveal _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<frame _class="UI.CShadow">
						<x>175</x>
						<y>255</y>
						<width>425</width>
						<height>140</height>
						<alpha>180</alpha>
					</frame>
					<icon _class="UI.CBitmap">
						<x>180</x>
						<y>260</y>
						<link>icon-map-128</link>
					</icon>
					<text _extends="/controldefs/tuttext">
						<x>308</x>
						<y>275</y>
						<text>text</text>
						<wrapwidth>290</wrapwidth>
					</text>
					<okbutton _extends="/controldefs/choicetext">
						<text>Continue</text>
						<x>365</x>
						<y>345</y>
						<width>100</width>
						<onlclick>map_ok</onlclick>
					</okbutton>
				</elements>
			</mapreveal>
		
			<logbar _class="UI.CPanel" x="0" y="460" width="664" height="140">
				<elements>
					<background _class="UI.CBitmap">
						<link>logbar</link>
						<x>0</x>
						<y>0</y>
						<halign>left</halign>
						<width>664</width>
						<height>140</height>
					</background>
					<date _extends="/controldefs/smalltext">
						<x>16</x>
						<y>28</y>
						<text>February 32, 1650</text>
					</date>
					<line1 _extends="/controldefs/smalltext">
						<x>16</x>
						<y>57</y>
						<text>LINE 1</text>
					</line1>
					<line2 _extends="/controldefs/smalltext">
						<x>16</x>
						<y>73</y>
						<text>LINE 2</text>
					</line2>
					<line3 _extends="/controldefs/smalltext">
						<x>16</x>
						<y>89</y>
						<text>LINE 3</text>
					</line3>
					<line4 _extends="/controldefs/smalltext">
						<x>16</x>
						<y>105</y>
						<text>LINE 4</text>
					</line4>
					<line5 _extends="/controldefs/smalltext">
						<x>16</x>
						<y>121</y>
						<text>LINE 5</text>
					</line5>
					<uparrow _class="UI.CBitmapButton">
						<x>549</x>
						<y>58</y>
						<hold firsttime="0.5" nexttime="0.1"/>
						<link>logscroll-up</link>
						<hotsound>highlight</hotsound>
						<selectsound>select</selectsound> 
						<tooltip>Older entries</tooltip>
						<onlclick>logPreviousLine</onlclick>
					</uparrow>
					<downarrow _class="UI.CBitmapButton">
						<x>549</x>
						<y>97</y>
						<hold firsttime="0.5" nexttime="0.1"/>
						<link>logscroll-down</link>
						<hotsound>highlight</hotsound>
						<selectsound>select</selectsound> 
						<tooltip>Newer entries</tooltip>
						<onlclick>logNextLine</onlclick>
					</downarrow>
				</elements>
			</logbar>
		
			<taskscreen _class="UI.CPanel" x="160" y="0" width="640" height="460" modal="true">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>6</x>
						<y>16</y>
						<halign>left</halign>
						<width>627</width>
						<height>443</height>
					</frame>
					<title _extends="/controldefs/label">
						<text>TASKS</text>
						<x>320</x>
						<y>20</y>
						<width>50</width>
					</title>
					<message _class="UI.CText">
						<text>Download Tradewinds 2 today to play over 100 tasks in Story Mode.</text>
						<x>50</x>
						<y>200</y>
						<width>150</width>
					</message>
					<scrollup _class="UI.CBitmapButton">
						<x>560</x>
						<y>50</y>
						<hold firsttime="0.5" nexttime="0.1"/>
						<link>logscreen-scroll-up</link>
						<hotsound>highlight</hotsound>
						<selectsound>select</selectsound>  
						<tooltip>View older tasks</tooltip>
						<onlclick>taskscreen_scrollup</onlclick>
					</scrollup>
					<scrolldown _class="UI.CBitmapButton">
						<x>560</x>
						<y>360</y>
						<hold firsttime="0.5" nexttime="0.1"/>
						<link>logscreen-scroll-down</link>
						<hotsound>highlight</hotsound>
						<selectsound>select</selectsound> 
						<tooltip>View newer tasks</tooltip>
						<onlclick>taskscreen_scrolldown</onlclick>
					</scrolldown>
					<close _extends="/controldefs/choicetext">
						<text>Close</text>
						<x>320</x>
						<y>415</y>
						<width>80</width>
						<onlclick>taskscreen_toggle</onlclick>
					</close>
				</elements>
			</taskscreen>
		
			<logscreen _class="UI.CPanel" x="160" y="0" width="640" height="460" modal="true">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>6</x>
						<y>16</y>
						<halign>left</halign>
						<width>627</width>
						<height>443</height>
					</frame>
					<title _extends="/controldefs/label">
						<text>CAPTAIN'S LOG</text>
						<x>320</x>
						<y>20</y>
						<width>140</width>
					</title>
					<firstdate _class="UI.CText">
						<x>20</x>
						<y>30</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>x</text>
					</firstdate>
					<lastdate _class="UI.CText">
						<x>590</x>
						<y>30</y>
						<font>ramsey</font>
						<halign>right</halign>
						<valign>top</valign>
						<text>x</text>
					</lastdate>
					<logtext0 _class="UI.CText">
						<x>40</x>
						<y>60</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text0</text>
					</logtext0>
					<logtext1 _class="UI.CText">
						<x>40</x>
						<y>80</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text1</text>
					</logtext1>
					<logtext2 _class="UI.CText">
						<x>40</x>
						<y>100</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text2</text>
					</logtext2>
					<logtext3 _class="UI.CText">
						<x>40</x>
						<y>120</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text3</text>
					</logtext3>
					<logtext4 _class="UI.CText">
						<x>40</x>
						<y>140</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text4</text>
					</logtext4>
					<logtext5 _class="UI.CText">
						<x>40</x>
						<y>160</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text5</text>
					</logtext5>
					<logtext6 _class="UI.CText">
						<x>40</x>
						<y>180</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text6</text>
					</logtext6>
					<logtext7 _class="UI.CText">
						<x>40</x>
						<y>200</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text7</text>
					</logtext7>
					<logtext8 _class="UI.CText">
						<x>40</x>
						<y>220</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text8</text>
					</logtext8>
					<logtext9 _class="UI.CText">
						<x>40</x>
						<y>240</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text9</text>
					</logtext9>
					<logtext10 _class="UI.CText">
						<x>40</x>
						<y>260</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text10</text>
					</logtext10>
					<logtext11 _class="UI.CText">
						<x>40</x>
						<y>280</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text11</text>
					</logtext11>
					<logtext12 _class="UI.CText">
						<x>40</x>
						<y>300</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text12</text>
					</logtext12>
					<logtext13 _class="UI.CText">
						<x>40</x>
						<y>320</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text13</text>
					</logtext13>
					<logtext14 _class="UI.CText">
						<x>40</x>
						<y>340</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text14</text>
					</logtext14>
					<logtext15 _class="UI.CText">
						<x>40</x>
						<y>360</y>
						<font>ramsey</font>
						<halign>left</halign>
						<valign>top</valign>
						<text>text15</text>
					</logtext15>
					<pageup _class="UI.CBitmapButton">
						<x>560</x>
						<y>50</y>
						<hold firsttime="0.5" nexttime="0.1"/>
						<link>logscreen-scroll-up</link>
						<hotsound>highlight</hotsound>
						<selectsound>select</selectsound> 
						<tooltip>View earlier entries</tooltip>
						<onlclick>logscreen_pageup</onlclick>
					</pageup>
					<pagedown _class="UI.CBitmapButton">
						<x>560</x>
						<y>360</y>
						<hold firsttime="0.5" nexttime="0.1"/>
						<link>logscreen-scroll-down</link>
						<hotsound>highlight</hotsound>
						<selectsound>select</selectsound> 
						<tooltip>View newer entries</tooltip>
						<onlclick>logscreen_pagedown</onlclick>
					</pagedown>
					<close _extends="/controldefs/choicetext">
						<text>Close</text>
						<x>320</x>
						<y>415</y>
						<width>80</width>
						<onlclick>logscreen_toggle</onlclick>
					</close>
				</elements>
			</logscreen>
		
			<itemscreen _class="UI.CPanel" x="160" y="0" width="640" height="460" modal="true">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>6</x>
						<y>16</y>
						<halign>left</halign>
						<width>627</width>
						<height>443</height>
					</frame>
					<title _extends="/controldefs/label">
						<text>ITEMS</text>
						<x>320</x>
						<y>20</y>
						<width>100</width>
					</title>
					<scrollup _class="UI.CBitmapButton">
						<x>315</x>
						<y>60</y>
						<hold firsttime="0.5" nexttime="0.1"/>
						<link>logscreen-scroll-up</link>
						<hotsound>highlight</hotsound>
						<selectsound>select</selectsound>
						<onlclick>itemscreen_scrollup</onlclick>
					</scrollup>
					<scrolldown _class="UI.CBitmapButton">
						<x>315</x>
						<y>360</y>
						<hold firsttime="0.5" nexttime="0.1"/>
						<link>logscreen-scroll-down</link>
						<hotsound>highlight</hotsound>
						<selectsound>select</selectsound>
						<onlclick>itemscreen_scrolldown</onlclick>
					</scrolldown>
					<itemname _class="UI.CText">
						<x>480</x>
						<y>50</y>
						<halign>center</halign>
						<font>ramsey</font>
						<text>name</text>
					</itemname>
					<bigicon _class="UI.CBitmap">
						<x>480</x>
						<y>140</y>
						<halign>center</halign>
						<valign>center</valign>
						<link>icon-arms-20</link>
					</bigicon>
					<description _class="UI.CText">
						<x>365</x>
						<y>223</y>
						<font>ramsey_small</font>
						<wrapwidth>250</wrapwidth>
						<text>description</text>
					</description>
					<expiretext _class="UI.CText">
						<x>365</x>
						<y>310</y>
						<font>ramsey_small</font>
						<wrapwidth>250</wrapwidth>
						<text>This contract is expired.  Would you like to renew it?</text>
					</expiretext>
					<renew _extends="/controldefs/choicetext">
						<text>Renew</text>
						<x>480</x>
						<y>360</y>
						<width>100</width>
						<onlclick>item_renew</onlclick>
					</renew>
					<release _extends="/controldefs/choicetext">
						<text>Release</text>
						<x>480</x>
						<y>390</y>
						<width>100</width>
						<onlclick>showpanel(confirmrelease)</onlclick>
					</release>
					<close _extends="/controldefs/choicetext">
						<text>Close</text>
						<x>320</x>
						<y>415</y>
						<width>45</width>
						<onlclick>itemscreen_toggle</onlclick>
					</close>
				</elements>
			</itemscreen>
			
			<confirmrelease _class="UI.CPanel" x="0" y="0" width="800" height="600" modal="true">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>660</x>
						<y>260</y>
						<halign>center</halign>
						<width>260</width>
						<height>200</height>
					</frame>
					<message _extends="/controldefs/centertext">
						<x>665</x>
						<y>320</y>
						<text>Are you sure you want to end this contract?</text>
						<wrapwidth>200</wrapwidth>
					</message>
					<yes _extends="/controldefs/choicetext">
						<text>Yes</text>
						<x>610</x>
						<y>400</y>
						<width>30</width>
						<tooltip>yes</tooltip>
						<onlclick>hidepanel(confirmrelease);item_release</onlclick>
					</yes>
					<no _extends="/controldefs/choicetext">
						<text>No</text>
						<x>710</x>
						<y>400</y>
						<width>30</width>
						<tooltip>no</tooltip>
						<onlclick>hidepanel(confirmrelease)</onlclick>
					</no>
				</elements>
				</confirmrelease>
		
			<shipscreen _class="UI.CPanel" x="160" y="0" width="640" height="460" modal="true">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>6</x>
						<y>16</y>
						<halign>left</halign>
						<width>627</width>
						<height>443</height>
					</frame>
					<shipname _extends="/controldefs/label">
						<text>SHIP and CARGO</text>
						<x>320</x>
						<y>20</y>
						<width>150</width>
					</shipname>
					<portrait _class="UI.CBitmap">
						<x>320</x>
						<y>50</y>
						<halign>center</halign>
						<link>sloop-far-normal</link>
					</portrait>
					<shiptype _extends="/controldefs/centertext">
						<x>470</x>
						<y>100</y>
						<text>Yodaddy</text>
					</shiptype>
					<hulltext _extends="/controldefs/basictext">
						<x>40</x>
						<y>180</y>
						<text>Hull Strength:</text>
					</hulltext>
					<hullstats _extends="/controldefs/basictext">
						<x>280</x>
						<y>180</y>
						<text>20/20</text>
					</hullstats>
					<hullbar _extends="/controldefs/progress">
						<x>420</x>
						<y>185</y>
						<width>100</width>
					</hullbar>
					<cargotext _extends="/controldefs/basictext">
						<x>40</x>
						<y>205</y>
						<text>Cargo Capacity:</text>
					</cargotext>
					<cargostats _extends="/controldefs/basictext">
						<x>280</x>
						<y>205</y>
						<text>90/120</text>
					</cargostats>
					<cargobar _extends="/controldefs/progress">
						<x>420</x>
						<y>210</y>
						<width>100</width>
					</cargobar>
					<guntext _extends="/controldefs/basictext">
						<x>40</x>
						<y>230</y>
						<text>Cannons:</text>
					</guntext>
					<gunstats _extends="/controldefs/basictext">
						<x>280</x>
						<y>230</y>
						<text>15 (25 max)</text>
					</gunstats>
					<speedtext _extends="/controldefs/basictext">
						<x>40</x>
						<y>255</y>
						<text>Attack Speed:</text>
					</speedtext>
					<speedstats _extends="/controldefs/basictext">
						<x>280</x>
						<y>255</y>
						<text>69</text>
					</speedstats>
					<itemtext _extends="/controldefs/basictext">
						<x>40</x>
						<y>280</y>
						<text>Special Ability:</text>
					</itemtext>
					<itemname _extends="/controldefs/basictext">
						<x>280</x>
						<y>280</y>
						<text>None</text>
					</itemname>
					<!--warningtext _class="UI.CText">
						<font>ramsey_emp</font>
						<x>30</x>
						<y>100</y>
						<wrapwidth>200</wrapwidth>
						<text>Your ship is overloaded!</text>
					</warningtext-->
					<ammotext _class="UI.CText">
						<font>ramsey_large</font>
						<x>50</x>
						<y>325</y>
						<text>Ammunition</text>
					</ammotext>
					<ammoqtytext _class="UI.CText">
						<font>ramsey_large</font>
						<x>250</x>
						<y>325</y>
						<halign>right</halign>
						<text>Qty</text>
					</ammoqtytext>
					<ammo1icon _class="UI.CBitmapButton">
						<x>20</x>
						<y>345</y>
						<link>icon-arms-20</link>
						<onhot>describe_ammo(0)</onhot>
					</ammo1icon>
					<ammo2icon _class="UI.CBitmapButton">
						<x>20</x>
						<y>370</y>
						<link>icon-arms-20</link>
						<onhot>describe_ammo(1)</onhot>
					</ammo2icon>
					<ammo3icon _class="UI.CBitmapButton">
						<x>20</x>
						<y>395</y>
						<link>icon-arms-20</link>
						<onhot>describe_ammo(2)</onhot>
					</ammo3icon>
					<ammo1name _class="UI.CTextButton">
						<x>50</x>
						<y>350</y>
						<hotsound>highlight</hotsound>
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<text>Lions</text>
						<onhot>describe_ammo(0)</onhot>
					</ammo1name>
					<ammo2name _class="UI.CTextButton">
						<x>50</x>
						<y>375</y>
						<hotsound>highlight</hotsound>
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<text>Tigers</text>
						<onhot>describe_ammo(1)</onhot>
					</ammo2name>
					<ammo3name _class="UI.CTextButton">
						<x>50</x>
						<y>400</y>
						<hotsound>highlight</hotsound>
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<text>Bears</text>
						<onhot>describe_ammo(2)</onhot>
					</ammo3name>
					<ammo1qty _class="UI.CTextButton">
						<halign>left</halign>
						<x>220</x>
						<y>350</y>
						<hotsound>highlight</hotsound>
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<text>1</text>
						<onhot>describe_ammo(0)</onhot>
					</ammo1qty>
					<ammo2qty _class="UI.CTextButton">
						<halign>left</halign>
						<x>220</x>
						<y>375</y>
						<hotsound>highlight</hotsound>
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<text>2</text>
						<onhot>describe_ammo(1)</onhot>
					</ammo2qty>
					<ammo3qty _class="UI.CTextButton">
						<halign>left</halign>
						<x>220</x>
						<y>400</y>
						<hotsound>highlight</hotsound>
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<text>3</text>
						<onhot>describe_ammo(2)</onhot>
					</ammo3qty>
		
					<ammoname _class="UI.CText">
						<x>450</x>
						<y>315</y>
						<text>Name</text>
						<font>ramsey_large</font>
					</ammoname>
					<ammobigicon _class="UI.CBitmap">
						<halign>center</halign>
						<x>490</x>
						<y>345</y>
						<link>icon-arms-128</link>
					</ammobigicon>
					<ammodescription _class="UI.CText">
						<x>400</x>
						<y>385</y>
						<font>ramsey_small</font>
						<wrapwidth>200</wrapwidth>
						<text>Ammo description here</text>
					</ammodescription>
								
					<close _extends="/controldefs/choicetext">
						<text>Close</text>
						<x>320</x>
						<y>415</y>
						<width>80</width>
						<onlclick>shipscreen_toggle</onlclick>
					</close>
				</elements>
			</shipscreen>
		
			<cargoscreen _class="UI.CPanel" x="160" y="0" width="640" height="460" modal="true">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>6</x>
						<y>16</y>
						<halign>left</halign>
						<width>627</width>
						<height>443</height>
					</frame>
					<title _extends="/controldefs/label">
						<text>Ship's CARGO</text>
						<x>320</x>
						<y>20</y>
						<width>150</width>
					</title>
					<headername _extends="/controldefs/smalltext">
						<x>40</x>
						<y>55</y>
						<text>Item</text>
					</headername>
					<headerowned _extends="/controldefs/quantity">
						<x>200</x>
						<y>55</y>
						<text>Quantity</text>
					</headerowned>
					<headervalue _extends="/controldefs/quantity">
						<x>345</x>
						<y>55</y>
						<text>Market</text>
					</headervalue>
					<headerunit _extends="/controldefs/quantity">
						<x>270</x>
						<y>55</y>
						<text>Unit Cost</text>
						<tooltip>Average price you've paid</tooltip>
					</headerunit>
					<gridline _class="UI.CBitmap">
						<x>15</x>
						<y>65</y>
						<link>cargo-grid-bg</link>
					</gridline>
					<icon0 _class="UI.CBitmapButton">
						<x>15</x>
						<y>75</y>
						<link>icon-arms-20</link>
						<onhot>cargoscreen_describe(0)</onhot>
					</icon0>
					<name0 _class="UI.CTextButton">
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<x>40</x>
						<y>75</y>
						<text>Arms</text>
						<onhot>cargoscreen_describe(0)</onhot>
					</name0>
					<quantity0 _extends="/controldefs/cargotext">
						<x>200</x>
						<y>75</y>
						<text>0</text>
						<onhot>cargoscreen_describe(0)</onhot>
					</quantity0>
					<value0 _extends="/controldefs/cargotext">
						<x>345</x>
						<y>75</y>
						<text>0</text>
						<tooltip>Current local market value</tooltip>
						<onhot>cargoscreen_describe(0)</onhot>
					</value0>
					<unitprice0 _extends="/controldefs/cargotext">
						<x>270</x>
						<y>75</y>
						<text>0</text>
						<tooltip>Average price you've paid</tooltip>
						<onhot>cargoscreen_describe(0)</onhot>
					</unitprice0>
				
					<icon1 _class="UI.CBitmapButton">
						<x>15</x>
						<y>100</y>
						<link>icon-arms-20</link>
						<onhot>cargoscreen_describe(1)</onhot>
					</icon1>
					<name1 _class="UI.CTextButton">
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<x>40</x>
						<y>100</y>
						<text>Arms</text>
						<onhot>cargoscreen_describe(1)</onhot>
					</name1>
					<quantity1 _extends="/controldefs/cargotext">
						<x>200</x>
						<y>100</y>
						<text>0</text>
						<onhot>cargoscreen_describe(1)</onhot>
					</quantity1>
					<value1 _extends="/controldefs/cargotext">
						<x>345</x>
						<y>100</y>
						<text>0</text>
						<tooltip>Current local market value</tooltip>
						<onhot>cargoscreen_describe(1)</onhot>
					</value1>
					<unitprice1 _extends="/controldefs/cargotext">
						<x>270</x>
						<y>100</y>
						<text>0</text>
						<tooltip>Average price you've paid</tooltip>
						<onhot>cargoscreen_describe(1)</onhot>
					</unitprice1>
		
					<icon2 _class="UI.CBitmapButton">
						<x>15</x>
						<y>125</y>
						<link>icon-arms-20</link>
						<onhot>cargoscreen_describe(2)</onhot>
					</icon2>
					<name2 _class="UI.CTextButton">
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<x>40</x>
						<y>125</y>
						<text>Arms</text>
						<onhot>cargoscreen_describe(2)</onhot>
					</name2>
					<quantity2 _extends="/controldefs/cargotext">
						<x>200</x>
						<y>125</y>
						<text>0</text>
						<onhot>cargoscreen_describe(2)</onhot>
					</quantity2>
					<value2 _extends="/controldefs/cargotext">
						<x>345</x>
						<y>125</y>
						<text>0</text> 
						<tooltip>Current local market value</tooltip>
						<onhot>cargoscreen_describe(2)</onhot>
					</value2>
					<unitprice2 _extends="/controldefs/cargotext">
						<x>270</x>
						<y>125</y>
						<text>0</text>
						<tooltip>Average price you've paid</tooltip>
						<onhot>cargoscreen_describe(2)</onhot>
					</unitprice2>
		
					<icon3 _class="UI.CBitmapButton">
						<x>15</x>
						<y>150</y>
						<link>icon-arms-20</link>
						<onhot>cargoscreen_describe(3)</onhot>
					</icon3>
					<name3 _class="UI.CTextButton">
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<x>40</x>
						<y>150</y>
						<text>Arms</text>
						<onhot>cargoscreen_describe(3)</onhot>
					</name3>
					<quantity3 _extends="/controldefs/cargotext">
						<x>200</x>
						<y>150</y>
						<text>0</text>
						<onhot>cargoscreen_describe(3)</onhot>
					</quantity3>
					<value3 _extends="/controldefs/cargotext">
						<x>345</x>
						<y>150</y>
						<text>0</text> 
						<tooltip>Current local market value</tooltip>
						<onhot>cargoscreen_describe(3)</onhot>
					</value3>
					<unitprice3 _extends="/controldefs/cargotext">
						<x>270</x>
						<y>150</y>
						<text>0</text>
						<tooltip>Average price you've paid</tooltip>
						<onhot>cargoscreen_describe(3)</onhot>
					</unitprice3>
		
					<icon4 _class="UI.CBitmapButton">
						<x>15</x>
						<y>175</y>
						<link>icon-arms-20</link>
						<onhot>cargoscreen_describe(4)</onhot>
					</icon4>
					<name4 _class="UI.CTextButton">
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<x>40</x>
						<y>175</y>
						<text>Arms</text>
						<onhot>cargoscreen_describe(4)</onhot>
					</name4>
					<quantity4 _extends="/controldefs/cargotext">
						<x>200</x>
						<y>175</y>
						<text>0</text>
						<onhot>cargoscreen_describe(4)</onhot>
					</quantity4>
					<value4 _extends="/controldefs/cargotext">
						<x>345</x>
						<y>175</y>
						<text>0</text>  
						<tooltip>Current local market value</tooltip>
						<onhot>cargoscreen_describe(4)</onhot>
					</value4>
					<unitprice4 _extends="/controldefs/cargotext">
						<x>270</x>
						<y>175</y>
						<text>0</text>
						<tooltip>Average price you've paid</tooltip>
						<onhot>cargoscreen_describe(4)</onhot>
					</unitprice4>
		
					<icon5 _class="UI.CBitmapButton">
						<x>15</x>
						<y>200</y>
						<link>icon-arms-20</link>
						<onhot>cargoscreen_describe(5)</onhot>
					</icon5>
					<name5 _class="UI.CTextButton">
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<x>40</x>
						<y>200</y>
						<text>Arms</text>
						<onhot>cargoscreen_describe(5)</onhot>
					</name5>
					<quantity5 _extends="/controldefs/cargotext">
						<x>200</x>
						<y>200</y>
						<text>0</text>
						<onhot>cargoscreen_describe(5)</onhot>
					</quantity5>
					<value5 _extends="/controldefs/cargotext">
						<x>345</x>
						<y>200</y>
						<text>0</text> 
						<tooltip>Current local market value</tooltip>
						<onhot>cargoscreen_describe(5)</onhot>
					</value5>
					<unitprice5 _extends="/controldefs/cargotext">
						<x>270</x>
						<y>200</y>
						<text>0</text>
						<tooltip>Average price you've paid</tooltip>
						<onhot>cargoscreen_describe(5)</onhot>
					</unitprice5>
		
					<icon6 _class="UI.CBitmapButton">
						<x>15</x>
						<y>225</y>
						<link>icon-arms-20</link>
						<onhot>cargoscreen_describe(6)</onhot>
					</icon6>
					<name6 _class="UI.CTextButton">
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<x>40</x>
						<y>225</y>
						<text>Arms</text>
						<onhot>cargoscreen_describe(6)</onhot>
					</name6>
					<quantity6 _extends="/controldefs/cargotext">
						<x>200</x>
						<y>225</y>
						<text>0</text>
						<onhot>cargoscreen_describe(6)</onhot>
					</quantity6>
					<value6 _extends="/controldefs/cargotext">
						<x>345</x>
						<y>225</y>
						<text>0</text>
						<tooltip>Current local market value</tooltip>
						<onhot>cargoscreen_describe(6)</onhot>
					</value6>
					<unitprice6 _extends="/controldefs/cargotext">
						<x>270</x>
						<y>225</y>
						<text>0</text>
						<tooltip>Average price you've paid</tooltip>
						<onhot>cargoscreen_describe(6)</onhot>
					</unitprice6>
		
					<icon7 _class="UI.CBitmapButton">
						<x>15</x>
						<y>250</y>
						<link>icon-arms-20</link>
						<onhot>cargoscreen_describe(7)</onhot>
					</icon7>
					<name7 _class="UI.CTextButton">
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<x>40</x>
						<y>250</y>
						<text>Arms</text>
						<onhot>cargoscreen_describe(7)</onhot>
					</name7>
					<quantity7 _extends="/controldefs/cargotext">
						<x>200</x>
						<y>250</y>
						<text>0</text>
						<onhot>cargoscreen_describe(7)</onhot>
					</quantity7>
					<value7 _extends="/controldefs/cargotext">
						<x>345</x>
						<y>250</y>
						<text>0</text>  
						<tooltip>Current local market value</tooltip>
						<onhot>cargoscreen_describe(7)</onhot>
					</value7>
					<unitprice7 _extends="/controldefs/cargotext">
						<x>270</x>
						<y>250</y>
						<text>0</text>
						<tooltip>Average price you've paid</tooltip>
						<onhot>cargoscreen_describe(7)</onhot>
					</unitprice7>
		
					<icon8 _class="UI.CBitmapButton">
						<x>15</x>
						<y>275</y>
						<link>icon-arms-20</link>
						<onhot>cargoscreen_describe(8)</onhot>
					</icon8>
					<name8 _class="UI.CTextButton">
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<x>40</x>
						<y>275</y>
						<text>Arms</text>
						<onhot>cargoscreen_describe(8)</onhot>
					</name8>
					<quantity8 _extends="/controldefs/cargotext">
						<x>200</x>
						<y>275</y>
						<text>0</text>
						<onhot>cargoscreen_describe(8)</onhot>
					</quantity8>
					<value8 _extends="/controldefs/cargotext">
						<x>345</x>
						<y>275</y>
						<text>0</text>  
						<tooltip>Current local market value</tooltip>
						<onhot>cargoscreen_describe(8)</onhot>
					</value8>
					<unitprice8 _extends="/controldefs/cargotext">
						<x>270</x>
						<y>275</y>
						<text>0</text>
						<tooltip>Average price you've paid</tooltip>
						<onhot>cargoscreen_describe(8)</onhot>
					</unitprice8>
		
					<icon9 _class="UI.CBitmapButton">
						<x>15</x>
						<y>300</y>
						<link>icon-arms-20</link>
						<onhot>cargoscreen_describe(9)</onhot>
					</icon9>
					<name9 _class="UI.CTextButton">
						<font>ramsey</font>
						<hifont>ramsey_hot</hifont>
						<x>40</x>
						<y>300</y>
						<text>Arms</text>
						<onhot>cargoscreen_describe(9)</onhot>
					</name9>
					<quantity9 _extends="/controldefs/cargotext">
						<x>200</x>
						<y>300</y>
						<text>0</text>
						<onhot>cargoscreen_describe(9)</onhot>
					</quantity9>
					<value9 _extends="/controldefs/cargotext">
						<x>345</x>
						<y>300</y>
						<text>0</text>     
						<tooltip>Current local market value</tooltip>
						<onhot>cargoscreen_describe(9)</onhot>
					</value9>
					<unitprice9 _extends="/controldefs/cargotext">
						<x>270</x>
						<y>300</y>
						<text>0</text>
						<tooltip>Average price you've paid</tooltip>
						<onhot>cargoscreen_describe(9)</onhot>
					</unitprice9>
		
					<bigicon _class="UI.CBitmap">
						<x>500</x>
						<y>120</y>
						<halign>center</halign>
						<valign>center</valign>
						<link>icon-arms-20</link>
					</bigicon>
					<description _class="UI.CText">
						<x>410</x>
						<y>185</y>
						<font>ramsey_small</font>
						<wrapwidth>200</wrapwidth>
						<text>description</text>
					</description>
					<gridline2 _class="UI.CBitmap">
						<x>15</x>
						<y>345</y>
						<link>cargo-summary-bg</link>
					</gridline2> 
					<shiptext _extends="/controldefs/basictext">
						<x>85</x>
						<y>350</y>
						<text>Ship</text>
					</shiptext>
					<ship _class="UI.CBitmap">
						<x>42</x>
						<y>375</y>
						<halign>center</halign>
						<valign>top</valign>
						<link>ship-galleon-white</link>
					</ship>
					<cargotext _extends="/controldefs/basictext">
						<x>35</x>
						<y>410</y>
						<text>Cargo: 9,999/9,999</text>
					</cargotext>
					<cargobar _extends="/controldefs/progress">
						<x>70</x>
						<y>390</y>
						<width>100</width>
					</cargobar>
					<close _extends="/controldefs/choicetext">
						<text>Leave</text>
						<x>520</x>
						<y>400</y>
						<width>120</width>
						<onlclick>cargoscreen_toggle</onlclick>
					</close>
				</elements>
			</cargoscreen>
		
			<port _class="UI.CPanel" x="160" y="0" width="640" height="460">
				<elements>
					<portname _extends="/controldefs/townlabel">
						<x>320</x>
						<y>10</y>
						<text>Port</text>
					</portname>
					<building _extends="/controldefs/buildinglabel">
						<x>320</x>
						<y>200</y>
						<text>Building</text>
					</building>
					<icon _class="UI.CBitmap">
						<x>10</x>
						<y>10</y>
						<halign>right</halign>
						<link>buildingicon-governor</link>
					</icon>
				</elements>
			</port>
		
			<sidebar _class="UI.CPanel" x="0" y="0" width="160" height="600">
				<elements>
					<background _class="UI.CBitmap">
						<link>sidebar_</link>
						<x>0</x>
						<y>0</y>
						<halign>left</halign>
						<width>160</width>
						<height>600</height>
					</background>
					<portraitbg _class="UI.CBitmap">
						<link>portrait-empty</link>
						<x>80</x>
						<y>21</y>
						<halign>center</halign>
						<width>158</width>
						<height>171</height>
					</portraitbg>
					<portrait _class="UI.CBitmap">
						<link>portrait-empty</link>
						<x>0</x>
						<y>21</y>
						<width>158</width>
						<height>171</height>
					</portrait>
					<name _extends="/controldefs/label">
						<text>Gossamer</text>
						<x>80</x>
						<y>8</y>
					</name>
					<sidebarpaperbg _class="UI.CBitmap">
						<link>sidebar-paper</link>
						<x>3</x>
						<y>189</y>
						<width>151</width>
						<height>244</height>
					</sidebarpaperbg>
					<finances_bitmap _class="UI.CBitmap">
						<link>finances</link>
						<x>8</x>
						<y>204</y>
						<width>133</width>
						<height>67</height>
					</finances_bitmap>
					<finances_cash _extends="/controldefs/cash_hotcredit">
						<tooltip>Your Cash</tooltip>
						<x>137</x>
						<y>204</y>
						<text>0</text>
						<onlclick>x</onlclick>
					</finances_cash>
					<finances_bank _extends="/controldefs/cash_hotcredit">
						<tooltip>Bank Balance</tooltip>
						<x>137</x>
						<y>229</y>
						<text>0</text>
						<onlclick>x</onlclick>
					</finances_bank>
					<finances_debt _extends="/controldefs/cash_hotdebt">
						<tooltip>Your Debt</tooltip>
						<x>137</x>
						<y>253</y>
						<text>0</text>
						<onlclick>x</onlclick>
					</finances_debt>
					<menubutton _class="UI.CBitmapButton">
						<link>buttons-menu</link>
						<valign>top</valign> 
						<tooltip>Save Progress and Change Options</tooltip>
						<x>16</x>
						<y>440</y>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>ingame_menu</onlclick>
					</menubutton>
					<tasksbutton _class="UI.CBitmapButton">
						<link>buttons-tasks</link>
						<valign>top</valign>
						<tooltip>View your tasks</tooltip>
						<x>16</x>
						<y>276</y>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>taskscreen_toggle</onlclick>
					</tasksbutton>
					<logbutton _class="UI.CBitmapButton">
						<link>buttons-log</link>
						<tooltip>Ship's Log</tooltip>
						<valign>top</valign>
						<x>16</x>
						<y>302</y>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>logscreen_toggle</onlclick>
					</logbutton>
					<itemsbutton _class="UI.CBitmapButton">
						<link>buttons-items</link>
						<tooltip>People and Items</tooltip>
						<valign>top</valign>
						<x>16</x>
						<y>328</y>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>itemscreen_toggle</onlclick>
					</itemsbutton>
					<cargobutton _class="UI.CBitmapButton">
						<link>buttons-cargo</link>
						<valign>top</valign>
						<tooltip>Ship's Cargo</tooltip>
						<x>16</x>
						<y>354</y>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>cargoscreen_toggle</onlclick>
					</cargobutton>
					<shipbutton _class="UI.CBitmapButton">
						<link>buttons-ship</link>
						<valign>top</valign>
						<tooltip>Ship Specs</tooltip>
						<x>16</x>
						<y>381</y>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>shipscreen_toggle</onlclick>
					</shipbutton>
		
				</elements>
			</sidebar>
		
			<endpopup _class="UI.CPanel" x="0" y="0" width="800" height="600" modal="false">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>480</x>
						<y>180</y>
						<halign>center</halign>
						<width>400</width>
						<height>150</height>
					</frame>
					<description _extends="/controldefs/basictext">
						<text>Thank you for playing the online demo of 'Tradewinds 2'.  Download the game to continue your adventures!</text>
						<x>300</x>
						<y>205</y>
						<wrapwidth>380</wrapwidth>
					</description>
					<download _extends="/controldefs/choicetext">
						<text>Download</text>
						<x>490</x>
						<y>280</y> 
						<tooltip>Download Full Version</tooltip>
						<onlclick>download_full_game</onlclick>
					</download>
				</elements>
			</endpopup>

			<downloadpopup _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>180</y>
						<halign>center</halign>
						<width>400</width>
						<height>150</height>
					</frame>
					<description _extends="/controldefs/basictext">
						<text>Thank you for playing the online demo of 'Tradewinds 2'.  Download the game to continue your adventures!</text>
						<x>215</x>
						<y>205</y>
						<wrapwidth>380</wrapwidth>
					</description>
					<download _extends="/controldefs/choicetext">
						<text>Download</text>
						<x>400</x>
						<y>280</y> 
						<tooltip>Download Full Version</tooltip>
						<onlclick>download_full_game</onlclick>
					</download>
				</elements>
			</downloadpopup>
			
			<downloadstorypopup _class="UI.CPanel" x="0" y="20" width="800" height="600">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>180</y>
						<halign>center</halign>
						<width>400</width>
						<height>160</height>
					</frame>
					<description _extends="/controldefs/basictext">
						<text>Download Tradewinds 2 to play Story Mode and learn the adventures of these great pirates!</text>
						<x>215</x>
						<y>205</y>
						<wrapwidth>380</wrapwidth>
					</description>
					<download _extends="/controldefs/choicetext">
						<text>Download</text>
						<x>400</x>
						<y>260</y> 
						<tooltip>Download Full Version</tooltip>
						<onlclick>download_full_game</onlclick>
					</download>
					<back _extends="/controldefs/choicetext">
						<text>Back</text>
						<x>400</x>
						<y>290</y> 
						<tooltip>Back to Main Menu</tooltip>
						<onlclick>hidepanel(downloadstorypopup);showpanel(mainmenu)</onlclick>
					</back>
				</elements>
			</downloadstorypopup>
			
			<victory _class="UI.CPanel" x="0" y="0" width="800" height="600" modal="true">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>10</y>
						<halign>center</halign>
						<width>400</width>
						<height>165</height>
					</frame>
					<name _extends="/controldefs/label">
						<text>Victory!</text>
						<x>400</x>
						<y>15</y>
					</name>
					<text _extends="/controldefs/basictext">
						<text>Your crew has been victorious this day!  You recover 10,000 Gold from the wreckage of your fallen enemies.</text>
						<x>225</x>
						<y>50</y>
						<wrapwidth>365</wrapwidth>
					</text>
		
					<begin _extends="/controldefs/choicetext">
						<text>OK!</text>
						<x>400</x>
						<y>130</y>
						<onlclick>hidepanel(victory);victory_ok</onlclick>
					</begin>
				</elements>
			</victory>
		
			<defeat _class="UI.CPanel" x="0" y="0" width="800" height="600" modal="true">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>10</y>
						<halign>center</halign>
						<width>400</width>
						<height>205</height>
					</frame>
					<name _extends="/controldefs/label">
						<text>Defeat!</text>
						<x>400</x>
						<y>20</y>
					</name>
					<text _extends="/controldefs/basictext">
						<text></text>
						<x>230</x>
						<y>55</y>
						<wrapwidth>340</wrapwidth>
					</text>
					<begin _extends="/controldefs/choicetext">
						<text>Download Full Version</text>
						<halign>center</halign>
						<x>400</x>
						<y>140</y>
						<onlclick>download_full_game</onlclick>
					</begin>
					<restore _extends="/controldefs/choicetext">
						<text>Try again</text>
						<halign>center</halign>
						<x>400</x>
						<y>170</y>
						<onlclick>hidepanel(defeat);abortgame</onlclick>
					</restore>
				</elements>
			</defeat>
		
			<combatpaused _class="UI.CPanel" x="0" y="0" width="800" height="600" modal="false">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>10</y>
						<halign>center</halign>
						<width>400</width>
						<height>200</height>
					</frame>
		
					<name _extends="/controldefs/label">
						<text>Paused!</text>
						<x>400</x>
						<y>25</y>
					</name>
		
					<text _extends="/controldefs/basictext">
						<text>Combat is paused.</text>
						<x>230</x>
						<y>60</y>
						<wrapwidth>340</wrapwidth>
					</text>
		
					<begin _extends="/controldefs/choicetext">
						<text>OK</text>
						<x>400</x>
						<y>165</y>
						<onlclick>hidepanel(combatpaused);resume_combat</onlclick>
					</begin>
				</elements>
			</combatpaused>
		
			<combat _class="UI.CPanel" x="0" y="0" width="800" height="600">
				<elements>
					<fleebackground _class="UI.CBitmap">
						<halign>left</halign>
						<valign>top</valign>
						<x>578</x>
						<y>452</y>
						<link>shipbit</link>
					</fleebackground>
					<fleebutton _class="UI.CBitmapButton">
						<link>button-flee</link>
						<x>665</x>
						<y>521</y>
						<cooltime>0.5</cooltime>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>combat_flee</onlclick>
					</fleebutton>
					<ammobutton1 _class="UI.CBitmapButton">
						<link>button-firepot</link>
						<x>310</x>
						<y>420</y>
						<halign>center</halign>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>combat_ammo1</onlclick>
					</ammobutton1>
					<ammotext1 _class="UI.CText">
						<halign>center</halign>
						<x>298</x>
						<y>465</y>
						<font>ramsey_small</font>
						<text>0</text>
					</ammotext1>
					<ammobutton2 _class="UI.CBitmapButton">
						<link>button-chainshot</link>
						<x>410</x>
						<y>420</y>
						<halign>center</halign>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>combat_ammo2</onlclick>
					</ammobutton2>
					<ammotext2 _class="UI.CText">
						<halign>center</halign>
						<x>398</x>
						<y>465</y>
						<font>ramsey_small</font>
						<text>0</text>
					</ammotext2>
					<ammobutton3 _class="UI.CBitmapButton">
						<link>button-tikibomb</link>
						<x>510</x>
						<y>420</y>
						<halign>center</halign>
						<clicksound>select</clicksound>
						<hotsound>highlight</hotsound>
						<onlclick>combat_ammo3</onlclick>
					</ammobutton3>
					<ammotext3 _class="UI.CText">
						<halign>center</halign>
						<x>498</x>
						<y>465</y>
						<font>ramsey_small</font>
						<text>0</text>
					</ammotext3>
				</elements>
			</combat>
		
			<precombat _class="UI.CPanel" x="0" y="0" width="800" height="200">
				<elements>
					<frame _extends="/controldefs/popupframe">
						<x>400</x>
						<y>20</y>
						<width>400</width>
						<height>140</height>
						<halign>center</halign>
						<valign>top</valign>
					</frame>
					<text _extends="/controldefs/basictext">
						<halign>center</halign>
						<x>406</x>
						<y>60</y>
						<wrapwidth>350</wrapwidth>
						<text>Click on a target to begin combat.  Your ship will automatically fire on the selected enemy.</text>
					</text>
				</elements>
			</precombat>
							
			<contraband _class="UI.CPanel" x="273" y="40" width="400" height="420" modal="true">
				<elements>
					<topframe _extends="/controldefs/popupframe">
						<x>-20</x>
						<y>-15</y>
						<width>440</width>
						<height>335</height>
						<halign>left</halign>
						<valign>top</valign>
					</topframe>
		
					<npcname _extends="/controldefs/label">
						<x>240</x>
						<y>0</y>
						<width>200</width>
						<text>The Governor's Assistant</text>
					</npcname>
		
					<portrait _extends="/controldefs/npc_portrait">
						<link>portrait-empty</link>
					</portrait>
		
					<dialogue _extends="/controldefs/npctext">
						<text>Your goods have been seized.</text>
						<x>150</x>
						<y>37</y>
						<wrapwidth>235</wrapwidth>
					</dialogue>
					<okbutton _extends="/controldefs/choicetext">
						<text>Ok.</text>
						<x>200</x>
						<y>265</y>
						<onlclick>hidepanel(contraband);unfreezeport</onlclick>
					</okbutton>
				</elements>
			</contraband>
		
		
		<cantsailitem _class="UI.CPanel" x="273" y="40" width="400" height="420" modal="true">
				<elements>
					<topframe _extends="/controldefs/popupframe">
						<x>-20</x>
						<y>150</y>
						<width>350</width>
						<height>220</height>
						<halign>left</halign>
						<valign>top</valign>
					</topframe>
					<item _class="UI.CBitmap">
						<bitmap>
							<bitmap>assets/graphics/specialitems/icon-passengerfemale-128.jpg</bitmap>
							<alphamap>assets/graphics/specialitems/icon-passengerfemale-128-alpha.png</alphamap>
						</bitmap>
						<halign>center</halign>
						<valign>center</valign>
						<x>265</x>
						<y>283</y>
					</item>
					<npcname _extends="/controldefs/label">
						<x>150</x>
						<y>155</y>
						<width>200</width>
						<text>Unable to Sail.</text>
					</npcname>
					<dialogue _extends="/controldefs/npctext">
						<text>You cannot sail because an item or contract is expiring. Check the items screen for more information.</text>
						<x>50</x>
						<y>185</y>
						<wrapwidth>235</wrapwidth>
					</dialogue>
					<okbutton _extends="/controldefs/choicetext">
						<text>OK</text>
						<x>150</x>
						<y>315</y>
						<width>50</width>
						<onlclick>hidepanel(cantsailitem);unfreezeport</onlclick>
					</okbutton>
					<helpbutton _extends="/controldefs/choicetext">
						<text>Help</text>
						<x>40</x>
						<y>315</y>
						<width>50</width>
						<onlclick>hidepanel(cantsailitem);unfreezeport;showhelp(cantsail_tut)</onlclick>
					</helpbutton>
		
				</elements>
		</cantsailitem>
			
		</panels>
	</UI.CPanels>
	
</static>
</config>