function GetSWF(src,width,height,wmod,bgcolor){
	if (wmod==undefined){wmod="transparent"}
	if (bgcolor==undefined){bgcolor="#ffffff"}
	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="'+width+'" height="'+height+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="wmode" value="'+wmod+'">';
	html += '<param name="bgcolor" value="'+bgcolor+'">';
	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high wmode="'+wmod+'" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}



// Arguments : flashMovie(Ãâ·Â¿µ¿ªID,ÇÃ·¹½¬ÆÄÀÏ°æ·Î,WIDTH,HEIGHT[,FLASHVARS[,WMOD]]) 

function flashMovie(fid,src,wid,hei,fvs,wmd) { 
this.fPrint = ''; 
this.Id = document.getElementById(fid); 
this.Src = src; 
this.Width = wid; 
this.Height = hei; 
this.FlashVars = (fvs != undefined)? fvs :''; 
this.Wmod = (wmd != undefined)? wmd :''; 
if(isObject(Id)) { 
fPrint = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"'; 
fPrint += ' width="'+Width+'"'; 
fPrint += ' height="'+Height+'">'; 
fPrint += '<param name="movie" value="'+Src+'">'; 
fPrint += '<param name="quality" value="high">'; 
fPrint += (FlashVars != null) ? '<param name="FlashVars" value="'+FlashVars+'">' : ''; 
fPrint += (Wmod != null) ? '<param name="wmode" value="'+Wmod+'">' : ''; 
fPrint += '<embed'; 
fPrint += fPrint + ' src="'+Src+'"'; 
fPrint += (FlashVars != null) ? ' FlashVars="'+FlashVars+'"' : ''; 
fPrint += (Wmod != null) ? ' wmode="'+Wmod+'"' : ''; 
fPrint += ' quality="high"'; 
fPrint += ' pluginspage="http://www.macromedia.com/go/getflashplayer"'; 
fPrint += ' type="application/x-shockwave-flash"'; 
fPrint += ' width="'+Width+'"'; 
fPrint += ' height="'+Height+'"'; 
fPrint += '></embed>'; 
fPrint += '</object>'; 
Id.innerHTML = fPrint; 
} 
} 

function isObject(a) { 
return (a && typeof a == 'object'); 
} 