	 
function LoadFlash(url,wmode,width,Height,param)
{ 
document.write(
  '<embed src="' + url + '" FlashVars="'+param+'" wmode=' + wmode +
  ' quality="high" pluginspage=http://www.macromedia.com/go/getflashplayer type="application/x-shockwave-flash" width="' + width + 
  '" height="' + Height + '"></embed>');   
}

		var focus_width=363;
		var focus_height=229;
		var text_height=18;
		 
		 var pics="";
		 var links="";
		 var texts="";

        var imgarray =document.getElementsByName("imgnews");
        for(i=0;i<imgarray.length;i++)
        {
        	var corpId = imgarray[i].lang;
        	var contentId = imgarray[i].id;
        	var contentTitle = imgarray[i].value;
        	var imgName = imgarray[i].alt;
        	var url = imgarray[i].title;
        	
        	var link;
        	if(corpId>0){//企业新闻
        	    link='/corporations/'+url+"/"+contentId;
        	}else {//行业新闻
        		link='/news/'+url+"/"+contentId;
        	}
        	
        	if(i!=imgarray.length-1){
	        	pics=pics+imgName+"|";
	        	texts=texts+contentTitle+"|";
	        	links = links+link+"|";
        	}else{
        	    pics=pics+imgName;
	        	texts=texts+contentTitle;
	        	links = links+link;
        	}
        	
        }	
        
        
LoadFlash('/images/imgNews.swf','transparent',focus_width,focus_height+text_height,'pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height)
