function swf(src,w,h,wmode,pgnum,subnum){
 html = '';
 html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="param" width="'+w+'" height="'+h+'">';
 html += '<param name="movie" value="'+src+'?PageNum='+pgnum+'&subNum='+subnum+'">';
 html += '<param name="quality" value="high">';
 html += '<param name="wmode" value="'+wmode+'">';
 html += '<param name="swliveconnect" value="true">';
 html += '<embed src="'+src+'?PageNum='+pgnum+'&subNum='+subnum+'" quality=high width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
 html += '</object>';
 document.write(html);
}

function swf2(src,w,h,wmode,pgnum,LoginChk){
 html = '';
 html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="param" width="'+w+'" height="'+h+'">';
 html += '<param name="movie" value="'+src+'?PageNum='+pgnum+'&loginValue='+LoginChk+'">';
 html += '<param name="quality" value="high">';
 html += '<param name="wmode" value="'+wmode+'">';
 html += '<param name="swliveconnect" value="true">';
 html += '<embed src="'+src+'?PageNum='+pgnum+'&loginValue='+LoginChk+'" quality=high width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
 html += '</object>';
 document.write(html);
}

function getEmbed(urls){
	var urls;
//	document.write('<embed src="mms://½ºÆ®¸®¹Ö¼­¹ö°æ·Î/'+urls+'"></embed>\n');
	document.write('<embed src="http://www.ebrainedu.com/movie/'+urls+'"></embed>\n');
}


function get_Object(urls,o_width,o_height){
	var urls,o_width,o_height;
	document.write('<object id="MMP" width="'+o_width+'" height="'+o_height+'" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 	codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,2,902" 	standby="Loading Microsoft Windows Media Player components..."  type="application/x-oleobject" viewastext>\n');
	document.write('<param name="FileName" value="http://www.ebrainedu.com/movie/'+urls+'">\n');
	document.write('<param name="ShowControls" value="1">\n');
	document.write('<param name="ShowStatusBar" value="0">\n');
	document.write('<param name="AutoStart" value="1">\n');
	document.write('<param name="AnimationAtStart" value="1">\n');
	document.write('<param name="EnableFullScreenControls" value="0">\n');
	document.write('<param name="PlayCount" value="1">\n');
    document.write('<PARAM NAME="ENABLECONTEXTMENU" VALUE="0">\n');
	document.write('<embed name="MMP" width="'+o_width+'" height="'+o_height+'"	type="application/x-mplayer2" 	pluginspage="http://www.microsoft.com/windows/mediaplayer/download/" 	src="http://www.ebrainedu.com/movie/'+urls+'" 	showcontrols="1" 	showstatusbar="0"	autostart="1" 	animationatstart="1">\n');
	document.write('</embed> \n');
	document.write('</object>\n');
}


function get_Object2(urls,o_width,o_height){
	var urls,o_width,o_height;
	document.write('<object id="MMP" width="'+o_width+'" height="'+o_height+'" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 	codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,2,902" 	standby="Loading Microsoft Windows Media Player components..."  type="application/x-oleobject" viewastext>\n');
	document.write('<param name="FileName" value="http://www.ebrainedu.com/'+urls+'">\n');
	document.write('<param name="ShowControls" value="1">\n');
	document.write('<param name="ShowStatusBar" value="1">\n');
	document.write('<param name="AutoStart" value="1">\n');
	document.write('<param name="AnimationAtStart" value="1">\n');
	document.write('<param name="EnableFullScreenControls" value="0">\n');
	document.write('<param name="PlayCount" value="0">\n');
    document.write('<PARAM NAME="ENABLECONTEXTMENU" VALUE="0">\n');
	document.write('<embed name="MMP" width="'+o_width+'" height="'+o_height+'"	type="application/x-mplayer2" 	pluginspage="http://www.microsoft.com/windows/mediaplayer/download/" 	src="http://www.ebrainedu.com/'+urls+'" 	showcontrols="1" 	showstatusbar="0"	autostart="1" 	animationatstart="1">\n');
	document.write('</embed> \n');
	document.write('</object>\n');
}

function get_Object3(urls,o_width,o_height){
	var urls,o_width,o_height;
	document.write('<object id="MMP" width="'+o_width+'" height="'+o_height+'" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 	codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,2,902" 	standby="Loading Microsoft Windows Media Player components..."  type="application/x-oleobject" viewastext>\n');
	document.write('<param name="FileName" value="http://www.ebrainedu.com/'+urls+'">\n');
	document.write('<param name="ShowControls" value="0">\n');
	document.write('<param name="ShowStatusBar" value="0">\n');
	document.write('<param name="AutoStart" value="1">\n');
	document.write('<param name="AnimationAtStart" value="1">\n');
	document.write('<param name="EnableFullScreenControls" value="0">\n');
	document.write('<param name="PlayCount" value="0">\n');
    document.write('<PARAM NAME="ENABLECONTEXTMENU" VALUE="0">\n');
	document.write('<embed name="MMP" width="'+o_width+'" height="'+o_height+'"	type="application/x-mplayer2" 	pluginspage="http://www.microsoft.com/windows/mediaplayer/download/" 	src="http://www.ebrainedu.com/'+urls+'" 	showcontrols="1" 	showstatusbar="0"	autostart="1" 	animationatstart="1">\n');
	document.write('</embed> \n');
	document.write('</object>\n');
}
