/* * The Syncro Soft SRL License * * Copyright (c) 1998-2012 Syncro Soft SRL, Romania. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistribution of source or in binary form is allowed only with * the prior written permission of Syncro Soft SRL. * * 2. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 3. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 4. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Syncro Soft SRL (http://www.sync.ro/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 5. The names "Oxygen" and "Syncro Soft SRL" must * not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact support@oxygenxml.com. * * 6. Products derived from this software may not be called "Oxygen", * nor may "Oxygen" appear in their name, without prior written * permission of the Syncro Soft SRL. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE SYNCRO SOFT SRL OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ var headElem=document.getElementsByTagName("head")[0]; var headLinks=headElem.getElementsByTagName("link"); if(headLinks.length==1){var pathPrefix=""}else{var pathPrefix="../"}var htmlfileList="htmlFileList.js";var htmlfileinfoList="htmlFileInfoList.js";var useCJKTokenizing=false;var w=new Object();var scoring=new Object();var searchTextField="";var no=0;var noWords=0;var partialSearch1="There is no page containing all the search terms.";var partialSearch2="Partial results:";var warningMsg='
';warningMsg+="Please note that due to security settings, Google Chrome does not highlight";warningMsg+=" the search results in the right frame.
";warningMsg+="This happens only when the WebHelp files are loaded from the local file system.
";warningMsg+="Workarounds:";warningMsg+="
";var txt_filesfound="Results";var txt_enter_at_least_1_char="You must enter at least one character.";var txt_enter_more_than_10_words="Only first 10 words will be processed.";var txt_browser_not_supported="Your browser is not supported. Use of Mozilla Firefox is recommended.";var txt_please_wait="Please wait. Search in progress...";var txt_results_for="Results for:";function SearchToc(e){if(navigator.userAgent.indexOf("Konquerer")>-1){alert(getLocalization(txt_browser_not_supported));return}searchTextField=e;searchTextField=searchTextField.replace(//g," ");searchTextField=searchTextField.replace(/\"/g," ");searchTextField=searchTextField.replace(/\'/g," ");searchTextField=searchTextField.replace(/=/g," ");searchTextField=searchTextField.replace(/\(/g," ");searchTextField=searchTextField.replace(/\)/g," ");var d=searchTextField;var b=new Array();if(d.length<1){alert(getLocalization(txt_enter_at_least_1_char))}else{var c=searchTextField.split(" ");noWords=c;if(noWords.length>9){alert(getLocalization(txt_enter_more_than_10_words));d="";for(var a=0;a<10;a++){d=d+" "+noWords[a]}b=realSearch(d)}else{d="";for(var a=0;a0){var O=noWords.length;var g=B[0][0].motslisteDisplay.split(",").length;if(O!=g){J.push(''+getLocalization(partialSearch1)+"
"+getLocalization(partialSearch2)+"
")}}for(var L=0;L2||useCJKTokenizing){arrayString+="'"+l[y]+"',"}}arrayString=arrayString.substring(0,arrayString.length-1)+")";arrayString=arrayString.replace(".","\\\\.");var I="foundLink"+no;var d="return openAndHighlight('"+s+"', "+arrayString+", '"+I+"')";var F='
  • '+D+"";var M=(Q*100/H)/(j/H)*(r/z);M=M<10?(M+5):M;if(M>85){M=85}if((f!="null"&&f!="...")){F+='\n"}F+='
    ';F+='
    ';F+='
    ';F+='
     
    ';F+="
    ";F+='
    ';F+="
    ";F+="
    ";F+="
  • ";J.push(F);no++;var G=[{title:D,href:s,text:f,bold:q}];N=N.concat(G)}J.push("")}}}return N}function wordsStartsWith(b){var c="";if(b.length<3){return undefined}for(var a in w){if(a.toLowerCase().indexOf(b.toLowerCase())>=0){c+=a+","}}return c.length>0?c:undefined}function tokenize(a){var g=new Array();var f=new Array();for(var d in a){var b=a[d];if(typeof stemmer!="undefined"){stemQueryMap[stemmer(b)]=b}else{stemQueryMap[b]=b}}scriptLetterTab.add("s");for(var k in a){a[k]=a[k].replace(/(%22)|^-/g,"");if(a[k]!="%20"){var h=a[k].charAt(0);scriptLetterTab.add(h);f.push(a[k])}}if(typeof stemmer!="undefined"){for(var e=0;ec.length){return 1}else{return -1}}}function removeDuplicate(b){var d=new Array();o:for(var c=0,f=b.length;c