<!--// SCRIPT LANGUAGE="JScript"  index_xxl.js
var winobj = new Array;
var doGarbage = 1;

function fu_txxlopen( u_width, u_height, u_src)
{
	var fidx = winobj.length;
  var p_date = new Date();
  var p_name = "SubWin" + p_date.getMinutes() + "_" + p_date.getSeconds() + "_" + p_date.getMilliseconds();

  var para3 = 'height=' + ( u_height + 74 )
        		+ ',width=' + ( u_width + 12 )
         		+ ',innerHeight='+ ( u_height + 24 )
       			+ ',status=no,resizable=yes,location=no'
         		;
  winobj[fidx] = open('about:blank', p_name , para3 );

  var doc = winobj[fidx].document;
	doc.clear();
	doc.write("<TITLE>wemie XXL</TITLE>");
	doc.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>");
	doc.write("<BODY BGCOLOR=#999999 LEFTMARGIN=0 TOPMARGIN=0>");

	doc.write("<INPUT TYPE=checkbox CHECKED ID=chk> autoclose")

	doc.write("<DIV ALIGN=CENTER><IMG SRC=" + u_src + " BORDER=0 ALIGN=CENTER>")
	doc.write("</BODY>");
	doc.close();
	winobj[fidx].document.body.onunload=fuWinClose;

}

function fuWinClose() {
	if ( doGarbage == 1 ) {
		for ( var idx = winobj.length - 1 ; idx >= 0 ; idx-- ) {
	  	if ( winobj[idx] == null || winobj[idx].closed ) {
	  		winobj.splice(idx,1);
	  	}
		}
	}
}

function fu_txxlclose(force)
{
	doGarbage = 0
	for ( var idx = 0 ; idx < winobj.length ; idx++ ) {
  	if ( winobj[idx] != null && ! winobj[idx].closed ) {
  		if ( winobj[idx].document.getElementById("chk").checked || force == 1 ) winobj[idx].close();
  	}
  }
  doGarbage = 1
  fuWinClose()
}

//-- Ende -->

