function LoadVideo(VideoName){
	var VideoUrl=document.location.href;
	VideoUrl=VideoUrl.substring(0,VideoUrl.lastIndexOf("/"));
	//VideoUrl=VideoUrl.substring(0,VideoUrl.lastIndexOf("/"));
	//VideoUrl=VideoUrl.substring(0,VideoUrl.lastIndexOf("/"));
    //VideoUrl="mms://media.eblcu.cn/courses/208013/course/video/"+VideoName;
	VideoUrl=VideoUrl+"/video/"+VideoName;
	//VideoUrl="C:\video\02.wmv";
	//alert(VideoUrl);
	MediaPlayer.Filename=VideoUrl;
}
function M_MediaPause()
{
	MediaPlayer.Pause();
}
function M_MediaPlay()
{
	MediaPlayer.Play();
}
function MediaJumpTo(VideoPosSec){
	if (MediaPlayer.PlayState==0) {
		MediaPlayer.Play();
	}
	if(MediaPlayer.PlayState==3){
		setTimeout("MediaJumpTo("+VideoPosSec+")", 1000);
	}else{
		MediaPlayer.CurrentPosition=VideoPosSec;
	}
}
///
function Hadlearned()
	{
		//parent.learned();
		parent.close();
	}
///////////////标题传递
function showInfo(info){
	document.getElementById("infobox").innerText = info;
}


///////////////////含错误
function killErrors() {
return true;
}
window.onerror = killErrors;





///////////////
function go()
{
       window.location=fred.select.value;
}
////////////////显示／隐藏层
function showMe(ccname) {
      if (document.all.item(ccname).style.display == "none"){
         document.all.item(ccname).style.display = "";
         }
      else {
         document.all.item(ccname).style.display = "none";
         }
}
////////////
function hide_div() 
{ 
javascript:showMe('logo')//隐藏该层 
} 
setTimeout("hide_div()",10000) //10秒后关闭；