/* WriteHeader */
var ChatTopic = "nba ";
var ChatName = "nba "

function writeHeader() {
	
	if(isWriteHeader)
	{
		return;
	}
	isWriteHeader = true;
	
	//this.ChatFrame.document.close();
	//this.ChatFrame.document.open();
	//this.ChatFrame.document.writeln('<head>');
	//this.ChatFrame.document.writeln('<meta http-equiv="Content-Type" content="text/html; charset=gb2312">');
	//this.ChatFrame.document.writeln('<link href="js/chat.css" rel=stylesheet>');
	//this.ChatFrame.document.writeln('</head>');
	//this.ChatFrame.document.writeln('<body class=bj1_0 topmargin="0" marginwidth="0" marginheight="0" bgcolor="#EFEFEF" background="">');
	//this.ChatFrame.document.writeln('<table width="100%" border=0 class=bj1_0>');

	//this.ChatFrame.document.writeln('<tr><td align=center>欢迎您进入[<font color=red>直播室</font>]</td></tr>');
	//this.ChatFrame.document.writeln('</table>');
	//this.ChatFrame.document.writeln('<hr size="1">');
	//this.ChatFrame.document.writeln('<p class="p9" align="left">');
	//this.ChatFrame.document.writeln('<span id=message name=message></span>');
	//setTimeout("displayMessage('所有人','管理员','','','欢迎您进入<font color=red>直播室</font>','111111','1',1);",30);
	this.MyChatFrame.document.close();
	this.MyChatFrame.document.open();
	this.MyChatFrame.document.writeln('<html>');
	this.MyChatFrame.document.writeln('<head>');
	this.MyChatFrame.document.writeln('<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">');
	this.MyChatFrame.document.writeln('<link href="js/chat.css" rel=stylesheet>');
	this.MyChatFrame.document.writeln('</head>');
	this.MyChatFrame.document.writeln('<body class=bj1_4 bgcolor="#EFEFEF" onLoad="parent.changeColor(parent.ColorID);">');
	//this.MyChatFrame.document.writeln('<table align="center"><tr><td>&nbsp;<tr></table>');
}
/* WriteHeader */

