jQuery(document).ready(function()
{

jQuery.getJSON("http://hq.abaa.org/books/antiquarian/event.json?callback=?", function(data){
    jQuery("#event-info").append("<b>"+data.item.title+"</b>" );
    jQuery("#event-info").append("<p>"+data.item.description+" (<a href='"+data.item.link +"'>view details</a>)</p>");
});

jQuery.getJSON("http://hq.abaa.org/books/antiquarian/news.json?callback=?", function(data){
    jQuery("#news-info").append("<b>"+data.item.title+"</b>" );
    jQuery("#news-info").append("<p>"+data.item.description+" (<a href='"+data.item.link +"'>view details</a>)</p>");
});

jQuery.getJSON("http://hq.abaa.org/books/antiquarian/catalogs.json?callback=?", function(data){
    jQuery("#catalog-info").append("<a href=\""+data.item.link+"\"><b>"+data.item.title+"</b></a>" );
    jQuery("#catalog-info").append("<br/>"+data.item.company+"" );
    jQuery("#catalog-info").append("<p>"+data.item.description+" (<a href='"+data.item.link +"'>view details</a>)</p>");
});

jQuery.getJSON("http://hq.abaa.org/books/antiquarian/index_content.json?callback=?", function(data){
    jQuery("#index_content").html(data.item.description);
});
  
});
