    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');
        container.html('');
        $(obj.blogs).each(function(el) {
		    if (this.post == "") {
				return;	
			}
            if (this.hasOwnProperty('post')) {
				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 + '\
				<p><a href="' + this.link + '" target="_blank">' + this.title + '</a><br/> - <em>' + this.date + '</em></p>\
		        <p>' + limitedPost + '</p>\
				<hr/>\
				</div>';
                container.append(str);
            }
			
        });
        //Uncomment the line below to use the jquery scroll bar, but you will need to add it's reference at the top.
        //container.jScrollPane({ showArrows: true, scrollbarWidth: 15 
        
    }