function random_array(arr) {
	var return_arr = new Array();
	for (i=arr.length;i>=1;i--) {
		var ind = Math.floor(Math.random() * arr.length) ;
		var arr_length = return_arr.length ;
		return_arr[arr_length] = arr[ind] ;
		arr.splice(ind,1)  ;
	}
	return return_arr ;
}

function getStyleNo() {
	return parseInt(Math.random()*(6-1+1)+1) ;
}

var hot_tags = new Array();
hot_tags[0] = new Array();
hot_tags[0]['title'] = "动作" ;
hot_tags[0]['link'] = "http://movies.xunlei.com/genre/Action" ;

hot_tags[1] = new Array();
hot_tags[1]['title'] = "冒险" ;
hot_tags[1]['link'] = "http://movies.xunlei.com/genre/Adventure" ;

hot_tags[2] = new Array();
hot_tags[2]['title'] = "动画" ;
hot_tags[2]['link'] = "http://movies.xunlei.com/genre/Animation" ;

hot_tags[3] = new Array();
hot_tags[3]['title'] = "喜剧" ;
hot_tags[3]['link'] = "http://movies.xunlei.com/genre/Comedy" ;

hot_tags[4] = new Array();
hot_tags[4]['title'] = "犯罪" ;
hot_tags[4]['link'] = "http://movies.xunlei.com/genre/Crime" ;

hot_tags[5] = new Array();
hot_tags[5]['title'] = "剧情" ;
hot_tags[5]['link'] = "http://movies.xunlei.com/genre/Drama" ;

hot_tags[6] = new Array();
hot_tags[6]['title'] = "家庭" ;
hot_tags[6]['link'] = "http://movies.xunlei.com/genre/Family" ;

hot_tags[7] = new Array();
hot_tags[7]['title'] = "爱情" ;
hot_tags[7]['link'] = "http://movies.xunlei.com/genre/Romance" ;

hot_tags[8] = new Array();
hot_tags[8]['title'] = "电视剧" ;
hot_tags[8]['link'] = "http://movies.xunlei.com/genre/Teleplay" ;

hot_tags[9] = new Array();
hot_tags[9]['title'] = "恐怖" ;
hot_tags[9]['link'] = "http://movies.xunlei.com/genre/Horror" ;

hot_tags[10] = new Array();
hot_tags[10]['title'] = "战争" ;
hot_tags[10]['link'] = "http://movies.xunlei.com/genre/War" ;

hot_tags[11] = new Array();
hot_tags[11]['title'] = "美国" ;
hot_tags[11]['link'] = "http://movies.xunlei.com/area/2" ;

hot_tags[12] = new Array();
hot_tags[12]['title'] = "韩国" ;
hot_tags[12]['link'] = "http://movies.xunlei.com/area/1" ;

hot_tags[13] = new Array();
hot_tags[13]['title'] = "香港" ;
hot_tags[13]['link'] = "http://movies.xunlei.com/area/3" ;



hot_tags[14] = new Array();
hot_tags[14]['title'] = "台湾" ;
hot_tags[14]['link'] = "http://movies.xunlei.com/area/4" ;

hot_tags[15] = new Array();
hot_tags[15]['title'] = "日本" ;
hot_tags[15]['link'] = "http://movies.xunlei.com/area/12" ;

hot_tags[16] = new Array();
hot_tags[16]['title'] = "泰国" ;
hot_tags[16]['link'] = "http://movies.xunlei.com/area/20" ;

hot_tags[17] = new Array();
hot_tags[17]['title'] = "法国" ;
hot_tags[17]['link'] = "http://movies.xunlei.com/area/13" ;

hot_tags[18] = new Array();
hot_tags[18]['title'] = "英国" ;
hot_tags[18]['link'] = "http://movies.xunlei.com/area/5" ;

hot_tags[19] = new Array();
hot_tags[19]['title'] = "德国" ;
hot_tags[19]['link'] = "http://movies.xunlei.com/area/6" ;

hot_tags[20] = new Array();
hot_tags[20]['title'] = "2008" ;
hot_tags[20]['link'] = "http://movies.xunlei.com/year/2008" ;

hot_tags[21] = new Array();
hot_tags[21]['title'] = "2007" ;
hot_tags[21]['link'] = "http://movies.xunlei.com/year/2007" ;

hot_tags[22] = new Array();
hot_tags[22]['title'] = "2006" ;
hot_tags[22]['link'] = "http://movies.xunlei.com/year/2006" ;

hot_tags[23] = new Array();
hot_tags[23]['title'] = "2005" ;
hot_tags[23]['link'] = "http://movies.xunlei.com/year/2005" ;

hot_tags[24] = new Array();
hot_tags[24]['title'] = "大陆" ;
hot_tags[24]['link'] = "http://movies.xunlei.com/area/8" ;

hot_tags[25] = new Array();
hot_tags[25]['title'] = "白灵" ;
hot_tags[25]['link'] = "http://movie.xunlei.com/person/117493" ;

hot_tags[26] = new Array();
hot_tags[26]['title'] = "宋智孝" ;
hot_tags[26]['link'] = "http://movie.xunlei.com/person/246885" ;

hot_tags[27] = new Array();
hot_tags[27]['title'] = "周星驰" ;
hot_tags[27]['link'] = "http://movie.xunlei.com/person/100028" ;

hot_tags[28] = new Array();
hot_tags[28]['title'] = "刘德华" ;
hot_tags[28]['link'] = "http://movie.xunlei.com/person/101949" ;

hot_tags[29] = new Array();
hot_tags[29]['title'] = "贾静雯" ;
hot_tags[29]['link'] = "http://movie.xunlei.com/person/206762" ;

hot_tags[30] = new Array();
hot_tags[30]['title'] = "威尔.史密斯" ;
hot_tags[30]['link'] = "http://movie.xunlei.com/person/106891" ;

hot_tags[31] = new Array();
hot_tags[31]['title'] = "刘亦菲" ;
hot_tags[31]['link'] = "http://movie.xunlei.com/person/196375" ;

hot_tags[32] = new Array();
hot_tags[32]['title'] = "钟欣桐" ;
hot_tags[32]['link'] = "http://movie.xunlei.com/person/111189" ;

hot_tags[33] = new Array();
hot_tags[33]['title'] = "舒淇" ;
hot_tags[33]['link'] = "http://movie.xunlei.com/person/101880" ;

hot_tags[34] = new Array();
hot_tags[34]['title'] = "李丽珍" ;
hot_tags[34]['link'] = "http://movie.xunlei.com/person/100506" ;

hot_tags = random_array(hot_tags) ;

function out_movie_tags() {
	for(i=0;i<32;i++) {
		document.write('<li><a href="'+hot_tags[i]['link']+'" class="s'+getStyleNo()+'" target="_blank" blockid="1396">'+hot_tags[i]['title']+'</a></li>');
	}
}