function swf(src,w,h,wmode,bgColor){
 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+'">';
 html += '<param name="quality" value="high">';
 if(bgColor != ""){
  html += '<param name="bgcolor" value="'+ bgColor +'">';
 }
 if(wmode != ""){
  html += '<PARAM NAME="wmode" VALUE="'+ wmode +'">';
 }
 html += '<param name="swliveconnect" value="true">';
 html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" 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 mov(src,w,h,vol,scon){
 html = '';
 
 //showcontrols
 if(scon == "") {
  scon = "true";
 } else {
  scon = "false";
 }
 
 //width
 if(w == "") {
  w = '';
 } else {
  w = '" width="'+w+'"';
 }
 
 //height
 if(h == "") {
  h = '';
 } else {
  h = '" height="'+h+'"';
 }
 
 //volume
 if(vol == "") {
  vol = '';
 } else {
  vol = '" volume="'+vol+'"';
 }
 
 html = '<embed src="'+src+'" showcontrols="'+scon+'" autostart="true" enablecontextmenu="false" '+w+' '+h+' '+vol+'></embed>';
 document.write(html);
}




function jsViewFlash(strUrl, strProps, flashVars) {
    var aryPropList = jsParseProperty(strProps, ",");
    var strHtml     = "";
    var strType     = "";

    if (jsIsIE()) {
         strType = "classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0'";
    }
    else {
         strType = "type='application/x-shockwave-flash'";
    }

    strHtml += "<object " + strType + " data='" + strUrl + "' width='" + aryPropList.get("width", "100%") + "' height='" + aryPropList.get("height", "100%") + "' align='" + aryPropList.get("align", "middle") + "'>" + "\n";
    strHtml += "    <param name='movie'             value='" + strUrl                                + "'>" + "\n";
    strHtml += "    <param name='quality'           value='" + aryPropList.get("quality", "high")    + "'>" + "\n";
    strHtml += "    <param name='bgcolor'           value='" + aryPropList.get("bgcolor", "#FFFFFF") + "'>" + "\n";
    strHtml += "    <param name='wmode'             value='" + aryPropList.get("wmode"  , "window")  + "'>" + "\n";
	//ÇÃ·¡½Ãº¯¼ö ³Ñ±â±â(¾Æ·¡ ÇÑÁÙ)
    strHtml += "    <param name='flashVars'             value='" + flashVars  + "'>" + "\n";
    strHtml += "    <param name='allowScriptAccess' value='always'>                                       " + "\n";
    strHtml += "</object>                                                                                 " + "\n";

    document.write(strHtml);
}
