/* Peripheral Information Status Preserver (JavaScript)
 *                          ([...]/httpdocs/resources/journal/preservestatus.js)
 *
 * DESCRIPTION:
 * This file contains the javascript component of AJAX code for preserving the
 * shown or hidden status of the various sections of peripheral information
 * across pageviews.
 *
 * AUTHOR:
 * The Confessor <http://confessor.org/contact.php>
 *
 * COPYRIGHT:
 * 2007-2010 The Confessor
 *
 * LICENSE:
 * Use of all or portions of my website source code in your own projects is
 * subject to the terms and conditions listed here:
 * <http://confessor.org/termsofuse.php>
 *
 */

function preservestatus(element,status) {
  var preservestatus_request = new XMLHttpRequest();
  preservestatus_request.open('GET','/resources/journal/preservestatus.php?'+element+'='+status,true);
  preservestatus_request.send(null);
}
