if (window == top) { top.location.href = "index.php";}

function wswin(wside,wx,hx,scx) {
var high = screen.height;
var wide = screen.width;
var hoch = high - 55;
var weit = wide - 35;
var maxweit = wide - 10;
if(hx == "max") { xhx = hoch; xscx = scx; } else {
if(hx > hoch) { xhx = hoch; xscx = "yes"; } else { xhx = hx; xscx = scx; }}
if(wx == "max") { xwx = maxweit; xscx = scx; } else {
if(wx > weit) { xwx = weit; xscx = "yes"; } else { xwx = wx; xscx = scx; }}
sdomps = window.open(wside,'xms',"'toolbar=no,statusbar=no,scrollbars="+xscx+",top=0,left=0,resizable=yes,width="+xwx+",height="+xhx+"'");
sdomps.focus();
}


function cont(){
ea="ws-media-service";
eb="@";
ec="gmx.de";
location.href = "mailto:"+ea+eb+ec+"?subject=Nightlife-Art"; }

function f(b){
ft = "x"+b;
fz = new Image();
document[ft].src = "images/markon.gif";
i = 1;  ns = 30;
for (i = 1;i <= ns;++i){ gt = "x"+i;
if (document[gt]){
if (gt != ft) { fz = new Image();
document[gt].src = "images/mark.gif"; }} else { u = 1;}}}

function preloader() { 
document.imgs=new Array();
var i,dil=document.imgs.length,pa=preloader.arguments;
for(i=0; i<pa.length; i++) { document.imgs[dil]=new Image; document.imgs[dil++].src=pa[i];}}

preloader('images/bookmarkonon.gif','images/weiterleitungon.gif');

function wsmover(b,bnr){ 
var np = new Image(); 
document[bnr].src =  b; }
function wsmout(ob,obnr){ 
var onp = new Image(); 
document[obnr].src =  ob; }

function show(gside,swi) {

swx = 850; shx = 680; 

var shigh = screen.height;
var swide = screen.width;
var shoch = shigh - 55;
var sweit = swide - 35;
var smaxweit = swide - 10;

if(shx > shoch) { sxhx = shoch; sxscx = "yes"; } else { sxhx = shx; sxscx = "no"; }
if(swx > sweit) { sxwx = sweit; sxscx = "yes"; } else { sxwx = swx; sxscx = "no"; }
xsdomps = window.open(gside,'xxms',"'toolbar=no,statusbar=no,scrollbars="+sxscx+",top=0,left=0,resizable=yes,width="+sxwx+",height="+sxhx+"'");
xsdomps.focus();
steuer=1;
}