function show_block(group_name_prefix, item) {
	if(!document.getElementsByTagName) {
		return false;
	}
	/* Make sure same type when comparing below in loop */
	item = parseInt(item);
	/*
	 * Search for all things with group prefix and toggleblock class
	 */
	var block_divs = document.getElementsByTagName('DIV');
	var block_div;
	var block_id;
	var i = 0;
	/* Loop all blocks */
	while(block_div = block_divs.item(i++)) {
		/* Make sure right class */
		if (block_div.className.indexOf('toggleblock') < 0) {
			/* javascript enabled, show these nav bits */
			if (block_div.className.indexOf('togglenav') > -1) {
				block_div.style.display = 'block';
			}
			continue;
		}
		/* Make sure right group */
		if (block_div.id.indexOf(group_name_prefix + '_') != 0) {
			continue;
		}
		block_id = parseInt(block_div.id.replace(group_name_prefix + '_', ''));
		/* Do we hide or show */
		if (block_id != item) {
			block_div.style.display = 'none';
		} else {
			block_div.style.display = 'block';
		}
	}
	return true;
}

function jump(url) {
	win=window.open(url, 'external', 'scrollbars,toolbar,menubar,location,resizable,width=800,height=600');
	win.focus();
	return false;
}

function term(term_name) {
	win=window.open('/terms.html#' + term_name, 'term', 'scrollbars,width=256,height=500');
	win.focus();
	return false;
}