	//function ge(k, d) {
	//	if (!d) { d = document }
	//	
	//	return document.getElementById(k);
	//}
	// -------------------------------------------------------------------------
	// cnp: classNamePrefix, e: element, tn: tagName
	function getElementsByClassNamePrefix(cnp, e, tn) {
		var allElements, elements, element;
		
		if (!e) { e = document }
		
		if (!tn) { tn = '*' }
		
		allElements = e.getElementsByTagName(tn);
		
		elements = new Array();
		
		if (allElements) {
			for (i in allElements) {
				element = allElements[i];
				
				if (element.className) {
					if (element.className.indexOf(cnp) == 0) { elements[elements.length] = element }
				}
			}
		}
		
		return elements;
	}
	// -------------------------------------------------------------------------
	// ekp: elementKeyPrefix, cnp: classNamePrefix, sp: statePostfix
	function changeState(ekp, cnp, sp) {
		var elements, i, element;
		var postfix
		
		elements = getElementsByClassNamePrefix(cnp, document, 'TD');
		
		if (elements) {
			for (i in elements) {
				do {
					element = elements[i];
				
					if (ekp) {
						if (element.id.indexOf(ekp) != 0) { break }
					}
					
					if (sp) {
						postfix = '_' + sp;
						
						if (element.className.indexOf(postfix) == (element.className.length - postfix.length)) {
							element.style.display = '';
						} else {
							element.style.display = 'none';
						}
					}
				} while (false)
			}
		}
	}
	// -------------------------------------------------------------------------
	// ak: areaKey
	function lowlight(ak) {
		changeState('', ak, 'normal');
	}
	// -------------------------------------------------------------------------
	// ekp: elementKeyPrefix, ak: areaKey
	function highlight(ekp, ak) {
		lowlight(ak);
		
		changeState(ekp, ak, 'hover');
	}
	// =========================================================================
	function showContentScrollbar() {
		var temp = contentScrollbarHeightKey + (document.body.clientHeight - 190);
		
		if (currentQueryString) { temp = currentQueryString + '&' + temp }
		
		if (temp) { temp = '?' + temp }
		
		temp = scriptFileName + temp;
		
		document.location = temp;
	}
	// -------------------------------------------------------------------------
	function hideContentScrollbar() {
		var temp = contentScrollbarHideKey + '=true';
		
		if (currentQueryString) { temp = currentQueryString + '&' + temp }
		
		if (temp) { temp = '?' + temp }
		
		temp = scriptFileName + temp;
		
		document.location = temp;
	}
	// -------------------------------------------------------------------------
	function changeContentScrollbar() {
		if (contentScrollbarHeight) { showContentScrollbar() }
	}
	// -------------------------------------------------------------------------
	// lk: languageKey
	function changeLanguage(lk) {
		var temp;
		
		if (lk) { temp = languageKeyKey + '=' + lk }
		
		if (currentQueryString) { temp = currentQueryString + '&' + temp }
		
		if (temp) { temp = '?' + temp }
		
		temp = scriptFileName + temp;
		
		document.location = temp;
	}
	
