function Header(background)
{
	var Code="";
		Code+="<table width=\"980\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
			Code+="<tr>";
				Code+="<td width=\"980\" height=\"100\" colspan=\"3\" align=\"right\" valign=\"bottom\"  background=\""+background+"\" class=\"navigation_1\">";
				Code+="<a href=\"http://www.sctv.com/\" class=\"navigation_1\" target=\"_blank\"><b>SCTV.com</b></a> | ";
				Code+="<a href=\"/\" class=\"navigation_1\">宽频首页</a> | ";
				Code+="<a href=\"/lv1.asp?itemkind=1\" class=\"navigation_1\">神韵方言</a> | ";
				Code+="<a href=\"/lv1.asp?itemkind=2\" class=\"navigation_1\">神韵记录</a> | ";
				Code+="<a href=\"/lv1.asp?itemkind=3\" class=\"navigation_1\">川视节目</a> | <br>";
				Code+="<a href=\"/stock/index.asp\" class=\"navigation_1\" target=\"_stock\">股网金来</a> | ";
				Code+="<a href=\"/fun.asp\" class=\"navigation_1\">娱乐冲击波</a> | ";
				Code+="<a href=\"/chat_index.asp\" class=\"navigation_1\">嘉宾聊天</a> | ";
				Code+="<a href=\"http://live.sctv.com/\" class=\"navigation_1\">全面直播</a> | ";
				Code+="<a href=\"http://bbs.sctv.com/\" target=\"_blank\" class=\"navigation_1\">神韵论坛</a> | ";
				Code+="</td>";
			Code+="</tr>";
		Code+="</table>";
	document.write(Code);
}

function Footer(background)
{
	var Code="";
		Code+="<table width=\"981\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
			Code+="<tr><td height=\"77\" align=\"center\" background=\""+background+"\" class=\"text_copyright\">四川广播电视集团 ● 神韵在线 ● 神韵宽频<br>Copyright 2007 <a href=\"http://V.sctv.com\" class=\"text_copyright\">V.sctv.com</a> All Rights Reserved.</td></tr>";
		Code+="</table>";
	document.write(Code);
	document.write ('<div style="display:none"><script language="javascript" type="text/javascript" src="http://js.users.51.la/430079.js"></script></div>');
	document.write ('<div style="display:none"><script src="http://s41.cnzz.com/stat.php?id=1126392&web_id=1126392" language="JavaScript" charset="gb2312"></script></div>');
}

function FriendLink()
{
//	var Code="";
//	Code+="<table width=\"981\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
//	Code+="<tr>";
//		Code+="<td background=\"images/index_08.jpg\"><img src=\"images/index_38.jpg\" width=\"980\" height=\"26\" alt=\"\"></td>";
//	Code+="</tr>";
//	Code+="<tr>";
//		Code+="<td background=\"images/index_39.jpg\"><div align=\"center\">";
//			Code+="<table width=\"95%\"  border=\"0\" cellspacing=\"8\" cellpadding=\"0\">";
//				Code+="<tr>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//				Code+="</tr>";
//				Code+="<tr>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//					Code+="<td><a href=\"#\"><img src=\"images/temp_links.jpg\" width=\"88\" height=\"31\" border=\"0\"></a></td>";
//				Code+="</tr>";
//			Code+="</table>";
//		Code+="</div></td>";
//	Code+="</tr>";
//	Code+="</table>";
//	document.write(Code);
}

function LoadFlash(pics,links)
{

	var focus_width=480;
	var focus_height=207;
	var text_height=0;
	var swf_height = focus_height+text_height;
	var texts='|||||';

	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
	document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/hot.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
	document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
	document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
	document.write('</object>');
}

function OpenWindow(url,name,para)
{ 
	window.open(url,name,para); 
}