<script>
//$("#related-posts").each(function() {
var g = $(this).html();
var related_number = 3;
$.ajax({
url: "/feeds/posts/default/-/" + g + "?alt=json-in-script&max-results=" + related_number,
type: 'get',
dataType: "jsonp",
success: function(data) {
var posturl = "";
var htmlcode = '