﻿function loadLinks(){
    $.getJSON('database.php?type=links', {}, loadLinks_Complete);
}

function loadLinks_Complete(result){
    var output = $('#linkItem').parseTemplate(result);
    $('#title').html("links");
    $('#innercontent').html(output);
}