
//显示页面中的频道
//DataUrl 数据的URL地址
//Container 页面中显示channel的地址
function showChannel(DataUrl,container)
{
	//加载数据
	var oXML = new ActiveXObject("microsoft.xmldom");
	oXML.async = fasle;
	oXML.load(DataUrl);
	if (oXML.parseError.errorCode!=0)
	{
		alert(oXML.parseError.reason);
		return;
	}

	//找到Container对象
	var oCtn = document.all(container);
	if (oCtn == null) 
	{
		alert("Container is not found.");
		return;
	}
	//处理标题
	//处理子标题
	//处理列表
	return;
}


//当本页面resize时，更改父级IFrame
function OnIFrameResize()
{
	var IFM = window.frameElement;
	//if (IFM==null) return;
	
	//alert(document.body.clientHeight);
	//IFM.height = document.body.clientHeight;

	if (IFM)
	{
		//alert(document.body.scrollHeight);
		IFM.height = document.body.scrollHeight;
	}
}
//window.onresizeend =OnIFrameResize();

