function getStylesheet() { return ''; } function getToolbar() { var the_beginning, the_end; var welcome, login, signup, games, community, support, shopping; var separator = "  |  "; the_beginning = ""; the_beginning += ''; the_beginning += ' '; the_beginning += ' '; the_end += ' '; the_end += ' '; the_end += ' '; the_end += ' '; the_end += '
'; the_beginning += ' '; the_beginning += ' '; the_beginning += ' '; the_beginning += ' '; the_end += ' '; the_end += '
'; the_end = ""; the_end += '
'; the_end += '
'; welcome = 'Willkommen Gast'; login = 'EINLOGGEN'; signup = 'REGISTRIEREN'; games = 'SPIELE'; community = 'COMMUNITY'; support = 'SUPPORT'; shopping = 'SHOP'; return the_beginning + welcome + separator + login + separator + signup + separator + games + separator + community + separator + support + separator + shopping + the_end; } function displayToolbar() { document.write(getStylesheet()); document.write(getToolbar()); } function displayToolbarWithoutStylesheet() { document.write(getToolbar()); } function printStylesheet() { document.write(getStylesheet()); } function getPreferredLocalization() { preLoc = getCookie("PreferredLocalization"); if (preLoc && (preLoc!="")) { return preLoc; } return 'de'; } function setPreferredLocalization(mylocation) { var d = new Date(); d.setYear(d.getYear()+10); setCookie("PreferredLocalization",mylocation,d); } function setCookie(name, value, expires, path, domain, secure) { document.cookie= name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function getCookie(name) { var dc = document.cookie; var prefix = name + "="; var begin = dc.indexOf("; " + prefix); if (begin == -1) { begin = dc.indexOf(prefix); if (begin != 0) return null; } else { begin += 2; } var end = document.cookie.indexOf(";", begin); if (end == -1) { end = dc.length; } return unescape(dc.substring(begin + prefix.length, end)); } function deleteCookie(name, path, domain) { if (getCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } function getUserName() { return 'Guest'; } function isUserLoggedIn() { return false; } function getLegalLocalization() { return 'de'; } function getRatingParameter() { return -1; } function isAgeOK() { return 1; } displayToolbar();