<?xml version="1.0" encoding="utf-8"?>
<window screenLeft="0" screenTop="0" width="600" height="436" titleBar="false" resizeMargins="0,0,0,0" maximizable="false" onload="windowOnload();" onshow="windowOnShow();">
<script src="common.js" />
<script>
<![CDATA[
	function windowOnShow()
	{
		var PPLState = Components.GetObject2('@pplive.com/PPLStat;1');
		if(PPLState)PPLState.MinisiteShow(true);
	}
	function centerWindow()
	{
		var screen = window.screen;
		var left = screen.left + (screen.width - window.outerWidth)/2;
		var top = screen.top + (screen.height - window.outerHeight)/2;
		window.moveSizeTo(left, top, window.outerWidth, window.outerHeight);
	}
	function windowOnload()
	{
		centerWindow();
		window.title="PPTV今日焦点";
		window.miniSitegotoUrl=function(url)
		{
			$("miniSiteBrowser").Url  = url;
		}
		window.miniSize=function()
		{
			window.sizemode=1;
		}
		window.showminiSite=function(show)
		{
			window.topMost=true;
			window.visible=show;
			window.topMost=false;
		}
		window.destroyWeb=function()
		{
			//$("miniSiteBrowser").DestroyBrowser();
		}
		$("miniSiteBrowser").SetBkgroundColor(0xf8f4ec);
		$("miniSiteBrowser").DefaultBkgd = true;
	}
]]>
</script>
	<subwindow left="0" top="0" width="600" height="436">
		<!-- top left -->
		<subwindow left="0" top="0" width="64" height="32" backgroundImage="mini_title_l.bmp" clippingColor="#FF00FF" />
		<!-- top -->
		<subwindow left="64" top="0" width="530" height="32" backgroundImage="mini_title_m.bmp" clippingColor="#FF00FF" horizontalAlignment="stretch" backgroundImageStretchMode="stretch" backgroundColor="#000000"/>
		<!-- top right -->
		<subwindow left="594" top="0" width="6" height="32" backgroundImage="mini_title_r.bmp" clippingColor="#FF00FF" horizontalAlignment="right"/>
		<!-- right -->
		<subwindow left="596" top="32" width="4" height="397" backgroundImage="mini_main_r.bmp" clippingColor="#FF00FF" horizontalAlignment="right" verticalAlignment="stretch" backgroundImageStretchMode="stretch" backgroundColor="#FF0000" />
		<!-- bottom right -->
		<subwindow left="596" top="429" width="4" height="7" backgroundImage="mini_bottom_r.bmp" clippingColor="#FF00FF" horizontalAlignment="right" verticalAlignment="bottom" />
		<!-- bottom -->
		<subwindow left="4" top="429" width="592" height="7" backgroundImage="mini_bottom_m.bmp" clippingColor="#FF00FF" horizontalAlignment="stretch" verticalAlignment="bottom"  backgroundImageStretchMode="stretch" backgroundColor="#000000"/>
		<!-- bottom left -->
		<subwindow left="0" top="429" width="4" height="7" backgroundImage="mini_bottom_l.bmp" clippingColor="#FF00FF" horizontalAlignment="left" verticalAlignment="bottom" />
		<!-- left -->
		<subwindow left="0" top="32" width="4" height="397" backgroundImage="mini_main_l.bmp" clippingColor="#FF00FF" horizontalAlignment="left" verticalAlignment="stretch" backgroundImageStretchMode="stretch" backgroundColor="#000000"/>
		<!-- center -->
		<subwindow left="4" top="32" width="592" height="397" horizontalAlignment="stretch" verticalAlignment="stretch" backgroundColor="#ecf4f8">
		<widget id="miniSiteBrowser" left="0" top="0" width="592" height="397" horizontalAlignment="stretch" verticalAlignment="stretch" contractId="@pplive.com/WebBrowser;1"/>
		</subwindow>
		<!-- close button -->
		<button left="530" top="0" width="30" height="32" image="btn_min_1.bmp" hoverImage="btn_min_2.bmp" downImage="btn_min_3.bmp" tooltip="最小化" onclick="window.sizemode=1;"/>
		<button left="560" top="0" width="30" height="32" image="btn_close_1.bmp" hoverImage="btn_close_2.bmp" downImage="btn_close_3.bmp" onclick="window.visible=false;" tooltip="关闭"/>
		<label id="windowTitle" left="70" top="6" width="200" height="20" value="今日焦点" fontFace="宋体"  fontSize="14"  foregroundColor="#0078d5" passThrough="true" textAlignment="left vcenter" fontStyle="bold"/>	
	</subwindow>
</window>