/*(c) Copyright 2005-2007 okova GmbH & co. OhG*/var iIlLiI=new Object();iIlLiI["de"]={close:"Schliessen",max:"Maximieren",min:"Verkleinern"};iIlLiI["en"]={close:"close",max:"maximise",min:""};wM=new Object();wM.lLliLi=new Object();wM.IlIILi=null;wM.iILli=function(){var IILli=new Array(),ILlLII;for(ILlLII in wM.lLliLi){IILli.push(wM.lLliLi[ILlLII]);}IILli.sort(LILli);var zIndex="100000";for(ILlLII=(0x7fa+2786-0x12dc);ILlLII<IILli.length;ILlLII++){IILli[ILlLII].style.zIndex=zIndex;zIndex++;}};wM.ilLli=function(e){if(wM.IlIILi!==null){wM.IlIILi.ILiLii(e);}};wM.llLli=function(e){if(wM.IlIILi!==null){wM.IlIILi.LLiiLi(e);}};wM.LLliLi=function(ILiILi){if(wM.IlIILi!=ILiILi){ILiILi.style.zIndex="999999";if(wM.IlIILi!==null){wM.IlIILi.blur();}wM.IlIILi=ILiILi;wM.iILli();return true;}return false;};wM.IiLiLi=function(ILiILi){if(wM.IlIILi==ILiILi){wM.IlIILi=null;return true;}return false;};function LILli(a,b){return a.style.zIndex-b.style.zIndex;}var LLLli=new Array();var iiiLi="";var screenX,screenY;var LlIliI={x:(0x18f5+344-0x1a4d),y:(0xd00+129-0xd81)};function IliILi(id,options){options=Object.LIIlLi({iIiLi:true,lliILi:true,lIiLi:true},options);if(typeof id!="string"||id===""){id="win_"+(new Date()).getTime().toString();}if(typeof wM.lLliLi[id]=="undefined"){var ILiILi=document.createElement("table");ILiILi.id=id;ILiILi.className="okova_menu_outer";document.getElementsByTagName("body")[(0xb1d+1519-0x110c)].appendChild(ILiILi);Object.LIIlLi(ILiILi,this);ILiILi.style.display="block";ILiILi.style.position="absolute";ILiILi.style.top=Math.max(options.top,(0x1fd0+1657-0x2649))||(0xe62+1360-0x13b2);ILiILi.style.left=Math.max(options.left,(0x1303+4671-0x2542))||(0xc76+270-0xd84);ILiILi.LIiLi=false;LIlIlI(ILiILi,"mousedown",ILiILi.focus);if(options.lliILi){LIlIlI(ILiILi,"mouseover",ILiILi.IliLi);LIlIlI(ILiILi,"mousemove",ILiILi.IliLi);LIlIlI(ILiILi,"mouseout",function(e){if(this.LIiLi===false){ILiILi=Event.element(e);if(ILiILi.tagName!="TABLE"){return;}Event.element(e).style.cursor="default";}else{this.ILiLii(e);}});LIlIlI(ILiILi,"mousedown",ILiILi.lIilI);LIlIlI(ILiILi,"mouseup",ILiILi.LLiiLi);}LliLi=document.createElement("tbody");ILiILi.appendChild(LliLi);iLiLi=document.createElement("tr");if(!options.iIiLi){iLiLi.style.display="none";}iLiLi.style.height="16px";iLiLi.className="TitleBar";iIIlI(iLiLi,ILiILi);LIlIlI(iLiLi,"selectstart",function(){return false;});title=document.createElement("td");title.style.overflow="hidden";title.className="WindowTitle";title.style.cursor="move";if(typeof options.icon=="string"){var IiILli=document.createElement("img");IiILli.src=options.icon;IiILli.style.width="16px";IiILli.style.height="16px";IiILli.style.verticalAlign="middle";IiILli.style.marginRight="4px";IiILli.style.cursor="default";title.appendChild(IiILli);}if(typeof options.title=="string"){title.innerHTML+=options.title;ILiILi.title=options.title;}var LLiLi=(0x18b0+2363-0x21eb);if(options.lIiLi){title.innerHTML+='<img src="/okova/design/window/close.png" style="width:16px; height:16px; margin: 2px; position: absolute; top: 0px; right: 1px; cursor: default;" onClick="this.parentNode.parentNode.parentNode.parentNode.close(); Event.stop(event);" onmousedown="Event.stop(event)"/>';LLiLi+=(0x57f+2516-0xf3f);}if(options.lliILi){title.innerHTML+='<img src="/okova/design/window/max.png" style="width:16px; height:16px; margin: 2px; position: absolute; top: 0px; right: '+LLiLi+'px; cursor: default;" onClick="this.parentNode.parentNode.parentNode.parentNode.ILILi(); Event.stop(event);" onmousedown="Event.stop(event)"/>';LLiLi+=(0x4bd+6046-0x1c47);}if(typeof options.ilIILi=="number"){title.innerHTML+='<img src="/okova/design/window/help.png" style="width:16px; height:16px; margin: 2px; position: absolute; top: 0px; right: '+LLiLi+'px; cursor: default;" onClick="lllLiI.llIILi(this.parentNode.parentNode.parentNode.parentNode.ilIILi,iiIILi(event))"; Event.stop(event);" onmousedown="Event.stop(event)"/>';ILiILi.ilIILi=options.ilIILi;}iLiLi.appendChild(title);IiILi=document.createElement("tr");IiILi.style.border="2px solid green";liILi=document.createElement("td");liILi.id="app";liILi.style.cursor="default";liILi.className="okova_menu_inner";IiILi.appendChild(liILi);LliLi.appendChild(iLiLi);LliLi.appendChild(IiILi);var content=document.createElement(typeof(options.url)=="string"?"iframe":"div");if(typeof options.innerWidth=="number"){content.style.width=options.innerWidth;}if(typeof options.innerHeight=="number"){content.style.height=options.innerHeight;}content.style.border="0";content.name=id;if(typeof(options.url)=="string"){content.src=options.url;}else{if(typeof options.content=="string"){content.innerHTML=options.content;}else if(typeof options.content=="object"){try{options.content.parentNode.removeChild(options.content);}catch(e){}content.appendChild(options.content);}if(options.lliILi===true){content.style.overflow="auto";}}liILi.appendChild(content);if(options.Liiili){ILiILi.Liiili();}document.getElementsByTagName("body")[(0x3e0+6712-0x1e18)].appendChild(ILiILi);if(typeof(options.url)=="string"&&typeof frames!="undefined"&&frames.length>(0xacc+6681-0x24e5)&&frames[frames.length-(0x1f08+1160-0x238f)].name==""){frames[frames.length-(0x12a7+2366-0x1be4)].name=id;}if(typeof options.Iiiili!="undefined"&&options.Iiiili===true){ILiILi.IIILi=LlilI("default",(0x9ef+4100-0x19f3));}wM.lLliLi[id]=ILiILi;}wM.lLliLi[id].focus();return wM.lLliLi[id];}IliILi.prototype.focus=function(){if(wM.LLliLi(this)){if(typeof this.LIILi=="function")this.LIILi();iiliiI.liLiiI(this,"activeWindow");if(typeof this.IIILi!="undefined"){this.IIILi.style.zIndex=this.style.zIndex-(0x318+5743-0x1986);}}};IliILi.prototype.blur=function(){if(typeof this.llILi=="function")this.llILi();wM.IiLiLi(this);iiliiI.LiLiiI(this,"activeWindow");};IliILi.prototype.close=function(e){if(wM.IlIILi==this){wM.IlIILi=null;}if(typeof this.LlLiLi=="function")this.LlLiLi();if(typeof this.IIILi!="undefined"){iiliiI.remove(this.IIILi);}iiliiI.remove(this);delete wM.lLliLi[this.id];};IliILi.prototype.ILILi=function(e){var content=this.lLILi().content;if(!this.LLILi==true){var ILLLii=iiliiI.llLiiI(content);this.lilLi={left:iiliiI.lILiiI(this,"left"),top:iiliiI.lILiiI(this,"top"),width:ILLLii.width,height:ILLLii.height};this.style.left="0px";this.style.top="20px";var IIilI=iLiLli();content.style.width=IIilI[(0xa52+2365-0x138f)]-(0x472+8774-0x269a);content.style.height=IIilI[(0xe0d+5251-0x228f)]-(0x1c61+1719-0x22f0);}else{this.style.left=this.lilLi.left;this.style.top=this.lilLi.top;content.style.width=this.lilLi.width;content.style.height=this.lilLi.height;}this.LLILi=!this.LLILi;};IliILi.prototype.IliLi=function(e){if(this.LIiLi===false&&!this.LLILi==true){var lIlLi=(0x332+7368-0x1fe6);var lLlIII=Event.iIiliI(e)-parseInt(iiliiI.lILiiI(this,"left"),(0x1bd6+783-0x1edb));var LLlIII=Event.IIiliI(e)-parseInt(iiliiI.lILiiI(this,"top"),(0xa20+4882-0x1d28));var ILLLii=iiliiI.llLiiI(this);var cursor="";if(lLlIII<=lIlLi&&LLlIII<=lIlLi){cursor="nw";}else if(lLlIII>=ILLLii.width-lIlLi&&LLlIII>=ILLLii.height-lIlLi){cursor="se";}else if(lLlIII>=ILLLii.width-lIlLi&&LLlIII<=lIlLi){cursor="ne";}else if(lLlIII<=lIlLi&&LLlIII>=ILLLii.height-lIlLi){cursor="sw";}else if(lLlIII>lIlLi&&lLlIII<ILLLii.width-lIlLi&&(LLlIII<=lIlLi||LLlIII>=ILLLii.height-lIlLi)){if(LLlIII<=lIlLi){cursor="n";}else{cursor="s";}}else if(lLlIII<=lIlLi||lLlIII>=ILLLii.width-lIlLi){if(lLlIII<=lIlLi){cursor="w";}else{cursor="e";}}else{this.style.cursor="default";return false;}this.style.cursor=cursor+"-resize";return cursor;}else{this.ILiLii(e);}};IliILi.prototype.ILiLii=function(e){if(this.LIiLi!==false){var lLlIII=screenX-e.screenX;var LLlIII=screenY-e.screenY;var LllLi=this.lLILi();var content=LllLi.content;var iLlLi=LllLi.ILlLi;for(var ILlLII=(0x1fb9+325-0x20fd);ILlLII<=(0x1b59+1432-0x20ef);ILlLII++){var lLlLi=(0x1c4d+1342-0x218a);var LLlLi=(0x8f4+374-0xa69);var loop=false;var iiLLi;if(this.LIiLi.search(/n/)!=-(0x15ec+713-0x18b4)){if((LlIliI.y==(0x31d+5424-0x184d)||ILlLII!=(0x19ff+2522-0x23d8))){this.style.top=parseInt(this.style.top,(0xdd3+1321-0x12f2))-LLlIII+"px";}LLlLi=-(0x20c+4829-0x14e8);}if(this.LIiLi.search(/w/)!=-(0x147b+980-0x184e)){if((LlIliI.x==(0x5c+2547-0xa4f)||ILlLII!=(0xa0+7580-0x1e3b))){this.style.left=parseInt(this.style.left,(0x4ed+2303-0xde2))-lLlIII+"px";}lLlLi=-(0x35b+6973-0x1e97);}if(this.LIiLi.search(/[we]/)!=-(0x1295+4678-0x24da)){if(LlIliI.x==(0x1ba9+32-0x1bc9)||ILlLII!=(0x200b+344-0x2162)){content.style.width=parseInt(iiliiI.lILiiI(content,"width")||content.parentNode.clientWidth,(0x12af+4705-0x2506))-lLlIII*lLlLi+"px";if(ILlLII==(0xe0f+5489-0x237f)&&content.parentNode.clientWidth!=iLlLi.width-lLlIII*lLlLi){loop=true;lLlIII=(content.parentNode.clientWidth-(iLlLi.width-lLlIII*lLlLi))*lLlLi*-(0x10a2+948-0x1455);LlIliI.x+=lLlIII*lLlLi;}}else{iiLLi=LlIliI.x-(lLlIII*lLlLi);if((LlIliI.x>(0x2e0+2163-0xb53)&&iiLLi<(0x7e8+4871-0x1aef))||(LlIliI.x<(0x1a51+1380-0x1fb5)&&iiLLi>(0x376+1630-0x9d4))){lLlIII=iiLLi;LlIliI.x=(0x997+1449-0xf40);loop=true;}else{LlIliI.x=iiLLi;}}}if(this.LIiLi.search(/[ns]/)!=-(0x1893+39-0x18b9)){if(LlIliI.y==(0x131d+848-0x166d)||ILlLII!=(0xc0f+2238-0x14cc)){content.style.height=parseInt(iiliiI.lILiiI(content,"height")||content.parentNode.clientHeight,(0x95b+965-0xd16))-LLlIII*LLlLi+"px";if(ILlLII==(0x912+3601-0x1722)&&content.parentNode.clientHeight!=iLlLi.height-LLlIII*LLlLi){loop=true;LLlIII=(content.parentNode.clientHeight-(iLlLi.height-LLlIII*LLlLi))*lLlLi*-(0x649+4813-0x1915);LlIliI.y+=LLlIII*LLlLi;}}else{iiLLi=LlIliI.y-LLlIII*LLlLi;if((LlIliI.y>(0x8c6+1270-0xdbc)&&iiLLi<(0x1091+3813-0x1f76))||(LlIliI.y<(0xf29+4383-0x2048)&&iiLLi>(0x1443+1226-0x190d))){LLlIII=iiLLi;LlIliI.y=(0xb04+5540-0x20a8);loop=true;}else LlIliI.y=iiLLi;}}if(!loop){break;}}screenX=e.screenX;screenY=e.screenY;}};IliILi.prototype.lLILi=function(){var content=this.getElementsByTagName("tr")[(0xd1a+5410-0x223b)].firstChild.firstChild;var iLlLi={width:content.parentNode.clientWidth,height:content.parentNode.clientHeight};if(iiliiI.lILiiI(content,"width")=="auto"){content.style.width=iLlLi.width;}if(iiliiI.lILiiI(content,"height")=="auto"){content.style.height=iLlLi.height;}return{content:content,ILlLi:iLlLi};};IliILi.prototype.LLiiLi=function(){if(this.LIiLi!=false){llLlli(wM.llilI,"mousemove",wM.ilLli);llLlli(wM.llilI,"mouseup",wM.llLli);this.LIiLi=false;LlIliI={x:(0x1ce7+629-0x1f5c),y:(0xf50+1750-0x1626)};iiliiI.remove(wM.llilI);}};IliILi.prototype.lIilI=function(e){if(Event.element(e).tagName!="TABLE"){return;}this.LIiLi=this.IliLi(e);wM.llilI=LlilI(this.LIiLi+"-resize",iiliiI.lILiiI(this,"z-index")+(0xee4+4598-0x20d9));screenX=e.screenX;screenY=e.screenY;LIlIlI(wM.llilI,"mousemove",wM.ilLli);LIlIlI(wM.llilI,"mouseup",wM.llLli);Event.stop(e);};IliILi.prototype.Liiili=function(){var LiLLi=iLiLli();this.style.top=Math.max((LiLLi[(0xed6+1346-0x1417)]-this.clientHeight)/(0x81c+1050-0xc34)+document.body.scrollTop,(0x25d+5921-0x197e));this.style.left=Math.max((LiLLi[(0x47d+3499-0x1228)]-this.clientWidth)/(0x13d8+4038-0x239c)+document.body.scrollLeft,(0xb15+6022-0x229b));};IliILi.prototype.LIILi=function(){};IliILi.prototype.llILi=function(){};IliILi.prototype.LlLiLi=function(){};function llLiLi(content,title,type,lliLIi){var LIiILi;if(type=="warning"||type=="critical"||type=="info"){LIiILi=type+".png";}if(typeof title!="string")title="";if(typeof lliLIi!="object")lliLIi=["OK"];lILLi='<table border="0" height="100px" width="300px"><tr><td align="center" valign="middle" width="48px">';if(LIiILi)lILLi+='<img src="/okova/design/messagebox/'+LIiILi+'"></td><td valign="middle">';lILLi+=content+'</td></tr></table>';lILLi+='<center>';for(var ILlLII=(0x34+3613-0xe51);ILlLII<lliLIi.length;ILlLII++){lILLi+='<button name="'+ILlLII+'" type="button" onClick="wM.IlIILi.lIii(this);">'+lliLIi[ILlLII]+'</button>';}lILLi+='</center>';var options={title:title,content:lILLi,lliILi:false,Iiiili:true,Liiili:true};if(LIiILi)options.icon='/okova/design/messagebox/icons/'+LIiILi;var IlLiLi=new IliILi("",options);IlLiLi.lIii=function(LIii){this.button=parseInt(LIii.name,(0xe4+4006-0x1080))+(0x517+7204-0x213a);this.close();};iLIiLi(IlLiLi);return IlLiLi;}function LiilIi(llLLi,title,options){this.options=Object.LIIlLi({width:(0x7f6+6930-0x2240),height:(0x145c+582-0x1684),title:null},options);this.llLLi=(typeof llLLi!="number")?(0x5f3+2141-0xdec):llLLi;var content=document.createElement("div");content.style.width=this.options.width+"px";content.style.height=this.options.height+"px";content.className="progress_outer";this.pb=document.createElement("div");this.pb.style.width="0px";this.pb.style.height=this.options.height+"px";this.pb.className="progress_bar";content.appendChild(this.pb);var LlLLi={title:this.options.title,content:content,lliILi:false,Iiiili:true,Liiili:true,lIiLi:false};LlLLi.iIiLi=typeof this.options.title=="string";var IlLiLi=Object.LIIlLi(new IliILi("",LlLLi),this);iLIiLi(IlLiLi);return IlLiLi;}LiilIi.prototype.iIilIi=function(value){this.pb.style.width=Math.min((this.options.width/this.llLLi*value).toFixed((0x2b3+2101-0xae8)),this.options.width)+"px";llIiLi("Set:"+this.pb.style.width);};LiilIi.prototype.ILliII=function(){this.LLLLi=(0x186+646-0x40c);this.options.llLLi=(0x1aa+2817-0xc47);this.pb.style.position="relative";this.iiiiI();};LiilIi.prototype.iiiiI=function(){if(this.LLLLi>this.options.width-parseInt(this.pb.style.width,(0xeed+310-0x1019))){this.LLLLi=(0x1bd1+1707-0x227c);}this.pb.style.left=this.LLLLi+"px";this.LLLLi++;setTimeout(this.iiiiI.iLIlLi(this),(0x34a+475-0x524));};
