﻿var pic_width=456; //图片宽度
var pic_height=135; //图片高度
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();
var link=new Array();
var text=new Array();

imag[0]="flash/imgf/images/jycg.jpg";
link[0]="http://www.zbaccp.com/dy/jycg/index.htm";
text[0]="标题 0";
imag[1]="flash/imgf/images/banji.jpg";
link[1]="http://tp.xzaccp.com";
text[1]="标题 0";
imag[2]="flash/imgf/images/lh.jpg";
link[2]="http://www.zbaccp.com/dy/yd/index.html";
text[2]="标题 0";
imag[3]="flash/imgf/images/10.jpg";
link[3]="http://www.zbaccp.com/News/6512.html";
text[3]="标题 1";
imag[4]="flash/imgf/images/zai.jpg";
link[4]="http://www.zbaccp.com/dy/cy/cy.htm";
text[4]="标题 2";
imag[5]="flash/imgf/images/jx.jpg";
link[5]="http://www.zbaccp.com/dy/jx/jx.html";
text[5]="标题 3";
imag[6]="flash/imgf/images/rjy.jpg";
link[6]="http://www.zbaccp.com/dy/jx/jx.html";
text[6]="标题 4";
imag[7]="flash/imgf/images/yx.jpg";
link[7]="http://www.zbaccp.com/dy/yx/yx.html";
text[7]="标题 5";
/*
imag[6]="flash/imgf/images/zounian.jpg";
link[6]="http://www.zbaccp.com/News/6079.html";
text[6]="标题 6";
imag[7]="flash/imgf/images/jy.jpg";
link[7]="http://www.zbaccp.com/dy/jy/jy.html";
text[7]="标题 7";
*/
/*imag[6]="flash/imgf/images/zn.jpg";
link[6]="http://www.zbaccp.com/dy/zn/sh.htm";
text[6]="标题 6";
imag[7]="flash/imgf/images/reliex.jpg";
link[7]="http://www.zbaccp.com/dy/hf/hf.html";
text[7]="标题 7";

/*imag[4]="flash/imgf/images/05.jpg";
link[4]="http://www.zbaccp.com/News/1894.html";
text[4]="标题 4";*/
//元旦晚会
//imag[4]="flash/imgf/images/03.jpg";
//link[4]="http://www.zbaccp.com/yd";
//text[4]="标题 4";

//可编辑内容结束
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/imgf/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>');