// Ketchetwah's Grand Network Library
// (c) 2011 Ketchetwahmeegwun T. Southall
function nRestore() {
        state = window.location.hash.slice(1);
	(state != "") ? dynaLoad(state) : "";
}

function nRequest(url) {
        document.getElementById('dynabox').style.visibility = "hidden";
        var response = null;
// Browser check
        if (!/*@cc_on!@*/false) {
                var connection = new XMLHttpRequest();
        } else {
                var connection = new ActiveXObject("Microsoft.XMLHTTP");
        }
        try {
// Open a non-asynchronous connection with GET.
                connection.open("GET", url, false);
// Send the request.
                connection.send();
// If data receiving is complete, set response to the received data.
                if(connection.readyState == 4) {
                        response = connection.responseText;
                }
        }
        catch(e) {
                return false;
        }
// Return our data.
        fade('dynabox');
        return response;
}

