﻿

 var pic_width = 341; //图片宽度
 var pic_height = 212; //图片高度
 var button_pos = 4; //按扭位置 1左 2右 3上 4下
 var stop_time = 3000; //图片停留时间(1000为1秒钟)
 var show_text = 0; //是否显示文字标签 1显示 0不显示
 var txtcolor = "000000"; //文字色
 var bgcolor = "DDDDDD"; //背景色
 var imag=new Array(7);

 var link=new Array(7);

 var text=new Array(7);

imag[0]="http://en.cnci.gov.cn/Files//News//20103/20103121868953.jpg";

link[0]="http://en.cnci.gov.cn/HtmlFiles/News/2010-3-12/11434.html";

text[0]="Spring season of SSO opens with Brahms";

imag[1]="http://en.cnci.gov.cn/Files//News//20103/2010312175731313.jpg";

link[1]="http://en.cnci.gov.cn/HtmlFiles/News/2010-3-12/11433.html";

text[1]="Da Zhang Wei Owodog visit Shenzhen";

imag[2]="http://en.cnci.gov.cn/Files//News//20103/201031111465316.jpg";

link[2]="http://en.cnci.gov.cn/HtmlFiles/News/2010-3-11/11426.html";

text[2]="Portrait of an artist";

imag[3]="http://en.cnci.gov.cn/Files//News//20103/2010311112644469.jpg";

link[3]="http://en.cnci.gov.cn/HtmlFiles/News/2010-3-11/11422.html";

text[3]="Festival of Spring";

imag[4]="http://en.cnci.gov.cn/Files//News//20103/2010310101335141.jpg";

link[4]="http://en.cnci.gov.cn/HtmlFiles/News/2010-3-9/11408.html";

text[4]="Art troupe brings My Dream to Amman";

imag[5]="http://en.cnci.gov.cn/Files//News//20103/201038121639266.jpg";

link[5]="http://en.cnci.gov.cn/HtmlFiles/News/2010-3-8/11406.html";

text[5]="Chinese painter Qi Baishi tops pops";

imag[6]="http://en.cnci.gov.cn/Files//News//20103/201034161436878.jpg";

link[6]="http://en.cnci.gov.cn//HtmlFiles/News/2010-3-4/11384.html";

text[6]="Baise Special A history both Stone Age and modern";

var swf_height = show_text == 1 ? pic_height + 20 : pic_height;
var pics = "", links = "", texts = "";
for (var i = 0; i < imag.length; i++)
{
pics = pics + ("|" + imag[i]);
links = links + ("|" + link[i]);
texts = texts + ("|" + text[i]);
}
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.cabversion=6,0,0,0" width="'+ pic_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="flash/focus.swf">');
document.write('<param name="quality" value="high"><param name="wmode" value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&pic_width='+pic_width+'&pic_height='+pic_height+'&show_text='+show_text+'&txtcolor='+txtcolor+'&bgcolor='+bgcolor+'&button_pos='+button_pos+'&stop_time='+stop_time+'">');
document.write('<embed src="flash/focus.swf" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&pic_width='+pic_width+'&pic_height='+pic_height+'&show_text='+show_text+'&txtcolor='+txtcolor+'&bgcolor='+bgcolor+'&button_pos='+button_pos+'&stop_time='+stop_time+'" quality="high" width="'+ pic_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');


