﻿bg = new Array(0); //设定图片数量，如果图片数为3，这个参数就设为2，依次类推
bg[0] = '<span class="cRed"><strong>24小时热线：</strong></span> 010-65880066 国内游请按2'; //显示的图片路径，可用http://
index = Math.floor(Math.random() * bg.length);
document.write(bg[index]);