/*************************************************************************

    chm2web Javascript Help Contents Viewer 1.35
    Copyright (c) 2002-2003 A!K Research Labs (http://www.aklabs.com)  
    http://chm2web.aklabs.com - HTML Help Conversion Utility

    Tested with: Internet Explorer 5, Opera 6, Mozilla 1.2, NN6
    Best viewed with: Internet Explorer 5+, Mozilla 1.x+, Opera 7+

    ATTENTION! You can use this script only with web help system 
               generated by chm2web software.  
               
**************************************************************************/

var K0=window,Q1=document;var F1={'target': 'content','ic_e'  : 'icons/0.gif','ic_l'  : 'icons/90.gif','ic_2'  : 'icons/91.gif','ic_3'  : 'icons/92.gif','ic_4'  : 'icons/99.gif','ic_18' : 'icons/93.gif','ic_19' : 'icons/94.gif','ic_20' : 'icons/97.gif','ic_26' : 'icons/95.gif','ic_27' : 'icons/96.gif','ic_28' : 'icons/98.gif'};var I4=true;var trees=[];get_element=Q1.all ?
function(s_id){return Q1.all[s_id]}:
function(s_id){return Q1.getElementById(s_id)};function DHTMLSupported(){try{var tmp="";tmp=Q1.body.innerHTML;if(tmp.length <=0)return false;}catch(e){return false;}return true;}function GetIcon(R5){if(!R5){cur=this.E3[2];if(this.C6){if((cur=='1')||(cur=='2'))cur='2';if((cur=='3')||(cur=='4'))cur='4';if((cur=='5')||(cur=='6'))cur='6';if((cur=='7')||(cur=='8'))cur='8';};if(!this.C6){if((cur=='1')||(cur=='2'))cur='1';if((cur=='3')||(cur=='4'))cur='3';if((cur=='5')||(cur=='6'))cur='5';if((cur=='7')||(cur=='8'))cur='7';};return 'icons/'+cur+'.gif';}else{return F1['ic_'+((this.O2.length ? 16 : 0)+(this.O2.length && this.C6 ? 8 : 0)+(this.is_last()? 1 : 0)+(this.is_first()? 2 : 0)+2)];}}function TreeNode(A2,V0){this.F0=A2.F0+1;this.E3=A2.E3[V0+(this.F0 ? 3 : 0)];if(!this.E3)return;this.O3=A2.O3;this.A2=A2;this.V0=V0;this.C6=I4;this.B7=this.O3.X4.length;this.O3.X4[this.B7]=this;A2.O2[V0]=this;this.O2=[];for(var i=0;i < this.E3.length - 2;i++)new TreeNode(this,i);this.get_icon=GetIcon;this.open=OIt;this.select=FIt;this.init=IIt;this.is_last=function(){return this.V0==this.A2.O2.length - 1};this.is_first=function(){return(this.F0==0)&&(this.V0==0)&&(!this.is_last())};}function OIt(Y7){var O2=[];var E3=get_element('divtree'+this.B7);if(!E3)return;if(I4){Q1.write(O2.join(''));for(var i=0;i < this.O2.length;i++){Q1.write(this.O2[i].init());this.O2[i].open();}}else{if(!E3.innerHTML){for(var i=0;i < this.O2.length;i++)O2[i]=this.O2[i].init();E3.innerHTML=O2.join('');}E3.style.display=(Y7 ? 'none' : 'block');this.C6=!Y7;var T4=Q1.images['j_img'+this.B7],G5=Q1.images['i_img'+this.B7];if(T4)T4.src=this.get_icon(true);if(G5)G5.src=this.get_icon();}}function FIt(B7){if(!B7){var M5=this.O3.Z1;this.O3.Z1=this;if(M5)M5.select(true);}var G5=Q1.images['i_img'+this.B7];if(G5)G5.src=this.get_icon();get_element('i_txt'+this.B7).style.fontWeight=B7 ? 'normal' : 'bold';return Boolean(this.E3[1]);}function MakeTree(itm,W8){I4=!DHTMLSupported();this.E3=itm;this.O3=this;this.X4=[];this.Z1=null;this.F0=-1;var C6=new Image(),Y7l=new Image();C6.src=F1['ic_e'];Y7l.src=F1['ic_l'];F1['im_e']=C6;F1['im_l']=Y7l;for(var i=0;i < 64;i++)if(F1['ic_'+i]){var Y7=new Image();F1['im_'+i]=Y7;Y7.src=F1['ic_'+i];}this.select=function(B7){return this.X4[B7].select();};this.toggle=function(B7){var P8=this.X4[B7];P8.open(P8.C6)};this.O2=[];for(var i=0;i < itm.length;i++){new TreeNode(this,i);}this.B7=trees.length;trees[this.B7]=this;for(var i=0;i < this.O2.length;i++){Q1.write(this.O2[i].init());if(W8 || I4)this.O2[i].open();}this.OpenTreeNode=OpenTreeNode;this.OpenTreeNode("src/work/cmdline.htm");}function IIt(){var A2=[],K0=this.A2;for(var i=this.F0;i > 0;i--){A2[i]='<img src="'+F1[K0.is_last()? 'ic_e' : 'ic_l']+'" border="0" align="absbottom">';K0=K0.A2;}return '<table cellpadding="0" cellspacing="0" border="0"><tr><td nowrap>'+A2.join('')+(this.O2.length ?(I4 ? '' : '<a href="javascript: trees['+this.O3.B7+'].toggle('+this.B7+')" >')+'<img src="'+this.get_icon(true)+'" border="0" align="absbottom" name="j_img'+this.B7+'">'+(I4 ? '' : '</a>'): '<img src="'+this.get_icon(true)+'" border="0" align="absbottom">')+'<a href="'+this.E3[1]+'" target="'+F1['target']+'"'+' onclick="return trees['+this.O3.B7+'].select('+this.B7+')" '+(I4 ? '' : ' ondblclick="trees['+this.O3.B7+'].toggle('+this.B7+')"')+' class="t0i" id="i_txt'+this.B7+'"><img src="'+this.get_icon()+'" border="0" align="absbottom" name="i_img'+this.B7+'" class="t0im">&nbsp;'+this.E3[0]+'</a></td></tr></table>'+(this.O2.length ? 
'<div id="divtree'+this.B7+'" style="display:none"></div>' : '');}function OpenTreeNode(filename){CheckNode(filename,this);}function CheckNode(filename,itm){for(var i=0;i < itm.O2.length;i++){if(itm.O2[i].C6)itm.O2[i].open(true);if(filename==itm.O2[i].E3[1]){OpenDownTo(itm.O2[i]);itm.O2[i].select(false);};CheckNode(filename,itm.O2[i]);};}function OpenDownTo(node){if(!node.F0)return;OpenDownTo(node.A2);node.A2.open(false);}