function playFlash_v1(flashid,width,height){
 var fpic =document.getElementById(flashid).getElementsByTagName("img");
 var flink =document.getElementById(flashid).getElementsByTagName("a");
 var focus_width=width;
 var focus_height=height;
 var text_height=0;
 var imag=new Array();
 var link=new Array();
 var text=new Array(); 
 var swf_height = focus_height+text_height ; 
  for(var i=0;i<fpic.length;i++){
   imag[i]=fpic[i].src;
   }  
  var pics="", links="", texts="";
	for(var i=0; i<imag.length; i++){
		pics=pics+("|"+imag[i]);
		links=links+("|"+flink[i]);
		texts=texts+("|"+text[i]);
		//alert(flink[i*2]);
	} 
  pics=pics.substring(1);
	links=links.substring(1);
	texts=texts.substring(1);	
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
 document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://images.91.com/conquer91e/flash/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
 document.write('<param name="menu" value="false"><param name=wmode value="transparent">');
 document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
 document.write('<embed src="http://images.91.com/conquer91e/flash/focus.swf" wmode="transparent" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  document.write('</object>');
 }
 
 
 function playFlash_v2(flashid,width,height){
 var fpic =document.getElementById(flashid).getElementsByTagName("img");
 var flink =document.getElementById(flashid).getElementsByTagName("a");
 var focus_width=width
 var focus_height=height
 var text_height=0
 var imag=new Array();
 var link=new Array();
 var text=new Array();
 
 var swf_height = focus_height+text_height
 
  for(var i=0;i<fpic.length;i++){
   imag[i]=fpic[i].src;
   }  
  var pics="", links="", texts="";
	for(var i=0; i<imag.length/2; i++){
			if( i==(imag.length/2-1))
			{ pics=pics+imag[2*i+1]+"#"+imag[2*i]+"#"+flink[i];}
			else
			{
			pics=pics+imag[2*i+1]+"#"+imag[2*i]+"#"+flink[i]+"|";}
		} 
	  pics=pics.substring(0);
	
 document.write('<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="'+ focus_width +'" height="'+ swf_height +'">');
 document.write('<param name="movie" value="http://images.91.com/conquer91e/flash/index_huandeng_0812.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
 document.write('<param name="menu" value="false">');
 document.write('<param name=wmode value="transparent">')
 document.write('<param name="FlashVars" value="mylinkpic='+pics+'">');
 
 document.write('<embed src="http://images.91.com/conquer91e/flash/index_huandeng_0812.swf"  wmode="transparent" FlashVars="mylinkpic='+pics+'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" height="'+swf_height+'"width="'+focus_width+'"/>');  document.write('</object>');
 }