function topics(json) {
    var html = '';
    for(var i = 0; i < json.length; i++) {
    	var elem = json[i];
    	html += '<li class="' + elem['shop']+ '">';
		aopenhtml = '';
		aclosehtml = '';
		text = elem['title'];
		if(elem['link'].length > 0) {
	        aopenhtml = '<a class="ul2" href="' + elem['link'] + '">';
			aclosehtml = '</a>';
		}
		html += aopenhtml + text + aclosehtml + '</li>';

    }
    document.getElementById('news_area').innerHTML = html;;
}

function staff_blog_newest(json) {
	document.getElementById('staff_blog_newest').innerHTML = json['title'];
}
