// JavaScript Document
function newwindow(img,title,w,h) {
var day= new Date();
var id = day.getTime();
var ww = w+20; // Make room for scrollbars+75
var wh = h+125; // and a close button
var params = 'width='+ww+',height='+wh+',scrollbars=no,resizable=no,toolbar=no,status=no,location=no';

// Build the output and store it all in msg
var msg='<html><head><title>'+img+'</title></head><body style="background-color:#040D0F; font-family:Arial,Tahoma,Helvetica,sans-serif; font-weight:bold;">'+
'<br><div style="width:100%; text-align:center; color:#FFCB05;">'+title+'</div><br />'+
'<div align="center"><img src="'+img+'" width="'+w+'" height="'+h+'" border="0" alt="'+title+'"><br><br>\n'+
'<a href="javascript:window.close();" style="color:#FFCB05; font-size:16px; font-weight:normal;">Schliessen<a><br>\n'+
'<br />\n';

// Write it all out
var win = open('',id,params);
win.document.write(msg);
win.document.close();
}

