p_text = 0; p_stranka = 1; n_datum = 0; n_text = 1; menu=[ {label:"Home", target:"index"}, {label:"News", target:"news"}, {label:"World", target:"world"}, {label:"Tutorials", target:"tutorials"}, {label:"Screenshots", target:"screenshots"}, {label:"Trains in TA",target:"rail"} ]; function ahref(str,txt){ document.write(""+txt+""); } function br(){ document.write("
"); } function start_page(root){ document.write(""); document.write("Tunnelers' Abyss"); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write("
"); document.write("
\"Tunnelers'

"); document.write(""); document.write(""); size = 0; for (var i in menu){ document.write(""); size++; } document.write(""); document.write("
"); ahref(root + menu[i].target, menu[i].label); document.write("
"); } function end_page(){ document.write("
"); } function image(txt, img, mini, width="200px") { if (typeof mini == "undefined") { mini = img; } document.write("
"); document.write(""); document.write(""); document.write("
"); document.write(txt); document.write("
"); } function galery(images, height) { document.write("

"); for (var i in images) { if (typeof images[i].mini == "undefined") { images[i].mini = images[i].img; } document.write(""); document.write(""); document.write("
"); document.write("
"); document.write(images[i].txt); document.write("
"); } document.write("
"); } function locations(data) { document.write(""); document.write(""); for (var i in data) { document.write(""); for (var j in data[i].items) { document.write(""); document.write(""); document.write(""); document.write(""); } } document.write("
NameOwnerXZ
" + data[i].city + "
" + data[i].items[j].label + "" + data[i].items[j].owner + "" + data[i].items[j].x + "" + data[i].items[j].z + "
"); } function icons(menu, height, root) { document.write("

"); for (var i in menu) { document.write(""); document.write(""); document.write("
"); document.write("
"); document.write(menu[i].title); document.write("
"); } document.write("
"); }