function swf_open(a, b, c){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+b+'" height="'+c+'">      <param name="wmode" value="transparent">	  <param name="movie" value="'+a+'">      <param name="quality" value="high">      <embed src="'+a+'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+b+'" height="'+c+'"></embed>    </object>');
}
  
function flash(id,w,h,s,wmode,valuename,values) {
	var str="", sID="";
	if (id.length > 0) { sID = " id='"+id+"' name='"+id+"'"; }
	str += "<object "+sID+" classid='clsid:D27CDB6E-AE6D-11cf-96B8";
	str += "-444553540000'";
	str += " codebase='http://download.macromedia.com/pub/shockwave/cabs";
	str += "/flash/swflash.cab#version=6,0,29,0'";
	str += " width='"+w+"' height='"+h+"'>";
	str += "<param name='movie' value='"+s+"'>";
	str += "<param name='quality' value='high'>";
	str += "<param name='menu' value='false'>";
	str += "<param name='wmode' value='"+wmode+"'>";
	str += "<param name='"+ valuename +"' value='"+ values +"'>";
	str += "<embed "+sID+" src='"+s+"' quality='high' wmode='"+wmode+"'";
	str += " pluginspage='http://www.macromedia.com/go/getflashplayer'";
	str += " type='application/x-shockwave-flash'";
	str += " width='"+w+"' height='"+h+"'></embed>";
	str += "</object>";
	document.write(str);
}



function flashObj(src,w,h,id) { 
  
  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=8,0,0,0 id="'+id+'" width="'+w+'" align="center" height="'+h+'" z-index:10;>';  
  html += '<param name="movie" value="'+src+'" />'; 
  html += '<param name="quality" value="high" />';
  html += '<param name="bgcolor" value="#ffffff" />';
  html += '<param name="wmode" value="transparent" />';		
  html += '<param name="menu" value="false" />';  
  html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" wmode="transparent"  menu="false" width="'+w+'"  height="'+h+'" swliveconnect="true" id="'+id+'" name="param" align="center" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> <\/embed>'; 
  html += '<\/object>'; 
  
  document.write(html);

}
