<!--
// DBUS! Deutschland - Enterprise Information Portal By Busskamp And Scholwin
// Source Code By Dirk Busskamp And Web Design By Sabine Busskamp
// Copyright 2000 - 2012 DBUS! Deutschland
// http://www.dbus.de
// mailto:info@dbus.de

function dbustetris()
{
var tetris_window_width = 700;
var tetris_window_height = 600;
var options = "";
var popup = "";
if (IE){
tetris_window_width = Math.max(tetris_window_width, document.body.clientWidth);
tetris_window_height = Math.max(tetris_window_height, document.body.clientHeight);
popup = "tetrisie.html";
}
else {
if (NS) {
tetris_window_width = Math.max(tetris_window_width, window.innerWidth);
tetris_window_height = Math.max(tetris_window_height, window.innerHeight);
popup = "tetrisns.html";
}
else {
if (NS6&&DOM&&XHR) {
tetris_window_width = Math.max(tetris_window_width, window.innerWidth);
tetris_window_height = Math.max(tetris_window_height, window.innerHeight);
popup = "tetrisff.html";
}
}
}
options = "width=" + tetris_window_width + ",height=" + tetris_window_height + ",scrollbars=yes,resizable=yes";
wincontent = window.open(popup, 'dbustetris', options);
}

function SorryTetris() {
document.writeln('<p><b>Sorry<\/b>, unser Dynamic HTML Spiel kann in Ihrem Browser nicht gestartet werden!<\/p>');
}
 
function StartTetris() {
document.writeln('<p><a href="#" onclick="dbustetris();">DBUS! Tetris<\/a>' +
'&nbsp;&nbsp;&nbsp; (eigene Spielkonsole wird gestartet)<\/p>');
}
//-->

