function playlist(id){
	list = $("#"+id);
	list.find(".playlist-item").each(function(){
		var item = $(this),
			title = item.find(".title").html(),
			desc = item.find(".description").html();
		
		img = $("<img>");
		anchor = $("<a>");
		meta_div = $("<div class='meta'>");
		meta_div.append("<h1 class='title'>" + title + "</h1>");
		meta_div.append("<a href='" + item.attr("href") + "' class='description'>" + desc + "</a>");
		
		img.attr("src", item.attr("thumb"));
		img.attr("class", "thumb");
		anchor.attr("href", item.attr("href"));
		anchor.html(img);
		
		item.attr("class", "playlist-item");
		item.html(anchor);
		item.append(meta_div);
		// item.click(function(){
		// 	window.location = item.attr("href");
		// 	return false;
		// });
		
	});
}
