function FDL(code,model,type){this.Code=code;this.Model=model;this.Type=type;}function FS1(imgID,dbKey,title){var result=new Array;result.Img=imgID;result.dbKey=dbKey;result.Title=title;return(result);}function FS2(code,year){var data=new Array;data.Code=code;data.Year=year;return(data);}function FS3(level,strFile,strTitle){var data=new Array;data.Level=level;data.File=strFile;data.Title=strTitle;return(data);}function FS5(id,text){var data=new Array;data.id=id;data.Text=text;return(data);}function FS6(code,name,title){var data=new Array;data.Code=code;data.Name=name;data.Title=title;return(data);}function FI1(doc,strIndex){doc.ESM=gESM;doc.ESM.ndxSel=strIndex;doc.location.href="./ESMINDEX.HTML";}function FI2(){var i;var data,sie;gESM=parent.document.ESM;if((gESM.SIE.length<=0)||(typeof(FIN)!="function")){return;}data=FIN();with(document){write("<div class=\"title\">Referenční výsledek</div>");if(gESM.Abbrev!=""){write("<div align=\"right\" class=\"abbrev\">");write("<img src=\"../../PNG/CTL/ABBREVIATION.PNG\" "+"title=\"zkratka\" "+"onclick=\"OnAbbrev();\" ondblclick=\"OnAbbrev();\"></div>");}write("<table style=\"margin-left:1em;\"><tr>");for(i=0;i<data.length;++i){sie=FSS(data[i]);if(sie==null){alert("dbKey("+data[i]+") undefined.");continue;}write("<td valign=\"top\">"+"<img src=\"../../PNG/CTL/"+sie.Img+".PNG\"></td><td>");write("<a href=\"../"+sie.dbKey.substr(5,2)+"/"+sie.dbKey+".HTML\" "+"target=\"EsmContents\">");write(sie.Title+"</a></td></tr>");}write("</tr></table></div>");}}function FSS(dbKey){var nTop,nLast;var nMid,nHalf,nNum;var i=0;with(gESM){nNum=SIE.length;nTop=0;nLast=nNum-1;while(nTop<=nLast){if((nHalf=Math.floor(nNum/2))!=0){nMid=nTop+((nNum&1)?nHalf:(nHalf-1));if(SIE[nMid].dbKey==dbKey){return(SIE[nMid]);}if(SIE[nMid].dbKey>dbKey){nLast=nMid-1;nNum=(nNum&1)?nHalf:(nHalf-1);}else{nTop=nMid+1;nNum=nHalf;}}else{if(nNum!=0){if(SIE[nTop].dbKey==dbKey){return(SIE[nTop]);}}break;}}}return(null);}function OnAbbrev(){window.open("../"+gESM.Abbrev.substr(5,2)+"/"+gESM.Abbrev+".HTML","abbWindow","status=yes toolbar=no menubar=yes resizable=yes scrollbars=yes");}