//flash

function flash_contents(file,width,height,vars){
document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='"+width+"' HEIGHT='"+height+"' id='contents' ALIGN=''>");
document.writeln("<PARAM NAME=movie value='"+file+"' />");
document.writeln("<param name='FlashVars' value='"+vars+"'>");
document.writeln("<PARAM NAME=quality VALUE=high>");
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>");
document.writeln("<PARAM NAME=wmode VALUE=transparent> ");
document.writeln("<embed src='"+file+"' quality='high' bgcolor='#FFFFFF' width='"+width+"' height='"+height+"' name='contents' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</OBJECT>");
}


/*
// JavaScript Document
function flashWrite(url,w,h,id,bg,vars,win) {
	
// ÇÃ·¡½¬ÄÚµåÁ¤ÀÇ	
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='"+w+"' height='"+h+"' id='"+id+"'>");
document.write("<param name='allowScriptAccess' value='always'>");
document.write("<param name='movie' value='"+url+"'>");
document.write("<param name='FlashVars' value='"+vars+"'>");
document.write("<param name='wmode' value='"+win+"'>");
document.write("<param name='bgcolor' value='"+bg+"'>");
document.write("<param name='menu' value='false'>");
document.write("<param name='quality' value='high'>");
document.write("<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false'  bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' quality='high' allowScriptAccess='always' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'>");
document.write("</object>");

}

//µ¿¿µ»ó
function aviPlay(src,w,h){
	document.write('<embed src="'+src+'" width='+w+' height='+h+'>')	
}
*/
