function popup(link) {
	window.open('' + link + '','ssi','locationbar=no,status=no,resizable=no,toolbar=no,scrollbars=yes,top=0,left=0,width=656,height=700');
}

function flash(){
var x;
if (self.innerWidth) { x = self.innerWidth;}
else if (document.documentElement && document.documentElement.clientWidth) { x = document.documentElement.clientWidth;}
else if (document.body){x = document.body.clientWidth;}
if(x <= 1044){
document.write("<TR><TD align=\"center\"><DIV style=\"width:1024;height:176;background:#ffffff\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"1024\" height=\"176\" title=\"SSI\"><param name=\"movie\" value=\"swf/ani_head.swf\"><param name=\"quality\" value=\"high\"><embed src=\"swf/ani_head.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"1024\" height=\"176\"></embed></object></DIV></TD></TR>");
 } else if(x > 1044 && x <= 1160) {
document.write("<TR><TD align=\"center\"><DIV style=\"width:1152;height:176;background:#ffffff\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"1152\" height=\"176\" title=\"SSI\"><param name=\"movie\" value=\"swf/ani_head_1152.swf\"><param name=\"quality\" value=\"high\"><embed src=\"swf/ani_head_1152.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"1152\" height=\"176\"></embed></object></DIV></TD></TR>");
 }
else if (x > 1160){
document.write("<TR><TD align=\"center\"><DIV style=\"width:1280;height:176;background:#ffffff\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"1280\" height=\"176\" title=\"SSI\"><param name=\"movie\" value=\"swf/ani_head_1280.swf\"><param name=\"quality\" value=\"high\"><embed src=\"swf/ani_head_1280.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"1280\" height=\"176\"></embed></object></DIV></TD></TR>");
}
}

function oben(){
var y;
if (self.innerHeight) { y = self.innerHeight;}
else if (document.documentElement && document.documentElement.clientHeight) { y = document.documentElement.clientHeight;}
else if (document.body){y = document.body.clientHeight;}
if ( y >= 630 ){ hoehe2 = (y - 650) / 3 * 1;
if(hoehe2 > 0){
document.write("<TR><td width=100% bgcolor=#ffffff><img src=\"img/1x1_trans.gif\" width=\"1\" height=\"" + hoehe2 + " border=\"0\"></TD></TR>");
 }
 }
 }
 
 function unten(){
var y;
if (self.innerHeight) { y = self.innerHeight;}
else if (document.documentElement && document.documentElement.clientHeight) { y = document.documentElement.clientHeight;}
else if (document.body){y = document.body.clientHeight;}
if ( y >= 630 ){ hoehe1 = (y - 650) / 3 * 2;
if(hoehe1 > 0){
document.write("<TR><td width=100% bgcolor=#ffffff><img src=\"img/1x1_trans.gif\" width=\"1\" height=\"" + hoehe1 + " border=\"0\"></TD></TR>");
 }
 }
 }
 

function Fensterweite () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}

function Fensterhoehe () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
    return document.body.offsetHeight;
  } else {
    return 0;
  }
}

function neuAufbau () {
  if (Weite != Fensterweite() || Hoehe != Fensterhoehe()){
    location.href = location.href;
}
}
