<?xml version="1.0" encoding="utf-8"?>
<window screenLeft="0" screenTop="0" width="220" height="135" titleBar="false" resizeMargins="0,0,0,0" maximizable="false" onload="BalloonLoad();windowOnload();" onclose="windowOnClose();BalloonClose();">
<script src="../common.js" />
<script src="../BalloonCommon.js" />
<script>
<![CDATA[
	function windowOnload()
	{
		window.timeid = window.setTimeout("window.close();", 6*1000);  /*设置6秒定时器*/
		var ppplayer = Components.GetObject2("PPPlayer");
		if(ppplayer && ppplayer.zwNotShowLowBitrateSwitch==false)
		{
			var registry = Components.CreateObject("@pplive.com/registry;1");
			if (registry && registry.create(registry.HKCU, "Software\\PPLive\\PPTV\\UserEdu"))
			{	
				var LowBitrateSwitch = registry.readDWORD("LowBitrateSwitch");
				if(LowBitrateSwitch>=3)
				{
					ppplayer.zwNotShowLowBitrateSwitch=true;	
				}
			}
		}
	}
	function nohintagain()
	{
		var ppplayer = Components.GetObject2("PPPlayer");
		if(ppplayer)ppplayer.zwNotShowLowBitrateSwitch=true;
		var registry = Components.CreateObject("@pplive.com/registry;1");
		if (registry && registry.create(registry.HKCU, "Software\\PPLive\\PPTV\\UserEdu"))
		{	
			registry.writeDWORD("LowBitrateSwitch",3);
		}
	}
	function BDSwitch()
	{
		var ppp = Components.GetObject2("PPP");
		if(ppp)
		{	
			ppp.BitrateSwitch(-1)=1;
		}
		var registry = Components.CreateObject("@pplive.com/registry;1");
		if (registry && registry.create(registry.HKCU, "Software\\PPLive\\PPTV\\UserEdu"))
		{	
				var LowBitrateSwitch = registry.readDWORD("LowBitrateSwitch");
				registry.writeDWORD("LowBitrateSwitch",LowBitrateSwitch+1);
		}
		window.close();
	}
	function windowOnClose()
	{
	}
]]>
</script>
	<subwindow left="0" top="0" width="220" height="135"  passThrough="false">
		<subwindow left="0" top="0" width="220" height="124" passThrough="false">

			<subwindow left="0" top="0" width="4" height="4" backgroundImage="edu2_upleft.bmp" clippingColor="#FF00FF" passThrough="false"/>
			<subwindow left="4" top="0" width="212" height="4" backgroundImage="edu2_up.bmp" backgroundImageStretchMode="stretch" passThrough="false" horizontalAlignment="stretch" backgroundColor="rgba(0x00,0x00,0x00,0x00)" />
			<subwindow left="216" top="0" width="4" height="4" backgroundImage="edu2_upright.bmp" clippingColor="#FF00FF" passThrough="false"/>

			<subwindow left="0" top="4" width="4" height="116" backgroundImage="edu2_left.bmp"  backgroundImageStretchMode="stretch" passThrough="false" horizontalAlignment="stretch" backgroundColor="rgba(0x00,0x00,0x00,0x00)"/>
			<subwindow left="216" top="4" width="4" height="116" backgroundImage="edu2_right.bmp"  backgroundImageStretchMode="stretch" passThrough="false" horizontalAlignment="stretch" backgroundColor="rgba(0x00,0x00,0x00,0x00)"/>

			<subwindow left="0" top="120" width="4" height="4" backgroundImage="edu2_downleft.bmp" clippingColor="#FF00FF" passThrough="false"/>
			<subwindow left="4" top="120" width="212" height="4" backgroundImage="edu2_down.bmp" backgroundImageStretchMode="stretch" passThrough="false" horizontalAlignment="stretch" backgroundColor="rgba(0x00,0x00,0x00,0x00)"/>
			<subwindow left="216" top="119" width="4" height="4" backgroundImage="edu2_downright.bmp" clippingColor="#FF00FF" passThrough="false"/>

			<subwindow left="4" top="4" width="212" height="116" backgroundColor="#FFF4BA" passThrough="false">
				<label left="4" top = "6" width="32" height="14" wordWrap="false" value="提示" fontFace="宋体"  fontSize="12"  foregroundColor="#000000" fontStyle="bold"/>
				<button left="194" top="2" width="16" height="16" image="edu2_close.bmp" hoverImage="edu2_close_hover.bmp" downImage="edu2_close_down.bmp"  onclick="window.close();" tooltip="关闭" cursor="hand"/>
				<label left="8" top = "32" width="204" height="32" wordWrap="true" value="您的网速播放本节目可能不够流畅，建议您：" fontFace="宋体"  fontSize="12"  foregroundColor="#000000"/>
				<label  left="42" top="68" width="200" height="18" value="切换本片高清版观看" fontStyle="underline Bold" fontFace="宋体"  fontSize="14"  foregroundColor="#00539E" textAlignment="vcenter" cursor="hand" onclick="BDSwitch();"/>
				<button id="checkbox" left="134" top="100" width="78" height="14" label="不要再提醒我" tooltip="不要再提醒我" fontFace="宋体"  fontSize="12" cursor="hand" foregroundColor="#000000" fontStyle="underline" onclick="nohintagain();window.close();"/>
			</subwindow>
		</subwindow>
		<subwindow left="40" top="120" width="27" height="16" backgroundImage="edu2_down_triangle.bmp" clippingColor="#FF00FF" passThrough="false">
		</subwindow>
	</subwindow>
</window>