var ROW_SPACER='\u00A0\u00A0\u00A0\u00A0';updateRequired=false;queueProcessing=false;currentSearchId=0;textInput=null;rowCount=35;menuTable=null;menuTableRows=new Array();previousQuery=null;var targetDoc=null;var targetWin=null;function setupSearchField(win)
{targetWin=win;targetDoc=win.document;textInput=targetDoc.getElementById('gaSearch');textInput.onkeydown=keydown;textInput.onkeyup=keyup;textInput.onfocus=processFocus;textInput.onblur=processBlur;try
{}catch(e)
{}menuTable=targetDoc.createElement('table');menuTable.className='gaMenu';menuTable.style.display='none';menuTable.cellSpacing=0;menuTable.cellPadding=0;menuTable.border=0;menuTable.style.position='absolute';menuTable.style.zIndex=100;for(var i=0;i<rowCount;i++)
{var row=menuTable.insertRow(i);var td=targetDoc.createElement('td');td.align='left';td.idx=i;td.onmousedown=goToResource;row.appendChild(td);td.appendChild(targetDoc.createTextNode('\u00A0'));menuTableRows[i]=td;}targetDoc.body.appendChild(menuTable);}function gotapi_prepareData(data)
{for(var i=0;i<data.length-1;i++)
{var offset=data[i].p;data[i].p=data[i-offset];}}function removeAllChilds(argNode)
{while(argNode.firstChild)
{argNode.removeChild(argNode.firstChild);}}function processFocus(evt)
{var value=textInput.value;if(value=='')
{setMenuVisible(false);return;}if(updateRequired) {update();}setMenuVisible(true);}function processBlur(evt)
{setMenuVisible(false);}function Module(id,path,title,url,popup)
{this.id=id;this.path=path;this.title=title;this.data=null;this.url=url;this.popup=popup;}function keyup(evt)
{var key=evt?evt.keyCode:targetWin.event.keyCode;if(key !=13 && key !=255 && key !=40 && key !=38)
{update();return false;}}function keydown(evt)
{var key=evt?evt.keyCode:targetWin.event.keyCode;if(key==13)
{showRow(selectedRow,false);var isNetscape=navigator.appName.toLowerCase().indexOf('netscape') >=0;if(isNetscape)
{if (evt.preventDefault) evt.preventDefault();if (evt.returnValue) evt.returnValue=false;if (evt.stopPropagation) evt.stopPropagation();}return false;}else if(key==40)
{selectRow(selectedRow+1,+1);setMenuVisible(true);}else if(key==38)
{selectRow(selectedRow-1,-1);setMenuVisible(true);}else if(key !=255)
{setMenuVisible(true);return true;}return false;}function selectRow(argRow,argDirection)
{var row=argRow;for(;;)
{if(row >=rowCount||row < 0||menuTableRows[row].style.display=='none')
{return;}if(menuTableRows[row].n)
{break;}row+=argDirection;}if(selectedRow >=0)
{var activeRow=menuTableRows[selectedRow];activeRow.className='gaRegularRow';}selectedRow=row;var activeRow=menuTableRows[selectedRow];activeRow.className='gaSelectedRow';}function search(argSearchId)
{if(currentSearchId !=argSearchId)
{return;}if(updateRequired)
previousQuery=null;var value=textInput.value;if(value=='')
{setMenuVisible(false);return;}if(value==previousQuery)
{return;}var extendPrevious=value.indexOf(previousQuery)==0;previousQuery=value;var keywords=value.split(/[ \t\.=<>\/\\\*_\(\):]+/);var res=new Array();for(var i=0;i<keywords.length;i++)
{res.push(new RegExp(keywords[i],"i"));}var startTime=new Date();var result=searchModules(argSearchId,res,keywords[0].toLowerCase());if(!result)
{return;}displayedRows=result;var endTime=new Date();var queryExecutionTime=endTime.getTime()-startTime.getTime();var startTime=new Date();var proceed=showResults(argSearchId,displayedRows);var endTime=new Date();var resultsRenderingTime=endTime.getTime()-startTime.getTime();if(! proceed)
{return;}selectedRow=-1;setMenuVisible(true);selectRow(0,+1);addStats('s',value+':'+queryExecutionTime+":"+resultsRenderingTime);}function searchModules(argSearchId,argRegList,argPriorityKey)
{var results=new Array();var klen=argRegList.length;for(var m=0;m<allModules.length;m++)
{var module=allModules[m];var moduleResults=new Array();var exactMatchEnd=0;var startsWithEnd=0;results.push(moduleResults);if(!module.data||!module.active) continue;var dx=module.data;if(! dx)
{continue;}var len=dx.length-1;for(var i=0;i<len;i++)
{if(exactMatchEnd+startsWithEnd > rowCount)
{break;}if(currentSearchId !=argSearchId)
{return null;}var item=dx[i];var n=dx[i].n;var matched=false;var re=null;for(var k=0;k<klen;k++)
{re=argRegList[k];if(re.test(n))
{matched=true;break;}}if(!matched)
{continue;}if(klen==1||matchItemParents(item,argRegList,re))
{if(n)
{var ln=n.toLowerCase();if(ln==argPriorityKey)
{moduleResults.splice(exactMatchEnd++,0,item);}else if(ln.indexOf(argPriorityKey)==0)
{moduleResults.splice(exactMatchEnd+startsWithEnd++,0,item);}else
{moduleResults.push(item);}}else
{moduleResults.push(item);}}}}return results;}function matchItemParents(argItem,argRes,argExcludingRe)
{var klen=argRes.length;var failed=false;for(var k=0;k<klen;k++)
{var re=argRes[k];if(re==argExcludingRe)
{continue;}var matched=false;var current=argItem;while(current)
{if(re.test(current.n))
{matched=true;break;}current=current.p;}if(!matched)
{failed=true;break;}}return !failed;}function showResults(argSearchId,argResults)
{var nonemptyModuleCount=0;for(var i=0;i<argResults.length;i++)
{if(argResults[i].length > 0) nonemptyModuleCount++;}var row=0;if(nonemptyModuleCount > 0)
{var fairCount=(rowCount - nonemptyModuleCount*2)/ nonemptyModuleCount;fairCount=Math.floor(fairCount);var leftoverCount=0;for(var i=0;i<argResults.length;i++)
{var r=argResults[i];var module=allModules[i];if(module.active && module.data && r.length > 0 && r.length < fairCount)
{leftoverCount+=fairCount - r.length;}}for(var m=0;m<allModules.length;m++)
{var module=allModules[m];if(!module.data||!module.active) continue;var moduleResults=argResults[m];if(! module.data||moduleResults.length <=0)
{continue;}if(row+1 >=rowCount) break;updateResultRow(row++,module.title,'gaHeaderRow',null);var i=0;for(;i<moduleResults.length;i++)
{if(i >=fairCount)
{if(leftoverCount==0) break;leftoverCount--;}var n=moduleResults[i];updateResultRow(row++,getResourceTitle(n),'gaRegularRow',n);}if(i < moduleResults.length)
{updateResultRow(row++,ROW_SPACER+'...','gaFooterRow',null);}}}if(row==0)
{updateResultRow(row++,'... No Matches Found ...','gaHeaderRow',null);addStats('s','-');}while(row < rowCount)
{var tableRow=menuTableRows[row++];tableRow.style.display='none';}return true;}function updateResultRow(argRowId,argTitle,argStyle,argNode)
{var row=menuTableRows[argRowId];row.firstChild.nodeValue=argTitle;row.className=argStyle;row.n=argNode;row.style.display='';}function getResourceTitle(argItem)
{var result='';var item=argItem;while(item && (item.p||item==argItem))
{name=getResourceLabel(item);result=name+(result==''?'':' \u00A0\u2192\u00A0 '+result);item=item.p;}return ROW_SPACER+result;}function getResourceLabel(argItem)
{var name=argItem.n;var type=argItem.t;if(type=='T') name='<'+name+' ... >';else if(type=='M') name=name+' (...)';else if(type=='C') name='class '+name;else if(type=='P');else if(type=='I') name='interface '+name;else if(type=='O');else if(type=='D') name=/*'\u00A7\u00A7 '+*/name;else if(type=='S') name='{'+name+':... }';else if(type=='V');return name;}function setMenuVisible(argVisible)
{if(queueProcessing) return;var visibleNow=menuTable.style.display=='';if(visibleNow==argVisible)
{return;}if(argVisible)
{showPopupNode(menuTable,textInput,3,0);}else
{menuTable.style.display='none';}if(window.opera)
{siteFrame.style.display=argVisible?'none':'';}}function showPopupNode(showNode,relativeNode,offsetX,offsetY)
{var nodeX=relativeNode.offsetLeft;var nodeY=relativeNode.offsetTop+relativeNode.offsetHeight;var node=relativeNode;while(node.offsetParent)
{node=node.offsetParent;nodeX+=node.offsetLeft;nodeY+=node.offsetTop;}showNode.style.left=(nodeX+offsetX)+'px';showNode.style.top=(nodeY+offsetY)+'px';showNode.style.display='';}function getResourceContext(argNode)
{var context=argNode.p
?getResourceContext(argNode.p)
:'';var c=argNode.c;if(c)
{c=uncompressValue(c,argNode);context=c.indexOf('http://')==0
?c:context+c;}return context;}function getResourceUrl(argNode)
{if(argNode.u||argNode.c)
{var ctx=getResourceContext(argNode);var u=argNode.u;if(! u)
{return ctx;}u=uncompressValue(u,argNode);return u.indexOf('http://')==0
?u
:ctx+u;}else
{return argNode.p?getResourceUrl(argNode.p):null;}}function uncompressValue(argValue,argNode)
{var idx=argValue.indexOf('`');if(idx < 0)
{return argValue;}var name=argNode.n;return argValue.substr(0,idx)+name+argValue.substr(idx+1);}function goToResource()
{showRow(this.idx,false)
}function showRow(argRow,argMenuVisible)
{if(argRow < 0)
{return;}setMenuVisible(argMenuVisible);var row=menuTableRows[argRow];showItem(row.n);}function update()
{if(queueProcessing) {if(textInput.value=='') {return;}updateWhenLoaded=true;var lbl=$('loading')
if(lbl) lbl.style.color='black';return;}++currentSearchId;setTimeout('search('+currentSearchId+')',1);}function showItem(argItem)
{var url=getResourceUrl(argItem);targetWin.location.href=url;}allModules=[new Module(0,gaMod,gaTitle,null,null)];function startModuleProcessing(name)
{setupSearchField(window);queueProcessing=true;}function finishModuleProcessing(name,data)
{gotapi_prepareData(data);allModules[0].data=data;allModules[0].active=true;queueProcessing=false;if(updateWhenLoaded) update();document.getElementById('gaWait').style.display='none';document.getElementById('gaInfo').style.display='';}function addStats(argType,argMsg)
{}function sendStats()
{}startModuleProcessing('module_dita.js');var P = 'P';
var C = 'C';
var I = 'I';
var M = 'M';
var O = 'O';
var T = 'T';
var D = 'D';
var S = 'S';
var tmp = new Array(
{t:D,n:'DITA',p:1},
{t:D,n:'Topic elements',u:'topic2.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:1},
{t:T,n:'dita',u:'`.html',p:1},
{t:T,n:'topic',u:'`.html',p:2},
{t:T,n:'title',u:'`.html',p:3},
{t:T,n:'titlealts',u:'`.html',p:4},
{t:T,n:'navtitle',u:'`.html',p:5},
{t:T,n:'searchtitle',u:'`.html',p:6},
{t:T,n:'shortdesc',u:'`.html',p:7},
{t:T,n:'body',u:'`.html',p:8},
{t:T,n:'section',u:'`.html',p:9},
{t:T,n:'example',u:'`.html',p:10},
{t:T,n:'related-links',u:'`.html',p:11},
{t:D,n:'Concept elements',u:'cept2.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/con',p:13},
{t:T,n:'concept',u:'cept.html',p:1},
{t:T,n:'conbody',u:'body.html',p:2},
{t:D,n:'Reference elements',u:'reference2.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:16},
{t:T,n:'reference',u:'`.html',p:1},
{t:T,n:'refbody',u:'`.html',p:2},
{t:T,n:'refsyn',u:'`.html',p:3},
{t:T,n:'properties',u:'`.html',p:4},
{t:T,n:'prophead',u:'`.html',p:5},
{t:T,n:'proptypehd',u:'`.html',p:6},
{t:T,n:'propvaluehd',u:'`.html',p:7},
{t:T,n:'propdeschd',u:'`.html',p:8},
{t:T,n:'property',u:'`.html',p:9},
{t:T,n:'proptype',u:'`.html',p:10},
{t:T,n:'propvalue',u:'`.html',p:11},
{t:T,n:'propdesc',u:'`.html',p:12},
{t:D,n:'Task elements',u:'task2.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:29},
{t:T,n:'task',u:'`.html',p:1},
{t:T,n:'taskbody',u:'`.html',p:2},
{t:T,n:'postreq',u:'`.html',p:3},
{t:T,n:'prereq',u:'`.html',p:4},
{t:T,n:'result',u:'`.html',p:5},
{t:T,n:'context',u:'`.html',p:6},
{t:T,n:'steps',u:'`.html',p:7},
{t:T,n:'steps-unordered',u:'`.html',p:8},
{t:T,n:'step',u:'`.html',p:9},
{t:T,n:'choices',u:'`.html',p:10},
{t:T,n:'choice',u:'`.html',p:11},
{t:T,n:'stepxmp',u:'`.html',p:12},
{t:T,n:'substeps',u:'`.html',p:13},
{t:T,n:'substep',u:'`.html',p:14},
{t:T,n:'cmd',u:'`.html',p:15},
{t:T,n:'info',u:'`.html',p:16},
{t:T,n:'stepresult',u:'`.html',p:17},
{t:T,n:'tutorialinfo',u:'`.html',p:18},
{t:T,n:'choicetable',u:'`.html',p:19},
{t:T,n:'chrow',u:'`.html',p:20},
{t:T,n:'chhead',u:'`.html',p:21},
{t:T,n:'chdesc',u:'`.html',p:22},
{t:T,n:'chdeschd',u:'`.html',p:23},
{t:T,n:'choption',u:'`.html',p:24},
{t:T,n:'choptionhd',u:'`.html',p:25},
{t:D,n:'Body elements',u:'body2.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:55},
{t:T,n:'alt',u:'`.html',p:1},
{t:T,n:'cite',u:'`.html',p:2},
{t:T,n:'desc',u:'`.html',p:3},
{t:T,n:'dd',u:'`.html',p:4},
{t:T,n:'ddhd',u:'`.html',p:5},
{t:T,n:'dl',u:'`.html',p:6},
{t:T,n:'dlentry',u:'`.html',p:7},
{t:T,n:'dlhead',u:'`.html',p:8},
{t:T,n:'dt',u:'`.html',p:9},
{t:T,n:'dthd',u:'`.html',p:10},
{t:T,n:'fig',u:'`.html',p:11},
{t:T,n:'figgroup',u:'`.html',p:12},
{t:T,n:'image',u:'`.html',p:13},
{t:T,n:'keyword',u:'`.html',p:14},
{t:T,n:'li',u:'`.html',p:15},
{t:T,n:'lines',u:'`.html',p:16},
{t:T,n:'lq',u:'`.html',p:17},
{t:T,n:'note',u:'`.html',p:18},
{t:T,n:'object',u:'`.html',p:19},
{t:T,n:'ol',u:'`.html',p:20},
{t:T,n:'p',u:'`.html',p:21},
{t:T,n:'param',u:'`.html',p:22},
{t:T,n:'ph',u:'`.html',p:23},
{t:T,n:'pre',u:'`.html',p:24},
{t:T,n:'q',u:'`.html',p:25},
{t:T,n:'sl',u:'`.html',p:26},
{t:T,n:'sli',u:'`.html',p:27},
{t:T,n:'ul',u:'`.html',p:28},
{t:T,n:'xref',u:'`.html',p:29},
{t:D,n:'Table elements',u:'table2.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:85},
{t:T,n:'table',u:'`.html',p:1},
{t:T,n:'tgroup',u:'`.html',p:2},
{t:T,n:'thead',u:'`.html',p:3},
{t:T,n:'stentry',u:'`.html',p:4},
{t:T,n:'colspec',u:'`.html',p:5},
{t:T,n:'tbody',u:'`.html',p:6},
{t:T,n:'row',u:'`.html',p:7},
{t:T,n:'entry',u:'`.html',p:8},
{t:T,n:'simpletable',u:'`.html',p:9},
{t:T,n:'sthead',u:'`.html',p:10},
{t:T,n:'strow',u:'`.html',p:11},
{t:D,n:'Typographic elements',u:'hi-d.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:97},
{t:T,n:'b',u:'`.html',p:1},
{t:T,n:'i',u:'`.html',p:2},
{t:T,n:'u',u:'`.html',p:3},
{t:T,n:'tt',u:'`.html',p:4},
{t:T,n:'sup',u:'`.html',p:5},
{t:T,n:'sub',u:'`.html',p:6},
{t:D,n:'Programming elements',u:'pr-d.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:104},
{t:T,n:'codeph',u:'`.html',p:1},
{t:T,n:'codeblock',u:'`.html',p:2},
{t:T,n:'option',u:'`.html',p:3},
{t:T,n:'kwd',u:'`.html',p:4},
{t:T,n:'var',u:'`.html',p:5},
{t:T,n:'parmname',u:'`.html',p:6},
{t:T,n:'synph',u:'`.html',p:7},
{t:T,n:'oper',u:'`.html',p:8},
{t:T,n:'delim',u:'`.html',p:9},
{t:T,n:'sep',u:'`.html',p:10},
{t:T,n:'apiname',u:'`.html',p:11},
{t:T,n:'parml',u:'`.html',p:12},
{t:T,n:'plentry',u:'`.html',p:13},
{t:T,n:'pt',u:'`.html',p:14},
{t:T,n:'pd',u:'`.html',p:15},
{t:T,n:'syntaxdiagram',u:'`.html',p:16},
{t:T,n:'synblk',u:'`.html',p:17},
{t:T,n:'groupseq',u:'`.html',p:18},
{t:T,n:'groupchoice',u:'`.html',p:19},
{t:T,n:'groupcomp',u:'`.html',p:20},
{t:T,n:'fragment',u:'`.html',p:21},
{t:T,n:'fragref',u:'`.html',p:22},
{t:T,n:'synnote',u:'`.html',p:23},
{t:T,n:'synnoteref',u:'`.html',p:24},
{t:T,n:'repsep',u:'`.html',p:25},
{t:D,n:'Software elements',u:'sw-d.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:130},
{t:T,n:'msgph',u:'`.html',p:1},
{t:T,n:'msgblock',u:'`.html',p:2},
{t:T,n:'msgnum',u:'`.html',p:3},
{t:T,n:'cmdname',u:'`.html',p:4},
{t:T,n:'varname',u:'`.html',p:5},
{t:T,n:'filepath',u:'`.html',p:6},
{t:T,n:'userinput',u:'`.html',p:7},
{t:T,n:'systemoutput',u:'`.html',p:8},
{t:D,n:'User interface elements',u:'ui-d.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:139},
{t:T,n:'uicontrol',u:'`.html',p:1},
{t:T,n:'wintitle',u:'`.html',p:2},
{t:T,n:'menucascade',u:'`.html',p:3},
{t:T,n:'shortcut',u:'`.html',p:4},
{t:T,n:'screen',u:'`.html',p:5},
{t:D,n:'Utilities elements',u:'ut-d.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:145},
{t:T,n:'imagemap',u:'`.html',p:1},
{t:T,n:'area',u:'`.html',p:2},
{t:T,n:'coords',u:'`.html',p:3},
{t:T,n:'shape',u:'`.html',p:4},
{t:D,n:'Miscellaneous elements',u:'valid.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:150},
{t:T,n:'draft-comment',u:'`.html',p:1},
{t:T,n:'fn',u:'`.html',p:2},
{t:T,n:'indexterm',u:'`.html',p:3},
{t:T,n:'indextermref',u:'`.html',p:4},
{t:T,n:'tm',u:'`.html',p:5},
{t:D,n:'Prolog elements',u:'prolog2.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:156},
{t:T,n:'audience',u:'`.html',p:1},
{t:T,n:'author',u:'`.html',p:2},
{t:T,n:'brand',u:'`.html',p:3},
{t:T,n:'category',u:'`.html',p:4},
{t:T,n:'component',u:'`.html',p:5},
{t:T,n:'copyrholder',u:'`.html',p:6},
{t:T,n:'copyright',u:'`.html',p:7},
{t:T,n:'copyryear',u:'`.html',p:8},
{t:T,n:'created',u:'`.html',p:9},
{t:T,n:'critdates',u:'`.html',p:10},
{t:T,n:'featnum',u:'`.html',p:11},
{t:T,n:'keywords',u:'`.html',p:12},
{t:T,n:'metadata',u:'`.html',p:13},
{t:T,n:'othermeta',u:'`.html',p:14},
{t:T,n:'permissions',u:'`.html',p:15},
{t:T,n:'platform',u:'`.html',p:16},
{t:T,n:'prodinfo',u:'`.html',p:17},
{t:T,n:'prodname',u:'`.html',p:18},
{t:T,n:'prognum',u:'`.html',p:19},
{t:T,n:'prolog',u:'`.html',p:20},
{t:T,n:'publisher',u:'`.html',p:21},
{t:T,n:'resourceid',u:'`.html',p:22},
{t:T,n:'revised',u:'`.html',p:23},
{t:T,n:'series',u:'`.html',p:24},
{t:T,n:'source',u:'`.html',p:25},
{t:T,n:'vrm',u:'`.html',p:26},
{t:T,n:'vrmlist',u:'`.html',p:27},
{t:D,n:'Related links elements',u:'relatedl.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:184},
{t:T,n:'link',u:'`.html',p:1},
{t:T,n:'linkinfo',u:'`.html',p:2},
{t:T,n:'linklist',u:'`.html',p:3},
{t:T,n:'linkpool',u:'`.html',p:4},
{t:T,n:'linktext',u:'`.html',p:5},
{t:D,n:'Specialization elements',u:'special.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:190},
{t:T,n:'boolean',u:'`.html',p:1},
{t:T,n:'itemgroup',u:'`.html',p:2},
{t:T,n:'no-topic-nesting',u:'`.html',p:3},
{t:T,n:'required-cleanup',u:'`.html',p:4},
{t:T,n:'state',u:'`.html',p:5},
{t:T,n:'term',u:'`.html',p:6},
{t:D,n:'Map elements',u:'map2.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:197},
{t:T,n:'map',u:'`.html',p:1},
{t:T,n:'anchor',u:'`.html',p:2},
{t:T,n:'navref',u:'`.html',p:3},
{t:T,n:'reltable',u:'`.html',p:4},
{t:T,n:'relrow',u:'`.html',p:5},
{t:T,n:'relcell',u:'`.html',p:6},
{t:T,n:'relheader',u:'`.html',p:7},
{t:T,n:'relcolspec',u:'`.html',p:8},
{t:T,n:'topicmeta',u:'`.html',p:9},
{t:T,n:'topicref',u:'`.html',p:10},
{t:D,n:'Map group elements',u:'mapgroup-d.html',c:'http://docs.oasis-open.org/dita/v1.0/langspec/',p:208},
{t:T,n:'topicgroup',u:'`.html',p:1},
{t:T,n:'topichead',u:'`.html',p:2},
{t:D,n:'Other common DITA attributes',u:'http://docs.oasis-open.org/dita/v1.0/langspec/othercommon.html',p:211},
null);
finishModuleProcessing('module_dita.js',tmp);