var pic_width=408; Picture width
var pic_height=115; Picture height
var button_pos=4; Press Twist position 1 left 2 right 3 up 4
var stop_time=3000; Picture stay Time (1000 for 1 seconds)
var show_text=0; Display text Labels 1 show 0 do not show
var txtcolor= "99cc33"; Text color
var bgcolor= "99cc33"; Background color
var imag=new Array ();
var link=new Array ();
var text=new Array ();
Imag[1]= "/pic/2.jpg";
Link[1]= "http://www.olders.net/ask/";
text[1]= "Heading 1";
Imag[2]= "/pic/3.jpg";
Link[2]= "http://www.olders.net/html/baojianyinshi/";
text[2]= "Heading 2";
Editable end of content
var swf_height=show_text==1?pic_height+20:pic_height;
var pics= "", links= "", texts= "";
for (var i=1; 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+ " 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> ');