var key = new Array(); // Define QuickKey pages here
key['x'] = function(){location.href="cms/admin.php";};

function getKey(e) {
if (!e) e=event;
var ch = String.fromCharCode(e.keyCode).toLowerCase();
for (var i in key) {
if (e.ctrlKey && e.shiftKey && ch == i) { //CTRL+SHIFT+key
key[i]();
return false;
}
}
}
document.onkeydown = getKey;

	
	window.onload = function() {
    var links = document.getElementsByTagName('a');
    for (var i=0;i < links.length;i++) {
        if (links[i].className == 'openblank') {
            links[i].onclick = function() {
                window.open(this.href);
                return false;
            }
        }
    }
}
