rendered paste body<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script type="text/javascript" src="/catelog/js/jquery.js"></script><script type="text/javascript" src="/catelog/js/jquery.litebox.js"></script><script type="text/javascript" src="/catelog/js/ext.js"></script><script type="text/javascript">$(function(){$('#gallery').litebox();});</script><script type="text/javascript">$(document).ready(function() { var editorId = Ext.id(); var tpl = new Ext.Template( '<a class="ref-list-link" href="/catelog/{id}.html">Property:{id}</a>' + "<hr />" ); var moreView = new Ext.JsonView('ref-placement', tpl, { jsonRoot: "ref" }); moreView.load({ url:"/catelog/JSON_retrieve.php", nocache: true, text:"Loading Entries..." }); $("#ref-clear").click(function() { $.ajax({ type: "POST", url: "/catelog/JSON_clear.php", data: "ref=0", success: function(msg){ moreView.el.updateManager.refresh(); } }); })});</script><div class="ref-container" align="center">Saved Reference Numbers<hr /><div id='ref-placement'></div><button id="ref-clear">clear</button></div>