   function show_SWF(proname_dir,name,width,height,num_rand,commands){ 
	   flash_ver=flashVersion();
	   if(8<=flash_ver){
	      this_ver="8,0,0,0"; 
		  fdir="flash/";
	   }else{
	      this_ver="6,0,0,0"; 
		  fdir="flash/v6/v6_";
		  if(name=="top_flash" && height=="538"){name="top_flash2";}
	   }
	   if(commands=="banner"){this_ver="6,0,0,0"; fdir="rek/";}
	   
	   document.write('<object id="'+name+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+this_ver+'" width="'+width+'" height="'+height+'">\n');
	   document.write('<param name="allowScriptAccess" value="sameDomain">\n');
	   document.write('<param name="movie" value="'+proname_dir+'/images/'+fdir+name+'.swf?'+commands+'&flash_ver='+flash_ver+'&'+num_rand+'">\n');
	   document.write('<param name="quality" value="high">\n');
	   document.write('<param name="menu" value="false">\n');
	   document.write('<param name="scale" value="noscale">\n');
	   document.write('<param name="salign" value="lt">\n');
	   document.write('<param name="wmode" value="transparent">\n');
	   document.write('<embed name="'+name+'" id="'+name+'" src="'+proname_dir+'/images/'+fdir+name+'.swf?'+commands+'&flash_ver='+flash_ver+'&'+num_rand+'" wmode="transparent" quality="high" swLiveConnect="true" scale="noscale" salign="lt" menu="false" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="'+width+'" height="'+height+'">\n');
	   document.write('</object>\n');
   }

