<?xml version="1.0" encoding="utf-8"?>
<window screenLeft="0" screenTop="0" width="350" height="165" titleBar="false" resizeMargins="0,0,0,0" maximizable="false" onload="PPGameOnLoad();" onclose="PPGameOnClose();">
	<script src="common.js" />
	<script src="DownloadPPGame.xml.js" />
	<subwindow left="0" top="0" width="350" height="195">
		<!-- top left -->
		<subwindow left="0" top="0" width="80" height="27" backgroundImage="bg_left_top.bmp" clippingColor="#FF00FF" />
		<!-- top -->
		<subwindow left="80" top="0" width="262" height="27" backgroundImage="bg_top.bmp" clippingColor="#FF00FF" horizontalAlignment="stretch" backgroundImageStretchMode="stretch" backgroundColor="#000000"/>
		<!-- top right -->
		<subwindow left="342" top="0" width="8" height="27" backgroundImage="bg_right_top.bmp" clippingColor="#FF00FF" horizontalAlignment="right"/>
		<!-- right -->
		<subwindow left="348" top="27" width="2" height="136" backgroundImage="bg_right.bmp" clippingColor="#FF00FF" horizontalAlignment="right" verticalAlignment="stretch" backgroundImageStretchMode="stretch" backgroundColor="#FF0000" />
		<!-- bottom right -->
		<subwindow left="348" top="163" width="2" height="2" backgroundImage="set_bg_right_bot.bmp" clippingColor="#FF00FF" horizontalAlignment="right" verticalAlignment="bottom" />
		<!-- bottom -->
		<subwindow left="2" top="163" width="346" height="2" backgroundImage="set_bg_bot.bmp" clippingColor="#FF00FF" horizontalAlignment="stretch" verticalAlignment="bottom"  backgroundImageStretchMode="stretch" backgroundColor="#000000"/>
		<!-- bottom left -->
		<subwindow left="0" top="163" width="2" height="2" backgroundImage="set_bg_left_bot.bmp" clippingColor="#FF00FF" horizontalAlignment="left" verticalAlignment="bottom" />
		<!-- left -->
		<subwindow left="0" top="27" width="2" height="136" backgroundImage="bg_left.bmp" clippingColor="#FF00FF" horizontalAlignment="left" verticalAlignment="stretch" backgroundImageStretchMode="stretch" backgroundColor="#000000"/>
		<!-- center -->
		<subwindow left="2" top="27" width="346" height="136" horizontalAlignment="stretch" verticalAlignment="stretch" backgroundColor="#FFFFFF">
			<label  left="0" top="15" width="346" height="18" value="你还没有安装游戏大厅，需要安装才能进入游戏！" fontFace="Arial"  fontSize="13"  foregroundColor="#000000" passThrough="true" textAlignment="center vcenter"/>
			<label  id="lblProgress" left="10" top="45" width="324" height="14" value="已找到游戏大厅，正在下载...0%" fontFace="Arial"  fontSize="11"  foregroundColor="#000000" passThrough="true" textAlignment="left vcenter"/>
			<widget id="ProgressWnd" left="10" top="65" width="324" height="15" horizontalAlignment="stretch" verticalAlignment="stretch" contractId="@pplive.com/PPDownloader;1" useService="true" OnDownloadFinish="PPGameOnFinish(arguments[0],arguments[1]);" OnDownloadProgress="PPGameOnProgress(arguments[0],arguments[1]);"/>
		</subwindow>

	<!-- close button -->
		<button left="314" top="0" width="26" height="23" image="close.bmp" hoverImage="close_hover.bmp" downImage="close_down.bmp" onclick="window.close();" tooltip="关闭"/>
		<label id="windowTitle" left="75" top="4" width="200" height="18" value="" fontFace="Arial"  fontSize="13"  foregroundColor="#F0F8FF" passThrough="true" textAlignment="left vcenter" fontStyle="bold"/>
		<button id="cancelButton" left="140" top="120" width="70" height="27" image="button.bmp" hoverImage="button_hover.bmp" downImage="button_down.bmp" onclick="window.close();">
			<label left="0" top="0" width="70" height="27" value="取消" passThrough="true" textAlignment="center vcenter"/>
		</button>
		<button id="retryBtn" left="90" top="120" width="70" height="27" image="button.bmp" hoverImage="button_hover.bmp" downImage="button_down.bmp" onclick="PPGameReDownload();">
			<label left="0" top="0" width="70" height="27" value="重试" passThrough="true" textAlignment="center vcenter"/>
		</button>
		<button id="cancelBtn" left="190" top="120" width="70" height="27" image="button.bmp" hoverImage="button_hover.bmp" downImage="button_down.bmp" onclick="window.close();">
			<label left="0" top="0" width="70" height="27" value="取消" passThrough="true" textAlignment="center vcenter"/>
		</button>
</subwindow>
</window>