var $__BPN={timeout:3000,ready:false,timer:null,i:-1,DLServer:null,BEServer:null,DLList:[{sldl:'http://sds01.brugervenlighedstesten.dk/sldl-min.js',protocol:'http://sds01.brugervenlighedstesten.dk/protocol/execute.ashx'},{sldl:'http://sds02.brugervenlighedstesten.dk/sldl-min.js',protocol:'http://sds02.brugervenlighedstesten.dk/protocol/execute.ashx'},{sldl:'http://sds03.brugervenlighedstesten.dk/sldl-min.js',protocol:'http://sds03.brugervenlighedstesten.dk/protocol/execute.ashx'}],DLReady:function()
	    {clearTimeout($__BPN.timer);$__BPN.ready=true;$__BPN.DLServer=$__BPN.DLList[$__BPN.i];$__BPN.log('SLDL downloaded from URL: '+$__BPN.DLList[$__BPN.i].sldl);},NotLoaded:function()
	    {$__BPN.log('SLDL download process failed for '+$__BPN.DLList[$__BPN.i].sldl);},DLFail:function()
	    {$__BPN.log('SLDL download process failed: no servers');},addJS:function(src)
	    {var s=window.document.createElement('script');s.setAttribute('type','text/javascript');s.setAttribute('src',src);window.document.documentElement.firstChild.appendChild(s);},escapeHTML:function(str)
	    {var div=document.createElement('div');var text=document.createTextNode(str);div.appendChild(text);return div.innerHTML;},getArgs:function()
	    {var args=new Object();var query=location.search.substring(1);var pairs=query.split("&");for(var i=0;i<pairs.length;i++)
													 {var pos=pairs[i].indexOf('=');if(pos==-1)
																	    continue;var argname=pairs[i].substring(0,pos);var value=pairs[i].substring(pos+1);args[argname]=unescape(value);}
	     return args;},_loger:null,isNeedLog:function()
	    {return $__BPN.getArgs().__bpnui=='show_debug';},log:function(message)
	    {if(!$__BPN.isNeedLog())return;if($__BPN._loger==null)
					       {if(document.body==null)
						       {setTimeout(arguments.callee,10);return;}
						   var l=document.createElement('div');l.style.position='absolute';l.style.width='400px';l.style.height='500px';l.style.right='0';l.style.top='0';l.style.border='2px solid #000';l.style.background='#ddd';l.style.overflow='auto';l.style.padding='5px';l.style.zIndex='1000';l.style.fontFamily='Monospace';l.style.fontSize='8pt';l.style.MozBoxSizing='border-box';$__BPN._loger=document.body.appendChild(l);}
	     if(message!=null&&message!='')
		 $__BPN._loger.innerHTML+='&bull;&nbsp;'+message+'<br />';},GetSLDL:function()
	    {if($__BPN.ready)
		    return;if($__BPN.i<$__BPN.DLList.length-1)
			       {if($__BPN.i!=-1)
				       $__BPN.NotLoaded();$__BPN.i++;$__BPN.log('Try to download SLDL from '+$__BPN.DLList[$__BPN.i].sldl);$__BPN.addJS($__BPN.DLList[$__BPN.i].sldl);$__BPN.timer=setTimeout($__BPN.GetSLDL,$__BPN.timeout);}
		else
		    $__BPN.DLFail();}};$__BPN.log();$__BPN.GetSLDL();
