Ajax optimized Persistant Toolbars

These pages have been optimized on the server side to check if the request is coming from an Ajax request and if so they only send the actual page div instead fo the entire page. If you navigate to any of the pages in the nav bar at the bottom and inspect the return data you will see it contains no head, toolbars, html tag, or body tag.

However if you refresh the page all of these things will be present. This is done by checking the HTTP_X_REQUESTED_WITH header

if (!isset($_SERVER['HTTP_X_REQUESTED_WITH']) || strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) !== 'xmlhttprequest') {

All of the markup not needed when being requested via Ajax is wrapped in if statements like the one above.