window.status="Copyright 2005 Verve Online. All rights reserved.";


function BoxOff(Height)
{
	var Code="<table width=\"100%\" height=\""+Height+"px\" border=\"0\ cellpadding=\"0\"><tr><td></td></tr></table>";
	document.write(Code);
}




function NoteBoard(ID,ItemID)
{
	var Code="";
	Code+="<form name='LeaveBoard' action='LeaveBoard.asp' method='post' target='LeaveBoard' onsubmit='LeaveBoardCheck();return false;'>";
	Code+="<fieldset style='width:500px;padding:5px 5px 5px 5px;text-align:left;background-color:#FFFFFF'><legend style='color:gray'>网友评论</legend>";
	Code+="<input type='hidden' name='ArticleID' value='"+ID+"' readonly>";
	Code+="<input type='hidden' name='ItemID' value='"+ItemID+"' readonly>";
	Code+="署名：<input type='text' name='UserName' style='border:1px solid gray;width:100px;' maxlength='12'><br>";
	Code+="内容：<textarea style='border:1px solid gray;width:450px;height:100px;overflow:hidden;' name='Content'></textarea>";
	Code+="<div style='text-align:center'><input type='submit' value='提交留言' style='background-color:#EEEEEE;border:1px solid gray;width:120px;height:18px;font-size:9pt;margin:5px'><input type='button' value='察看留言' onclick='LeaveBoardShow("+ID+")' style='background-color:#EEEEEE;border:1px solid gray;width:120px;height:18px;font-size:9pt;margin:5px'></div>";
	Code+="</fieldset>";
	Code+="</form>";
	document.write(Code);
}

function LeaveBoardCheck()
{
	if (document.forms("LeaveBoard").UserName.value=="")
	{
		alert("请填写您的署名！");
		document.forms("LeaveBoard").UserName.focus();
		return false;
	}
	if (document.forms("LeaveBoard").Content.value=="")
	{
		alert("请填写您的留言内容！");
		document.forms("LeaveBoard").Content.focus();
		return false;
	}
	document.forms("LeaveBoard").submit();
}
function LeaveBoardClear()
{
	opener.document.forms("LeaveBoard").UserName.value="";
	opener.document.forms("LeaveBoard").Content.value="";
}
function LeaveBoardShow(ArticleID)
{
	window.open("LeaveBoardList.asp?ArticleID="+ArticleID,"LeaveBoardList");
}


function ShowVote(ID)
{
	window.open("Vote.asp?ID="+ID,"VOTE");
}

function MediaView(ID)
{
	window.open('http://v.sctv.com/play/freewebplay.asp?videofileID='+ID,'MediaView','width=320,height=306');
}