var imgArray = [ {title:"鸿鑫玉石赴英参加中国品牌商品欧洲展受广大国外友人喜.",img:"http://www.xyhxys.com/upload/jpg/IMG_1270.JPG",link:"http://www.xyhxys.com/dp-0000000000142253.xhtml"}, {title:"贵州省首届民族博览会黔西南州长杨永英、贵安新区杜丹.",img:"http://www.xyhxys.com/upload/jpg/IMG_1264.JPG",link:"http://www.xyhxys.com/dp-0000000000142252.xhtml"}, {title:"中共贵州省委常委、宣传部长张广智协同州市领导莅临我.",img:"http://www.xyhxys.com/upload/jpg/dNTc2FiWAwAA_bo_VQOAAgAAAAAFAPc!_rf_viewer_5.jpg",link:"http://www.xyhxys.com/dp-0000000000142251.xhtml"}, {title:"州委书记张政、州纪委书记李景辉、州总工会主席陈文发等.",img:"http://www.xyhxys.com/upload/jpg/fujian_zhouweishujizhangzheng、zhoujiweishujilijinghui、zhouzonggonghuizhuxichenwenfadenglingdaodaowogongsidiaoyan_21.jpg",link:"http://www.xyhxys.com/dp-0000000000141422.xhtml"}, {title:"两款重量级芯片在京亮相",img:"http://www.zheiec.com/upload/jpg/CUPtupian1.jpg",link:"http://www.zheiec.com/dp-0000000000123698.xhtml"}, {title:"别忘了给自己喝彩",img:"http://www.gzhhyy.com.cn/upload/jpg/107.jpg",link:"http://www.gzhhyy.com.cn/dp-0000000000141902.xhtml"}, {title:"星月苗族蜡染工艺品有限公司副总经理杨兰",img:"http://www.xylr.cn/upload/jpg/IMG_6565.jpg",link:"http://www.xylr.cn/dp-0000000000141879.xhtml"}, {title:"中秋放假通知",img:"http://www.gzhhyy.com.cn/upload/jpg/20_5.jpg",link:"http://www.gzhhyy.com.cn/dp-0000000000141700.xhtml"} ]; window.addEvent('domready', function() { if (imgArray.length>0) new JChangeIMG({container:$("put-photo-here"),data:imgArray,sleep:3500}); var photoPanle = $('run-photo'); if (photoPanle) photoPanle.setStyle('width',$('run-photo-plane').getStyle('width').toInt() *2); });