﻿// JScript 文件

function Get_flash(elm, url, w, h) {
    if (!document.getElementById(elm)) return;
    var str = '';
    str += '<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+'">';
    str += '<param name="movie" value="'+ url +'">';
    str += '<param name="quality" value="high">';
    str += '<param name="wmode" value="transparent">';
    str += '<param name="allowfullscreen" value="true">';
    str += '<param name="flashvars" value="isShowRelatedVideo=false&showAd=0&isAutoPlay=true&isDebug=false&UserID=&winType=interior&playMovie=true&MMControl=false&MMout=false&RecordCode=1001,1002,1003,1004,1005,1006,2001,3001,3002,3003,3004,3005,3007,3008,9999">';
    str += '<embed src="' + url + '" quality="high" wmode="transparent" allowfullscreen="true" flashvars="isShowRelatedVideo=false&showAd=0&isAutoPlay=true&isDebug=false&UserID=&winType=interior&playMovie=true&MMControl=false&MMout=false&RecordCode=1001,1002,1003,1004,1005,1006,2001,3001,3002,3003,3004,3005,3007,3008,9999" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed>';
    str += '</object>';
    document.getElementById(elm).innerHTML = str;
}
