summaryrefslogtreecommitdiff
path: root/doc/scripts.js
blob: 8558d92af2ab4f6546f7cefecbb2b64bb95a2e37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

function togglePopbox(id, show, hide) {
	var link = document.getElementById(id + "_link");
	var div = document.getElementById(id + "_div");
	if (div.style.display == 'block') {
		div.style.display = 'none';
		if (link) {
		    link.firstChild.nodeValue = show;
		}
	}
	else if (div.style.display == 'none') {
		div.style.display = 'block';
		if (link) {
		link.firstChild.nodeValue = hide;
		}
	}
}

function alphaApi() {
    window.open("alphaapi.html", "_blank", "width=600,height=400, scrollbars=yes,resizable=yes,toolbar=no");
}

function alphaImplementation() {
    window.open("alphaimplementation.html", "_blank", "width=600,height=400, scrollbars=yes,resizable=yes,toolbar=no");
}