var m=new Array(); m[m.length] = " dfgh123 发布分类信息 全新诺基亚N86手机仅售700 ..." m[m.length] = " dfgh123 发布分类信息 清仓出售全新诺基亚 N96 ..." m[m.length] = " dfgh123 发布分类信息 特价出售全新联想IdeaPad ..." m[m.length] = " cdj888 发布分类信息 低价出售各款全新500元手 ..." m[m.length] = " cdj888 发布分类信息 低价出售各款800元笔记本 ..." m[m.length] = " mingjue 发布分类信息 名爵婚庆庆典" m[m.length] = " mingjue 发布分类信息 名爵婚庆 庆典礼仪 演出活 ..." m[m.length] = " hyd8888hyd 发布分类信息 好又多数码商城低价出售各 ..." m[m.length] = " hyd8888hyd 发布分类信息 各款500元全新手机低价热 ..." m[m.length] = " hyd8888hyd 发布分类信息 低价出售800元各款全新笔 ..." var a = 0; document.write(""+m[0]+""); var user_action_timer= null; function user_action_start() { user_action_timer = setTimeout("user_action_run()",2000); return; } function user_action_run() { a++; if(a >= m.length) a = 0; document.getElementById("user_action_msg_id").innerHTML = m[a]; user_action_timer = setTimeout("user_action_run()",5000); return; } function user_action_next() { a++; if(a >= m.length) a = 0; document.getElementById("user_action_msg_id").innerHTML = m[a]; user_action_stop(); return; } function user_action_last() { a--; if(a < 0) a = m.length - 1; document.getElementById("user_action_msg_id").innerHTML = m[a]; user_action_stop(); return; } function user_action_stop() { if(user_action_timer!=null) clearTimeout(user_action_timer); return; } user_action_start();