﻿
var interval_time=5 //图片停顿时间，单位为秒，为0则停止自动切换
var focus_width=280 //宽度
var focus_height=240 //高度
var text_height=30 //标题高度
var text_align= 'center' //标题文字对齐方式(left、center、right)
var swf_height = focus_height+text_height //相加之和最好是偶数,否则数字会出现模糊失真的问题
var pics = "",links = "",texts = "";
				
				
				pics += (pics!=""?"|":"") + "/bmg/hdp/p5.jpg";
				links += (links!=""?"|":"") + encodeURIComponent("/xxtext.aspx?id=145");
				texts += (texts!=""?"|":"") + "南宁历藏文化力邀刘岩老师常驻南宁鉴宝";
								
				pics += (pics!=""?"|":"") + "/bmg/hdp/p1.jpg";
				links += (links!=""?"|":"") + encodeURIComponent("/xxtext.aspx?id=85");
				texts += (texts!=""?"|":"") + "钟家佐先生亲笔题词[南宁历藏文化]"; 
				
				pics += (pics!=""?"|":"") + "/bmg/hdp/p2.jpg";
				links += (links!=""?"|":"") + encodeURIComponent("/xxtext.aspx?id=152");
				texts += (texts!=""?"|":"") + "唐家振专场书法竞卖会取得圆满成功"; 
 				
				pics += (pics!=""?"|":"") + "/bmg/hdp/p3.jpg";
				links += (links!=""?"|":"") + encodeURIComponent("/xxtext.aspx?id=112");
				texts += (texts!=""?"|":"") + "中华奇石展览－葡萄玛瑙";
 				
				pics += (pics!=""?"|":"") + "/bmg/hdp/p4.jpg";
				links += (links!=""?"|":"") + encodeURIComponent("/xxtext.aspx?id=153");
				texts += (texts!=""?"|":"") + "2009金秋书画精品竞买会圆满落幕";
 													
				pics += (pics!=""?"|":"") + "/bmg/hdp/p6.jpg";
				links += (links!=""?"|":"") + encodeURIComponent("/xxtext.aspx?id=135");
				texts += (texts!=""?"|":"") + "天然金刚石重110克";



				
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="/bmg/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'&text_align='+text_align+'&interval_time='+interval_time+'">');
document.write('<embed src="/bmg/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'&text_align='+text_align+'&interval_time='+interval_time+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
//
//

