  var InitializeMe = (function(){
	var global = this;
	var base = null;
	var safe = false;
	var listenerType = (global.addEventListener && 2)||
							(global.attachEvent && 3)|| 0;
	function getStackFunc(next, funcRef, arg1,arg2,arg3,arg4){
		function l(ev){
			funcRef((ev?ev:global.event), arg1,arg2,arg3,arg4);
			if(next)next = next(ev);
			return (funcRef = null);
		};
		l.addItem = function(d){
			if(next){
				next.addItem(d);
			}else{
				next = d;
			}
		};
		return l;
	};
	return (function(funcRef, arg1,arg2,arg3,arg4){
		if(base){
			base.addItem(getStackFunc(null, funcRef, arg1,arg2,arg3,arg4));
		}else{
			base = getStackFunc(null, funcRef, arg1,arg2,arg3,arg4);
		}
		if(!safe){
			switch(listenerType){
				case 2:
					global.addEventListener("load", base, false);
					safe = true;
					break;
				case 3:
					global.attachEvent("onload", base);
					safe = true;
					break;
				default:
					if(global.onload != base){
						if(global.onload){
							base.addItem(getStackFunc(null, global.onload));
						}
						global.onload = base;
					}
					break;
			}
		}
	});
})();

var queryStrings = (function(out){
    if(typeof location != 'undefined'){
        var nvp,workAr,ofSet,temp = location.search||location.href||'';
        if(temp&&(ofSet = temp.indexOf('?')) > -1){
            temp = temp.substring((ofSet+1), temp.length);
            workAr = temp.split('&');
            for(var c = workAr.length;c--;){
                nvp = workAr[c].split('=');
                if(nvp.length > 1){
                    out[nvp[0]] = nvp[1];
                }
            }
        }
    }
    return out;
})({}); //inline function expression call passed an object

var TimedQue = (function(){
	var base, timer;
	var interval = 42;
	var newFncs = null;
	function addFnc(next, f){
		function t(){
			next = next&&next();
			if(f()){
				return t;
			}else{
				f = null;
				return next;
			}
		}
		t.addItem = function(d){
			if(next){
				next.addItem(d);
			}else{
				next = d;
			}
			return this;
		};
		t.finalize = function(){
			return ((next)&&(next = next.finalize())||(f = null));
		};
		return t;
	}
	function tmQue(fc){
		if(newFncs){
			newFncs = newFncs.addItem(addFnc(null, fc));
		}else{
			newFncs = addFnc(null, fc);
		}
		if(!timer){
			timer = setTimeout(tmQue.act, interval);
		}
	}
	tmQue.act = function(){
		var fn = newFncs, strt = new Date().getTime();
		if(fn){
			newFncs = null;
			if(base){
				base.addItem(fn);
			}else{
				base = fn;
			}
		}
		base = base&&base();
		if(base||newFncs){
			var t = interval - (new Date().getTime() - strt);
			timer = setTimeout(tmQue.act, ((t > 0)?t:1));
		}else{
			timer = null;
		}
	};
	tmQue.act.toString = function(){
		return 'TimedQue.act()';
	};
	tmQue.finalize = function(){
		timer = timer&&clearTimeout(timer);
		base = base&&base.finalize();
		newFncs = [];
	};
	return tmQue;
})();

function compatModeTest(obj){
	if((document.compatMode)&&
	   (document.compatMode.indexOf('CSS') != -1)&&
	   (document.documentElement)){
		return document.documentElement;
	}else if(document.body){
		return document.body;
	}else{
		return obj;
	}
}

var MoveFollow = (function(){
	var global = this;
	var theOne = {
		getPageX:function(){
			return (readScroll.scrollLeft|0) - (readScroll.clientLeft|0) + x;
		},
		getPageY:function(){
			return (readScroll.scrollTop|0) - (readScroll.clientTop|0) + y;
		},
		upDate:function(ev){
			mm(ev);
		},
		useCaptureEv:false
	};
	var x = 0, y = 0;
	var readScroll = {scrollTop:0,scrollLeft:0,
	                  clientLeft:0,clientTop:0};
	var posReadX = 'pageX';
	var posReadY = 'pageY';
	function mm(e){
		e = e||global.event;
		x = e[posReadX];
		y = e[posReadY];
	}
	function initEvent(ev){
		ev = ev||global.event;
		if(ev){
			if(typeof ev.pageX != 'number'){ //Opera 7 has pageX
				posReadX = 'clientX';
				posReadY = 'clientY';
				if(!global.opera){           //Not an Opera browser
					readScroll = compatModeTest(readScroll);
				}
			}
            setUpOnMouse(mm);
            mm(ev);
        }else{
            setUpOnMouse(initEvent);
        }
    }
    function setUpOnMouse(f){
        if(document.onmousemove != f){
            document.onmousemove = f;
            if((document.captureEvents)&&(global.Event)&&
               (document.layers)&&(typeof Layer == 'function')){
                 document.captureEvents(Event.MOUSEMOVE);
                 theOne.useCaptureEv = true;
            }
        }
    }
	initEvent();
	return (function(){
		return theOne;
	});
})(); //simultaneously define and call (one-off)!

var getElementWithId = (function(){
	if(document.getElementById){
		return (function(id){
			return document.getElementById(id);
		});
	}else if(document.all){
		return (function(id){
			return document.all[id];
		});
	}
	return (function(id){
		return null;
	});
})();

var getAssociatedElementPosition = (function(){
	function getWorkFunction(el){
		if(typeof el.offsetTop == 'number'){
			return offsets;
		}else if(typeof el.top == 'number'){
			return top;
		}else if(typeof el.x == 'number'){
			return XY;
		}else if(el = el.style){ //getting desperate!
			if((typeof el.posTop == 'number')&&(el.posWidth)){
				return pos;
			}else if((typeof el.pixelTop =='number')&&(el.pixelWidth)){
				return pixel;
			}else if((typeof el.top != 'undefined')&&(el.top)){
				return styleTop;
			}
		}
		return dummy;
	};
	function offsets(el, p){
		var x = 0,y = 0;
		do{
			x += el.offsetLeft|0;
			y += el.offsetTop|0;
		}while(el = el.offsetParent);
		p.y = y;
		p.x = x;
	}
	function top(el,p){p.y = el.top;p.x = el.left;}
	function XY(el,p){p.y = el.y;p.x = el.x;}
	function pos(el,p){p.y = el.posTop;p.x = el.posLeft;}
	function pixel(el,p){p.y = el.pixelTop;p.x = el.pixelLeft;}
	function styleTop(el,p){
		p.y = parseInt(el.top);p.x = parseInt(el.left);
	}
	function dummy(el,p){p.x = (p.y = NaN);}
	return (function(el){
		var work = getWorkFunction(el);
		function p(){
			work(el,p);
			return p;
		}
		return p();
	});
})();
var getAssociatedElementDimensions = (function(){
	function getWorkFunction(el){
		var temp;
		if(typeof el.offsetWidth == 'number'){
			return offsets;
		}else if(typeof el.scrollWidth == 'number'){
			return scrolls;
		}else if(typeof el.width == 'number'){
			return width;
		}else if(temp = el.style){ //getting desperate!
			if((typeof temp.posWidth == 'number')&&(temp.posWidth)){
				return pos;
			}else if((typeof temp.pixelWidth == 'number')&&
			                            (temp.pixelWidth)){
				return pixel;
			}else if((typeof temp.width != 'undefined')&&(temp.width)){
				return styleWidth;
			}
		}else if((temp = el.clip)&&(typeof temp.width == 'number')&&
		                                              (temp.width)){
			return clWidth;
		}
		return dummy;
	}
	function scrolls(el, d){
		d.w = el.scrollWidth;d.h = el.scrollHeight;
	}
	function offsets(el, d){
		d.w = el.offsetWidth;d.h = el.offsetHeight;
	}
	function width(el,d){d.w = el.width;d.h = el.height;}
	function clWidth(el,d){d.w = el.clip.width;d.h = el.clip.height;}
	function pos(el,d){
		d.w = el.style.posWidth;d.h = el.style.posHeight;
	}
	function pixel(el,d){
		d.w = el.style.pixelWidth;d.h = el.style.pixelHeigth;
		}
	function styleWidth(el,d){
		d.w = parseInt(el.style.width);d.h = parseInt(el.style.height);
	}
	function dummy(el,d){d.w = (d.h = NaN);}
	return (function(el){
		var work = getWorkFunction(el);
		function d(){
			work(el,d);
			return d;
		}
		return d();
	});
})();

var getWindowState = (function(){
	var global = this;
	var readScroll = {scrollLeft:0,scrollTop:0};
	var readSize = {clientWidth:0,clientHeight:0};
	var readScrollX = 'scrollLeft';
	var readScrollY = 'scrollTop';
	var readWidth = 'clientWidth';
	var readHeight = 'clientHeight';
	var inited = false;
	var theOne = {
		getScrollX:function(){
			return readScroll[readScrollX]|0;
		},
		getScrollY:function(){
			return readScroll[readScrollY]|0;
		},
		getWidth:function(){
			return readSize[readWidth]|0;
		},
		getHeight:function(){
			return readSize[readHeight]|0;
		}
	};
	function init(){
		if((typeof global.innerHeight == 'number')&&
		   (typeof global.innerWidth == 'number')){
			readSize = global;
			readWidth = 'innerWidth';
			readHeight = 'innerHeight';
		}else{
			readSize = compatModeTest(readSize);
		}
		if((typeof global.pageYOffset == 'number')&&
		   (typeof global.pageXOffset == 'number')){
			readScroll = global;
			readScrollY = 'pageYOffset';
			readScrollX = 'pageXOffset';
		}else{
			readScroll = compatModeTest(readScroll);
		}
		inited = true;
	}
	return (function(){
		if(!inited)init();
		return theOne;
	});
})();

function associateObjWithEvent(obj, methodName){
    return (function(e){
        e = e||window.event;
        return obj[methodName](e, this);
    });
}

var WindowMngr = (function(){
	var global = this,windows = {},windowState = null;
	var borderWidth = 2 //(pixel value);
	var closeBuf = [
	     '<span class="lukkryds"><a href="#" onFocus="this.blur();" onclick="return window.WindowMngr(\'',
	     '','\', \'close\');" name="','','close" id="','',
	     'close" class="windowClose" title=" Luk ">x<\/a></span>'];
	var currentDrag = null,mngrSet = false;
	var useCaptureEv, cssUnitsOrZero,moveFollow = null;
	
	function mngrSetUp(styleObj){
		windowState = getWindowState();
		cssUnitsOrZero = (typeof styleObj.top == 'string')?'px':0;
		moveFollow = MoveFollow();
		useCaptureEv = moveFollow.useCaptureEv
		mngrSet = true;
	}
	function endDrag(){
		if(currentDrag)currentDrag.dragging = false;
		currentDrag = null;
	}
	function getHitTestFunction(obj, winPos, winDim){
		return (function(minX, maxX, minY, maxY){
			var x = winPos().x, y = winPos.y;
			if(          (!obj.visibile)||
			  ((minX > (x+winDim().w-1))||
							  (maxX < x)||
			     (minY > (y+winDim.h-1))||
							 (maxY < y))){
				return false;
			}
			return true;
		});
	}
	function retTrue(){return true;}
	function retFalse(){return false;}
	function getWindow(type, id){
		switch(type){
			case 1:
				return new HideCoveredWindow(id);
			default:
				return new StdWindow(id);
		}
	}
	var getZStackInterface = (function(){
		var base, top, maxZindex = 1000;
		function ms(){
			if((top)&&(top.previous)){
				top.previous.onStartOfMove();
			}
		}
		function me(){
			if(base){
				base.onEndOfMove();
			}
		}
		return (function(callback_SetZ,
		                 callback_moveStart,
		                 callback_notCovered,
		                 callback_testIsCovered,
		                 callback_testCovers
		                              ){
			function z(newIndex){
				callback_SetZ(newIndex);
				if(z.previous){
					z.previous((((newIndex -= 10) > 0)?newIndex:0));
				}
			}
			z.previous = (z.next = null);
			z.moveFirst = function(){
				if(top != this){
					if(this.previous){
						this.previous.next = this.next;
					}else if(this.next){
						base = this.next;
					}
					if(this.next){
						this.next.previous = this.previous;
					}
					this.previous = top;
					this.next = null;
					top.next = this;
					top = this;
					base.onEndOfMove();
				}
				top(maxZindex);
			};
			z.moveLast = function(){
				if(base != this){
					if(this.next){
						this.next.previous = this.previous;
					}else if(this.previous){
						top = this.previous;
					}
					if(this.previous){
						this.previous.next = this.next;
					}
					if(base){
						this.next = base;
						base.previous = this;
					}
					this.previous = null;
					base = this;
				}
				base(0);
			};
			z.startOfMove = ms;
			z.endOfMove = me;
			z.onStartOfMove = function(){
				callback_moveStart();
				if(this.previous){
					this.previous.onStartOfMove();
				}
			};
			z.onEndOfMove = function(){
				if((this.next)&&(callback_testIsCovered(this.next))){
					callback_moveStart();
				}else{
					callback_notCovered();
				}
				if(this.next)this.next.onEndOfMove();
			};
			z.testCovers = function(minX, maxX, minY, maxY){
				return callback_testCovers(minX, maxX, minY, maxY)||
				                                        (this.next&&
				       this.next.testCovers(minX, maxX, minY, maxY));
			},
			z.moveLast();
			if(!top){ //first time only;
				top = base;
			}
			return z;
		});
	})();
	var headerPattern = /^h[0-9]$/i;
	var divPattern = /^DIV$/i;
	function verifyElementType(node, testRegEx, className){
		return (
			(node)&&	
			((typeof node.nodeType != 'number')||(node.nodeType == 1))&&
			(
				((typeof node.nodeName == 'string')&&(testRegEx.test(node.nodeName)))||
				((typeof node.tagName == 'string')&&(testRegEx.test(node.tagName)))||
				((typeof node.localName == 'string')&&(testRegEx.test(node.localName)))||
				((typeof node.className == 'string')&&(node.className == className))||
				((typeof node.getAttribute != 'undefined')&&(node.getAttribute('class') == className))
			)
		);
	}
	function getDivCollection(parent){
		var ret = [], childNodes = parent.childNodes||parent.children||parent.getElementsByTagName('*');
		var typ = typeof childNodes;
		var node
		if(((typ == 'object')&&childNodes)||(typ == 'function')){
			for(var c = 0;c < childNodes.length;c++){ //first child that is a header or class == 'windowBar'
				if(verifyElementType((node = childNodes[c]), headerPattern, 'windowBar')){
					ret[0] = node;
					break;
				}
			}
			if(node.nextSibling){ //first sibling that is a DIV or is class == 'windowContents'
				while(node.nextSibling){
					if(verifyElementType((node = node.nextSibling), divPattern, 'windowContents')){
						ret[1] = node;
						break;
					}
				}
			}else{ //first DIV in childNodes.
				for(var c = 0;c < childNodes.length;c++){
					if(verifyElementType((node = childNodes[c]), divPattern, 'windowContents')){
						ret[1] = node;
						break;
					}
				}
			}
		}
		return ret;
	}
	
	function StdWindow(uniqueID){
		if((uniqueID)&&(this.init)){
			this.init(uniqueID);
		}
	}
	StdWindow.prototype.init = function(uniqueID){
		var windDiv,windDivStyle,barDivStyle,self = this;
		function finishSetUp(){
			var temp,x,y,currentX,currentY;
			var barDiv,contDiv = getDivCollection(windDiv);
			if(!mngrSet)mngrSetUp(windDivStyle);
			if((!contDiv || contDiv.length < 2)||
			           (!(barDiv = contDiv[0]))||
			          (!(contDiv = contDiv[1]))||
	                      (!(temp = self.setInit(
							     windDiv, barDiv,
							        contDiv) ))){
				//abort!
				windDivStyle.position = '';
				windDivStyle.visibility = 'visible';
				self.visibile = true;
			}else{
				barDivStyle = barDiv.style||barDiv
				barDivStyle.cursor = 'move';
				currentX = temp.x;
				currentY = temp.y;
				self.zInterface = getZStackInterface(
					(function(zIndex){
						windDivStyle.zIndex = zIndex;
					}),
					retTrue, //call-back on start of move (don't care!)
					retTrue, //call-back not covered. (don't care!)
					retFalse,//call-back is covered. (don't care!)
					(getHitTestFunction(self, self.winPos, self.winDim))
				);
				self.doDragg = function(){
					currentX = (moveFollow.getPageX() - self.dxStart);
					currentY = (moveFollow.getPageY() - self.dyStart);
          var int_forskydelse = 58;
					if(currentY < int_forskydelse){currentY = int_forskydelse;}
					if(currentX < 0){currentX = 0;}
          if (windDivStyle.visibility == 'visible')
          {
            if ((parseInt(currentX) + parseInt(trimInt(trimTal(windDivStyle.width)))) <= document.getElementById('indholdsfelt').offsetWidth)
              windDivStyle.left = currentX + cssUnitsOrZero;
            else
              windDivStyle.left = document.getElementById('indholdsfelt').offsetWidth - parseInt(trimInt(trimTal(windDivStyle.width))) + cssUnitsOrZero;
            //debug(currentY);
            if ((parseInt(currentY) + parseInt(trimInt(trimTal(windDivStyle.height)))) <= (document.getElementById('indholdsfelt').offsetHeight + int_forskydelse))
              windDivStyle.top = currentY + cssUnitsOrZero;
            else
              windDivStyle.top = document.getElementById('indholdsfelt').offsetHeight - parseInt(trimInt(trimTal(windDivStyle.height))) + int_forskydelse + cssUnitsOrZero;
          }
					if(!self.dragging){
						self.zInterface.endOfMove()
						if(!currentDrag){
							document.onselectstart =
							    (document.onmouseup = retTrue);
						}else if(currentDrag == self){
							currentDrag = null;
						}
					}
					return self.dragging;
				}
				self.close = function(){
					windDivStyle.visibility = 'hidden';
					this.visibile = false;
					this.zInterface.moveLast();
					this.zInterface.endOfMove();
					return false;
				}
				self.open = function(){
					//windDivStyle.left = currentX + cssUnitsOrZero;
					//windDivStyle.top = currentY + cssUnitsOrZero;
					windDivStyle.visibility = 'visible';
					this.visibile = true;
					this.winDim();
					this.zInterface.moveFirst();
					return false;
				}
				self.configured = true;
			}
		}
		windDiv = getElementWithId(uniqueID);
		if(windDiv){//found div
			windDivStyle = (windDiv&&windDiv.style)||windDiv;
			windDivStyle.position = 'absolute';
			windDivStyle.visibility = 'hidden';
			this.visibile = false;
			InitializeMe(finishSetUp);
		}else{//try later (onload)
			InitializeMe(function(){
				windDiv = getElementWithId(uniqueID);
				if(windDiv){
					windDivStyle = (windDiv&&windDiv.style)||windDiv;
					windDivStyle.position = 'absolute';
					windDivStyle.visibility = 'hidden';
					self.visibile = false;
					finishSetUp();
				}
			});
		}
	};
	
	StdWindow.prototype.dragging = false;
	StdWindow.prototype.configured = false;
	StdWindow.prototype.setInit = function(windDiv, barDiv, contDiv){
		if((isNaN((this.winDim =
		                getAssociatedElementDimensions(windDiv)).w))||
		   (isNaN((this.winPos =
		                  getAssociatedElementPosition(windDiv)).x))){
			return null;
		}else{
			barDiv.onmousedown =
			               associateObjWithEvent(this, 'dragBarDown');
			contDiv.onmousedown =
			               associateObjWithEvent(this, 'contentDown');
			windDiv.onmousedown = 
			                associateObjWithEvent(this, 'windowDown');
			return({
				x:(((windowState.getWidth() - this.winDim.w)>>1)+
										  windowState.getScrollX()),
				y:(((windowState.getHeight() - this.winDim.h)>> 1)+
										  windowState.getScrollY())
			});
		}
	}
	StdWindow.prototype.dragBarDown = function(e, element){
		this.zInterface.moveFirst();
		if(!this.dragging){
			if(currentDrag&&(currentDrag != this)){
				currentDrag.dragging = false;
			}
			currentDrag = this;
			this.dragging = true;
			moveFollow.upDate(e);
			this.winDim();
			this.dxStart = moveFollow.getPageX() - this.winPos().x;
			this.dyStart = moveFollow.getPageY() - this.winPos.y;
			this.zInterface.startOfMove();
			TimedQue(this.doDragg);
			document.onselectstart = retFalse;
			document.onmouseup = endDrag;
			if(useCaptureEv){
				document.captureEvents(Event.MOUSEUP);
			}
		}else{
			this.dragging = false;
			if((currentDrag)&&(currentDrag != this)){
				currentDrag.dragging = false;
			}
		}
	};
	StdWindow.prototype.contentDown = function(){
		this.dragging = false;
	};
	StdWindow.prototype.windowDown = function(){
		if(currentDrag != this){
			this.zInterface.moveFirst();
			if(currentDrag)currentDrag.dragging = false;
		}
	};
	StdWindow.prototype.open = retTrue;
	StdWindow.prototype.close = retTrue;

	function HideCoveredWindow(uniqueID){
		if((uniqueID)&&(this.init)){
			this.init(uniqueID);
		}
	}

	HideCoveredWindow.prototype = new StdWindow();
	HideCoveredWindow.prototype.init = function(uniqueID){
		var windDiv,barDivStyle,windDivStyle,self = this;
		function finishSetUp(){
			var temp,x,y,currentX,currentY,contStyle;
			var barDiv,contDiv = getDivCollection(windDiv);
			if(!mngrSet)mngrSetUp(windDivStyle);
			if((!contDiv || contDiv.length < 2)||
			           (!(barDiv = contDiv[0]))||
			          (!(contDiv = contDiv[1]))||
	                      (!(temp = self.setInit(
							     windDiv, barDiv,
							        contDiv) ))){
				windDivStyle.position = '';
				windDivStyle.visibility = 'visible';
				self.visibile = true;
			}else{
				barDivStyle = barDiv.style||barDiv;
				barDivStyle.cursor = 'move';
				currentX = temp.x;
				currentY = temp.y;
				self.contentPos = 
				                getAssociatedElementPosition(contDiv);
				self.contentDim = 
				               getAssociatedElementDimensions(contDiv);
				contStyle = (contDiv&&contDiv.style)||contDiv;
				self.zInterface = getZStackInterface(
					(function(zIndex){
						windDivStyle.zIndex = zIndex;
					}),
					(function(){
						if(self.visibile){
							contStyle.visibility = 'hidden';
						}
					}), //call-back on start of move.
					(function(){
						contStyle.visibility = 'inherit';
					}), //call-back not covered.
					(function(fncObj){
						var x,y;
						return self.visibile&&
						   fncObj.testCovers((x = (self.contentPos().x+borderWidth)),
						                     (self.contentDim().w+x-1),
						                       (y = (self.contentPos.y+borderWidth)),
						                       (self.contentDim.h+y-1));
					}),//call-back is covered.
					(getHitTestFunction(self, self.winPos, self.winDim))
				);
				self.doDragg = function(){
					currentX = (moveFollow.getPageX() - self.dxStart);
					currentY = (moveFollow.getPageY() - self.dyStart);
					if(currentY < 0){currentY = 0;}
					if(currentX < 0){currentX = 0;}
					windDivStyle.left = currentX + cssUnitsOrZero;
					windDivStyle.top = currentY + cssUnitsOrZero;
					if(!self.dragging){
						self.zInterface.endOfMove();
						if(!currentDrag){
							document.onselectstart = 
							           (document.onmouseup = retTrue);
						}else if(currentDrag == self){
							currentDrag = null;
						}
					}
					return self.dragging;
				}
				self.close = function(){
					windDivStyle.visibility = 'hidden';
					this.visibile = false;
					this.zInterface.moveLast();
					this.zInterface.endOfMove();
					return false;
				}
				self.open = function(){
					//windDivStyle.left = currentX + cssUnitsOrZero;
					//windDivStyle.top = currentY + cssUnitsOrZero;
					windDivStyle.visibility = 'visible';
					this.visibile = true;
					this.winDim();
					this.zInterface.moveFirst();
					return false;
				}
				self.configured = true;
			}
		}
		windDiv = getElementWithId(uniqueID);
		if(windDiv){//found div
			windDivStyle = (windDiv&&windDiv.style)||windDiv;
			windDivStyle.position = 'absolute';
			windDivStyle.visibility = 'hidden';
			this.visibile = false;
			InitializeMe(finishSetUp);
		}else{//try later (onload)
			InitializeMe(function(){
				windDiv = getElementWithId(uniqueID);
				if(windDiv){
					windDivStyle = (windDiv&&windDiv.style)||windDiv;
					windDivStyle.position = 'absolute';
					windDivStyle.visibility = 'hidden';
					self.visibile = false;
					finishSetUp();
				}
			});
		}
	};
	
	function init(uniqueID, methodName, a1,a2,a3,a4,a5,a6){
		var wObj;
		if((wObj = windows[uniqueID])&&(wObj.configured)){
			if((methodName)&&(wObj[methodName])){
				wObj[methodName](a1,a2,a3,a4,a5,a6);
			}else{
				return wObj.open();
			}
			return false;
		}
		return true;
	}
	init.closeButton = function(x, id, type, boo_udelad_luk){
		windows[id] = getWindow((type|0),id);
		closeBuf[1] = (closeBuf[3] = (closeBuf[5] = id));
		if(x.document&&x.document.write&&!x.document.layers)
    {
			if (!boo_udelad_luk)
        x.document.write(closeBuf.join(''));
		}
	}
	if(global.queryStrings&&!queryStrings['noWindows']&&
	                                 global.setTimeout){
		return init;
	}else{
		retTrue.closeButton = retTrue;
		return retTrue;
	}
})();
