    var DataFiles = ["http://www.pokerstarsblog.net/tournaments/appt/entries.js"]
    $(document).ready(function() {
        $(DataFiles).each(function(index) {
            var fileref = document.createElement('script');
            fileref.setAttribute("type", "text/javascript");
            fileref.setAttribute("src", this.toString());
            document.getElementsByTagName("head")[0].appendChild(fileref);
        })
    });
    function psRenderBlogs(obj) {
        var container = $('#latestPosts');
		var elcount = 3;
		var elstart = 0;
        container.html('');
        $(obj.blogs).each(function(el) {
			if (this.post == "") {
				if (el == elstart) {
				elstart += 1;
				elcount += 1;
				return;
				} else {
				elcount += 1;
				return;
				}
			}
            if (this.hasOwnProperty('post') && (el <= elcount)) {
				if (el == elstart) {
					var newsBox = ('<div id="newsFeature">');
				} else {
					var newsBox = ('<div class="newsItm">');
				}
				var post = this.post;
				var limit = 200;
				var limitedPost = (post.substr(0, limit-1) +'\
				...\
				<br /><a href="' + this.link + '" target="_blank">Read More</a>');
                var str = '	' + newsBox + '\
				<h2><a href="' + this.link + '" target="_blank">' + this.title + '</a></h2>\
		        <p>' + limitedPost + '</p>\
				</div>';
                container.append(str);
            }
        });
    }