// JavaScript Document
function flash(name,wid,hei,lin)
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"\n');
document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"\n');
document.write('width="'+wid+'" height="'+hei+'" id="movie1" align="middle">\n');
document.write('<param name="allowScriptAccess" value="sameDomain">\n');
document.write('<param name="movie" value="/flash/'+name+'.swf?link_ban='+lin+'">\n');
//document.write('<param name="movie1" value="/flash/'+name+'.swf">\n');
document.write('<param name="quality" value="high">\n');
document.write('<param name="bgcolor" value="#000000">\n');
document.write('<embed src="/flash/'+name+'.swf?link_ban='+lin+'" quality="high" bgcolor="#000000" width="'+wid+'" height="'+hei+'" name="movie1" align="middle"\n');
document.write(' allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
document.write('</object>\n');

}

function flash2(name, width, height, id_name, bgcolor)
{
	if (navigator.userAgent.indexOf('MSIE') > -1) {
		document.write('<object id="'+id_name+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="'+width+'" height="'+height+'">');
		document.write('<param name="allowScriptAccess" value="sameDomain" />');
		document.write('<param name="allowFullScreen" value="false" />');
		document.write('<param name="movie" value="'+name+'" />');
		document.write('<param name="quality" value="high" />');
		document.write('<param name="bgcolor" value="'+bgcolor+'" />');
		document.write('<param name="base" value="/" />');
		document.write('</object>');
	}else{
		document.write('<embed id="'+id_name+'" base="/" src="'+name+'" quality="high" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />');
	}
}