//Toggle between Linked Cyrillic Alphabet and Advanced Search Features
function toggleVisibility(id, NNtype, IEtype, WC3type) {
    if (document.getElementById) {
		eval("document.getElementById(id).style.visibility = \"" + WC3type + "\"");
	} else {
		if (document.layers) {
			document.layers[id].visibility = NNtype;
		} else {
			if (document.all) {
				eval("document.all." + id + ".style.visibility = \"" + IEtype + "\"");
			}
		}
	}
}

// Called in About page

function newPress() {
	press = window.open("/letopis/static/en/letopis_press_release.html", "press",
	"width=500,height=400,toolbar=yes,location=yes,scrollbars=yes,resizable=yes")
}
function newGrantProp() {
	grantProp = window.open("/letopis/static/en/letopisGrantProp.html", "grantProp",
	"width=500,height=400,toolbar=yes,location=yes,scrollbars=yes,resizable=yes")
}

function newCroucherTallinn() {
	tallin = window.open("/letopis/static/en/croucherTallinn.html",
	"tallin", "width=500,height=400,toolbar=yes,location=yes,scrollbars=yes,resizable=yes")
}


//Called in Help page
 
function keyMap() {
	keyMapWindow = window.open("/letopis/static/en/keyboardMapping.html", "keyMapWindow",
	"width=400,height=400,toolbar=no,location=no,scrollbars=yes,resizable=yes")
}

function subOutline() {
	subOutlineWindow = window.open("/letopis/static/en/subject_headings_outline.html",
	"subOutlineWindow",
	"width=500,height=400,toolbar=no,location=yes,scrollbars=yes,resizable=yes")
}
function subChart() {
	subChartWindow = window.open("/letopis/static/en/subject_headings_chart.html",
	"subChartWindow",
	"width=500,height=400,toolbar=no,location=yes,scrollbars=yes,resizable=yes")
}


//checks the search input Field for terms required
