function ReplaceDemo(str) { str=str.split("商家").join(""); return (str); } var m=new Array(); m[m.length] = ReplaceDemo("9时20分59秒:瓜瓜 对商家艾尚工作室发布了点评") m[m.length] = ReplaceDemo("4时43分4秒:kekehua 发布了商家VOV 韩国薇欧薇 粉丝团的信息") m[m.length] = ReplaceDemo("4时41分51秒:kekehua 发布了商家Thefaceshop的信息") m[m.length] = ReplaceDemo("4时40分27秒:kekehua 发布了商家Skin food 粉丝团的信息") m[m.length] = ReplaceDemo("4时36分46秒:kekehua 发布了商家Somang 所望 粉丝团的信息") var a = 0; document.write("
"); document.write(""); document.write(""); document.write(""); document.write(""); 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();