document.addEventListener("DOMContentLoaded", function(event) {
	let elm = document.createElement("div");
	elm.classList.add("selectLanguage");
	elm.classList.add("cheetahOnly");
	var inText = '<form name="frmLanguage"><select class="languagePulldown" name="opLanguage" id="jump">';
	inText = inText + '<option value="#" selected>&#xD55C;&#xAD6D;&#xC5B4;';
	inText = inText + '<option value="../../../ja/booklist/int/index_book.htm">日本語';
	inText = inText + '<option value="../../../en/booklist/int/index_book.htm">English';
	inText = inText + '<option value="../../../de/booklist/int/index_book.htm">Deutsch';
	inText = inText + '<option value="../../../fr/booklist/int/index_book.htm">Fran&#231;ais';
	inText = inText + '<option value="../../../nb/booklist/int/index_book.htm">Norsk';
	inText = inText + '<option value="../../../it/booklist/int/index_book.htm">Italiano';
	inText = inText + '<option value="../../../es/booklist/int/index_book.htm">Espa&#241;ol';
	inText = inText + '<option value="../../../nl/booklist/int/index_book.htm">Nederlands';
	inText = inText + '<option value="../../../vi/booklist/int/index_book.htm">Ti&#7871;ng Vi&#7879;t';
	inText = inText + '<option value="../../../da/booklist/int/index_book.htm">Dansk';
	inText = inText + '<option value="../../../sv/booklist/int/index_book.htm">Svenska';
	inText = inText + '<option value="../../../pt/booklist/int/index_book.htm">Portugu&#234;s';
	inText = inText + '<option value="../../../pl/booklist/int/index_book.htm">Polski';
	inText = inText + '<option value="../../../zh_TW/booklist/int/index_book.htm">繁體中文';
	inText = inText + '<option value="../../../hu/booklist/int/index_book.htm">Magyar';
	inText = inText + '<option value="../../../cs/booklist/int/index_book.htm">&#x10C;e&#353;tina';
	inText = inText + '<option value="../../../fi/booklist/int/index_book.htm">Suomi';
	inText = inText + '<option value="../../../zh_CN/booklist/int/index_book.htm">&#31616;体中文';
	inText = inText + '<option value="../../../ru/booklist/int/index_book.htm">Русски&#x439;';
	inText = inText + '<option value="../../../ca/booklist/int/index_book.htm">Catal&#224;';
	inText = inText + '<option value="../../../el/booklist/int/index_book.htm">Ελληνικ&#940;';
	inText = inText + '<option value="../../../th/booklist/int/index_book.htm">&#x0E20;&#x0E32;&#x0E29;&#x0E32;&#x0E44;&#x0E17;&#x0E22;';
	inText = inText + '<option value="../../../tr/booklist/int/index_book.htm">T&#252;rk&#231;e';
	inText = inText + '<option value="../../../pt_BR/booklist/int/index_book.htm">Portugu&#234;s (BR)';
	inText = inText + '<option value="../../../kk/booklist/int/index_book.htm">&#x049A;&#x0430;&#x0437;&#x0430;&#x049B; &#x0442;&#x0456;&#x043B;&#x0456;';
	inText = inText + '<option value="../../../ar/booklist/int/index_book.htm">العربية';
	inText = inText + '</select></form>';
	elm.innerHTML += inText;
	insertAfter(elm, document.getElementsByClassName("header-top-search")[0]);
	if (document.getElementById("jump") != null) {
		document.getElementById("jump").onchange = function(){
			jump();
		}
	}
});

function insertAfter(newItem, target) {
	target.parentNode.insertBefore(newItem, target.nextSibling);
}