function getVideoHtml(src) {
	var htmlSource = "<object type=\"video/x-ms-wmv\" width=\"398\" height=\"292\" data=\"" + src + "\">";
	htmlSource += "<param name=\"src\" value=\"" + src + "\"></param>";
	htmlSource += '<param name="autostart" value="0" />';
	htmlSource += '<param name="controller" value="1" />';
	htmlSource += '</object>';
	return htmlSource;
}
function changeVideo(src,name,copyright){
	document.getElementById('currentVideo').innerHTML =getVideoHtml(document.getElementById(src).value);
	document.getElementById('currentVideoName').innerHTML = document.getElementById(name).value;
	document.getElementById('currentVideoCopyright').innerHTML =document.getElementById(copyright).value;
}
function loadVideo(src){
	document.write('<object type="video/x-ms-wmv" width="398" height="292" data="'+src+'">');
	document.write('<param name="src" value="'+src+'"></param>');
	document.write('<param name="autostart" value="0" />');
	document.write('<param name="controller" value="1" />');
	document.write('</object>');
}