<?xml version="1.0" encoding="utf-8"?>
<window left="0" top="0" width="128" height="48" titleBar="false" resizeMargins="0,0,0,0" onload="Onload();" onunload="OnUnload();">
	<script src="common.js" />
	<script src="playcontrolcommon.js" />
	<script>
	<![CDATA[
		function Onload()
		{
			window.ShowSpeedInfoWindow=function(left,top,width,height,bMove)
			{
				window.moveSizeTo(left,top,width,height);
				if (bMove)
				{
					$("detailtext").left = $("detailtext").left - 1;
					$("detailtext").top = $("detailtext").top - 1;
				}
				if (ppplayer)
				{
					if (ppplayer.get_PPP().TransferInfo == "")
					{
						window.close();
					}
				}
				window.show(4);
				DisableAccelset(true);
			}

			//获取播放控制接口
			GetPPPlayer();

			window.updateInterval = window.setInterval("OnTimer();", 1000);
			OnTimer();
		}

		function OnUnload()
		{
			window.clearInterval(window.updateInterval);
			DisableAccelset(false);
		}

		function OnTimer()
		{
			if (ppplayer)
			{
				$("detailtext").value = ppplayer.get_PPP().TransferInfo;
			}
		}
	]]>
	</script>
	<subwindow left="0" top="0" width="128" height="48" visible="true" horizontalAlignment="stretch" verticalAlignment="stretch" passThrough="false" backgroundColor="RGB(204,204,204)">
		<subwindow left="1" top="1" width="126" height="46" visible="true" horizontalAlignment="stretch" verticalAlignment="stretch" passThrough="false" backgroundColor="RGB(51,51,51)">
			<label id="detailtext" left="4" top="5" width="122" height="41" value="" verticalAlignment="stretch" horizontalAlignment="stretch" fontFace="Arial" fontSize="11" foregroundColor="RGB(204,204,204)"/>
		</subwindow>
	</subwindow>
</window> 