var html = []; html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push('
2010年
03月10日
'); html.push('
500课时
初级白班
'); html.push('
'); html.push('
'); html.push('
剩余名额
1
位'); html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push('
2010年
03月13日
'); html.push('
120课时
A2周末班
'); html.push('
'); html.push('
'); html.push('
剩余名额
2
位'); html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push('
2010年
03月13日
'); html.push('
120课时
A1周末班
'); html.push('
'); html.push('
'); html.push('
剩余名额
1
位'); html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push('
2010年
03月15日
'); html.push('
500课时
初级白班
'); html.push('
'); html.push('
'); html.push('
剩余名额
0
位'); html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push('
2010年
03月17日
'); html.push('
400课时
商贸西语班
'); html.push('
'); html.push('
'); html.push('
剩余名额
2
位'); html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push('
2010年
03月22日
'); html.push('
500课时
初级白班
'); html.push('
'); html.push('
'); html.push('
剩余名额
10
位'); html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push('
2010年
03月22日
'); html.push('
60课时
A1.1晚班
'); html.push('
'); html.push('
'); html.push('
剩余名额
7
位'); html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push('
2010年
03月22日
'); html.push('
900课时
商贸西语班
'); html.push('
'); html.push('
'); html.push('
剩余名额
5
位'); html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push('
2010年
03月25日
'); html.push('
700课时
考级白班
'); html.push('
'); html.push('
'); html.push('
剩余名额
10
位'); html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push('
2010年
03月27日
'); html.push('
120课时
A1周末班
'); html.push('
'); html.push('
'); html.push('
剩余名额
10
位'); html.push('
'); html.push('
'); html.push('
'); html.push('
'); html.push(''); document.write(html.join('')); var cursos_hot = document.getElementById('cursos_hot'); var lis = document.getElementById('hot_list').getElementsByTagName('li'); var tem = 0, cur=1, t=null, t2=null, cur_a = lis[0]; function scrollUp(e){ tem += (e - tem)*.1; cursos_hot.scrollTop = tem; } function scrollDown(e){ tem -= (tem-e)*.1 cursos_hot.scrollTop = tem; } function play(n){ if(t)clearTimeout(t); var len = n*110; if(len>tem){ t = setInterval(function(){scrollUp(len)},20); }else{ t = setInterval(function(){scrollDown(len)},20); } } function start(){ if(cur>lis.length-1)cur=0; cur_a.className=''; cur_a = lis[cur]; cur_a.className = 'cur'; //cursos_hot.scrollTop = (cur+1)*110; play(cur); cur++; } t2 = setInterval(start, 5000); for(var i=0; i