function ReplaceDemo(str) { str=str.split("商家").join(""); return (str); } var m=new Array(); m[m.length] = ReplaceDemo("8时37分20秒:缥缈11 对商家怡人发艺发布了点评") m[m.length] = ReplaceDemo("8时36分36秒:缥缈11 对商家尖端发艺发布了点评") m[m.length] = ReplaceDemo("8时30分35秒:丫丫 对商家碧斯美容美体连锁发布了点评") m[m.length] = ReplaceDemo("8时30分4秒:丫丫 对商家翡冷翠美容美体中心发布了点评") m[m.length] = ReplaceDemo("6时39分17秒:小蛇 对商家成铭发艺专业烫染发布了点评") var a = 0; 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()",600); 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()",1000); 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();