var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "Въведение", "", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("1.1", "Какво преставлява Satellite ?", "hlp_introduction_whatis.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("1.2", "Как да регистрирате Satellite ?", "hlp_introduction_howtobuy.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("1.3", "Лицензионно споразумение", "hlp_introduction_license.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("2", "Начални стъпки", "", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("2.1", "От къде да започнем", "hlp_start_begin.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("3", "Потребителски интерфейс", "", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("3.1", "Главното меню", "hlp_interface_mainmenu.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("3.2", "Командни бутони", "hlp_interface_commandbuttons.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("3.3", "Основни клавиши", "hlp_interface_accesskeys.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4", "Номенклатури", "hlp_nomenkl.htm", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("4.1", "Материали", "hlp_nomenkl_materials.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.2", "Контрагенти", "hlp_nomenkl_partners.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.3", "Валути", "hlp_nomenkl_currency.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.4", "Банкови сметки", "hlp_nomenkl_bankaccount.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.5", "Мерни единици", "hlp_nomenkl_measures.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.6", "Ценови листи", "hlp_nomenkl_pricelist.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.7", "Стандартни изделия", "hlp_nomenkl_products.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.8", "Обекти", "hlp_nomenkl_objects.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.9", "Заменки на материали", "hlp_nomenkl_matsubst.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.10", "Фактурници", "hlp_nomenkl_fakturnici.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.11", "Оператори", "hlp_nomenkl_waiters.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("4.12", "Терминали", "hlp_nomenkl_pos.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("5", "Модули на Satellite", "hlp_modules.htm", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("5.1", "new topic", "newtopic2.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("6", "Модул Склад", "hlp_sklad.htm", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("6.1", "New item", "newitem2.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("7", "Модул Магазин", "hlp_magazin.htm", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("7.1", "New item", "newitem3.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("8", "Модул Реализация", "hlp_real.htm", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("8.1", "New item", "newitem4.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("9", "Модул Каса", "hlp_cash.htm", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("9.1", "New Item", "hlp_cash_new.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("10", "Модул Счетоводство", "hlp_account.htm", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("10.1", "New item", "newitem.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("11", "Модул Банкови документи", "hlp_bank.htm", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("11.1", "New Item", "newitem5.htm", "", "msdn_topic.gif", "");
tocTab[ir++] = new Array ("12", "Често задавани въпроси", "hlp_faq.htm", "", "msdn_closedbook.gif", "msdn_openbook.gif");
tocTab[ir++] = new Array ("12.1", "Често задавани въпроси", "hlp_faq_main.htm", "", "msdn_topic.gif", "");
isContent = true,
isIndex = false,
showNumbers = false,
tocBehaviour = new Array(2,2),
tocScroll=true,
tocLinks = new Array(0,0);
var oldOnError = null;
var isDyn = navigator.userAgent.toLowerCase().indexOf("opera") == -1;
var isIE = navigator.appName.toLowerCase().indexOf("explorer") > -1;
var oldCurrentNumber = "", oldLastVisitNumber = "";
var toDisplay = new Array();
for (ir=0; ir<tocTab.length; ir++) {
toDisplay[ir] = tocTab[ir][0].split(".").length==1;
}
function windowErr() {
isDyn = false;
$hmtoc.location.href = "satelite_content.htm";
window.onerror = oldOnError;
}
function reDisplay(currentNumber,tocChange,noLink,e) {
if (isIndex && ($hmtoc.location.href.substring($hmtoc.location.href.lastIndexOf("/")+1,$hmtoc.location.href.length) != "satelite_kwindex.htm")) { isIndex=false; isContent=true; }
if (currentNumber == "navIndex") { isContent=false; }
if (currentNumber == "navContent") { isIndex=false; isContent=true; }
if (e) {
ctrlKeyDown = (isIE) ? e.ctrlKey : (e.modifiers==2);
if (tocChange && ctrlKeyDown) tocChange = 2;
}
var currentNumArray = currentNumber.split(".");
var currentLevel = currentNumArray.length-1;
var currentIndex = 1;
var currentHash = "";
if ((currentNumber == "") && (top.location.href.lastIndexOf("?") > 0)) {
currentNumber = top.location.href.substring(top.location.href.lastIndexOf("?")+1,top.location.href.length);
if (currentNumber.lastIndexOf(",") > 0) {
currentHash = "#" + currentNumber.substring(currentNumber.lastIndexOf(",")+1, currentNumber.length);
currentNumber = currentNumber.substring(0, currentNumber.lastIndexOf(","));
}
}
for (i=0; i<tocTab.length; i++) {
if ((tocTab[i][0] == currentNumber) || (tocTab[i][2] == currentNumber && tocTab[i][2] != "")) {
currentIndex = i;
currentNumber = tocTab[i][0];
currentNumArray = currentNumber.split(".");
currentLevel = currentNumArray.length-1;
break;
}
}
if (currentIndex < tocTab.length-1) {
nextLevel = tocTab[currentIndex+1][0].split(".").length-1;
currentIsExpanded = nextLevel > currentLevel && toDisplay[currentIndex+1];
}
else currentIsExpanded = false;
theHref = (noLink) ? "" : tocTab[currentIndex][2] + currentHash;
theTarget = tocTab[currentIndex][3];
for (i=1; i<tocTab.length; i++) {
if (tocChange) {
thisNumber = tocTab[i][0];
thisNumArray = thisNumber.split(".");
thisLevel = thisNumArray.length-1;
isOnPath = true;
if (thisLevel > 0) {
for (j=0; j<thisLevel; j++) {
isOnPath = (j>currentLevel) ? false : isOnPath && (thisNumArray[j] == currentNumArray[j]);
}
}
toDisplay[i] = (tocChange == 1) ? isOnPath : (isOnPath || toDisplay[i]);
if (thisNumber.indexOf(currentNumber+".")==0 && thisLevel > currentLevel) {
if (currentIsExpanded) toDisplay[i] = false;
else toDisplay[i] = (thisLevel == currentLevel+1);
}
}
}
if (!isContent && !isIndex) {
$hmtoc.location.href = "satelite_kwindex.htm";
isIndex = true;
}
hasSelection = false;
if (isContent) {
if (!isDyn) {
if ($hmtoc.location.href.substring($hmtoc.location.href.lastIndexOf("/")+1,$hmtoc.location.href.length) != "satelite_content.htm") $hmtoc.location.href = "satelite_content.htm";
}
else {
oldOnError = window.onerror;
window.onerror = windowErr;
$hmtoc.document.clear();
$hmtoc.document.write("<html>\n\r<head>\n\r   <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1251\">\n\r</head>\n\r<style type=\"text/css\">\n\r       SPAN.heading1 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #000000; text-decoration: none }\n\r       SPAN.heading2 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #000000; text-decoration: none }\n\r       SPAN.heading3 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #000000; text-decoration: none }\n\r       SPAN.heading4 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #000000; text-decoration: none }\n\r       SPAN.heading5 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #000000; text-decoration: none }\n\r       SPAN.heading6 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #000000; text-decoration: none }\n\r\n\r       SPAN.hilight1 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight2 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight3 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight4 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight5 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight6 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r</style>\n\r<body bgcolor=\"#FFFFFF\">\n\r<font size=\"2\" face=\"Arial, Helvetica, sans-serif\"><b>Помощ за Satellite</b></font>\n\r<br><hr><br>\n\r\n\r  <!-- Place holder for the TOC, do not delete the line below -->\n\r  ");
for (i=0; i<tocTab.length; i++) {
if (toDisplay[i]) {
thisNumber = tocTab[i][0];
thisNumArray = thisNumber.split(".");
thisLevel = thisNumArray.length-1;
isCurrent = (i == currentIndex);
if (i < tocTab.length-1) {
nextLevel = tocTab[i+1][0].split(".").length-1;
img = (thisLevel >= nextLevel) ? tocTab[i][4] : ((toDisplay[i+1]) ? tocTab[i][5] : tocTab[i][4]);
}
else img = tocTab[i][4];
thisTextClass = ((thisNumber==currentNumber)?("hilight"):("heading"));
thisNode = ((thisNumber==currentNumber)?("<div id=currentNode></div>"):(""));
if (thisNumber==currentNumber) hasSelection = true;
$hmtoc.document.write(thisNode);
$hmtoc.document.write("<table border=0 cellspacing=0 cellpadding=2>");
if (img!="") {
$hmtoc.document.write("<tr><td width=" + ((thisLevel+1) * 20) + " align=right valign=top>");
$hmtoc.document.write("<a href=\"javaScript:history.go(0)\" onMouseDown=\"parent.reDisplay('" + thisNumber + "'," + tocBehaviour[0] + "," + tocLinks[0] + ",event)\">");
$hmtoc.document.write("<img src=\"" + img + "\" border=0></a>");
}
else $hmtoc.document.write("<tr><td width=" + (thisLevel * 20) + " align=right valign=top>");
$hmtoc.document.write("</td><td align=left>");
$hmtoc.document.write("<a href=\"javaScript:history.go(0)\" onMouseDown=\"parent.reDisplay('" + thisNumber + "'," + tocBehaviour[1] + "," + tocLinks[1] + ",event)\">");
$hmtoc.document.write("<span class=\""  + thisTextClass + ((thisLevel>5) ? 6 : thisLevel+1) + "\">");
$hmtoc.document.write( ((showNumbers)?(thisNumber+" "):"") + tocTab[i][1]);
$hmtoc.document.write("</span></a>");
$hmtoc.document.writeln("</td></tr></table>");
window.onerror = oldOnError;
} //isDyn
} //isContent
}
}
if (!noLink) {
oldLastVisitNumber = oldCurrentNumber;
oldCurrentNumber = currentNumber;
}
if (isContent && isDyn) {
$hmtoc.document.write("\n\r\n\r<br><hr><font size=\"1\" face=\"Arial, Helvetica, sans-serif\">© 2003-2004 DESC Ltd.</font>\n\r</body>\n\r</html>\n\r");
$hmtoc.document.close();
}
if (theHref)
if (theTarget=="top") top.location.href = theHref;
else if (theTarget=="parent") parent.location.href = theHref;
else if (theTarget=="blank") open(theHref,"");
else {
$hmcontent.location.href = theHref;
if ((tocScroll) && (hasSelection)) $hmtoc.document.all["currentNode"].scrollIntoView();
}
}
