var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "Benvenuti / Welcome", "welcometopic.htm", "", "cicon17.gif", "cicon17.gif");
tocTab[ir++] = new Array ("2", "Informazioni / Information", "secondtopic.htm", "", "cicon17.gif", "cicon17.gif");
tocTab[ir++] = new Array ("3", "Funzioni", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.1", "Divertenti / Funny", "gadanese2.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.1.1", "Colora caratteri e sfondo - Color characters and background", "coloracaratteriesfondo_co.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.2", "Colora caratteri/parole - To color  characters/words", "a8.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.3", "Dimensione caratteri/parole casuale - Dimension characters/words random", "dimensionecarattericasuale_.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.4", "Vero specchio - True mirror", "newitem14.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.5", "Parole/Selezione al contrario - Words/Selection back to front", "a6.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.6", "Vocali in Maiuscolo - vowels in capital", "newitem21.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.7", "Maiuscolo/minuscolo alternato - Capital/minuscule alternate", "a.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.8", "Testo in griglia (verticale) - Text in grate (vertical)", "a9.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.9", "Toglie le vocali - Remove the vowels", "a10.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.10", "Separa vocali e consonanti - Detaches  vowels and consonants", "newitem9.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.11", "Lettere x posizione - Letters x position ", "newitem22.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.12", "Mischia caratteri/parole - To mix characters/words", "mischiaparole.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.13", "Parole in vert./vert. oriz. - Vert./Vert. Horiz. words", "newitem15.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.1.14", "Caratteri in vert./vert. oriz. - Vert./Vert. Horiz. characters", "newitem17.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2", "Utilit&agrave; / Utility", "newitem.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.2.1", "Parola a capo - Word at head", "primaletteraparolamaiuscola2.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.2", "Prima lettera parola maiuscola - First letter word capital", "primaletteraparolamaiuscola.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.3", "Togli fine paragrafo - Remove end paragraph", "toglifineparagrafo_remove.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.4", "Inserisci fine  paragrafo - Insert end paragraph", "newitem25.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.5", "Togli a capo automatici - Remove head automatic", "togliacapoautomatici_remo.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.6", "Inserisci caratteri tra caratteri ... - insert characters among char. ...", "newitem23.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.7", "Inserisci car. prima e dopo car. ... - insert char. first and after char. ...", "newitem24.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.8", "Testo stile P2P - Text style P2P", "newitem30.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.9", "Inserisci spazi - Insert spaces", "s.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.10", "Togli spazi - Remove spaces", "ss.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.11", "Togli doppio spazio e +  -  Remove double space and +", "parolaacapo.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.12", "Caratteri incorniciati - Enframe characters", "caratteriincorniciati_enfra.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.13", "Parole in tabella - Words in chart", "paroleintabella_wordsinc.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.14", "Riquadro di lettura - Box for reading", "newitem13.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.15", "Selezione Verticale ... - Vertical selection...", "newitem18.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.16", "Elimina numeri di pagina - Cancel numbers of page", "newitem16.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.2.17", "Trova Link - Finds link", "newitem26.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.3", "Alfabeti / Alphabets", "newitem3.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.3.1", "Farfallino", "newitem4.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.3.2", "Gadanese", "gadanese.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.3.3", "Morse", "morse.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.3.4", "Leet F4W - l337 /=4\\X/", "newitem27.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.3.5", "Fonetico Nato - Phonetic Nato", "newitem28.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.3.6", "Braille F4W", "newitem29.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.4", "Posizione / Position", "newitem20.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.4.1", "Onda / Wave", "newitem2.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.4.2", "Testo in salita/discesa/espanso - Text go up/down/expansion", "newitem8.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.4.3", "Apice Pedice", "overview.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.5", "Statistiche / Statistic", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.5.1", "Conta Lettere - Count letters", "newitem7.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.5.2", "Conta Parole - Count Words", "newitem19.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.6", "Cifratura - Encryption", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.6.1", "Lettera in numero - Letter in number", "cifratura_encryption.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.6.2", "Cifra/Decifra - Encryption/Decryption", "cifratura_encryption2.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.7", "Elenchi - Lists", "newitem10.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.7.1", "Elenco caratteri - List characters", "newitem11.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("3.7.2", "Elenco comandi - List commandos", "newitem12.htm", "", "cicon11.gif", "cicon11.gif");
tocTab[ir++] = new Array ("4", "Schermata - Screen shot", "screenshot.htm", "", "cicon41.gif", "cicon41.gif");
tocTab[ir++] = new Array ("5", "Supporto / Support", "newitem6.htm", "", "cicon17.gif", "cicon17.gif");
tocTab[ir++] = new Array ("6", "Autore / Author", "newitem5.htm", "", "cicon17.gif", "cicon17.gif");
isContent = true,
isIndex = false,
showNumbers = false,
tocBehaviour = new Array(1,1),
tocScroll=false,
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 = "$help - fun4word2.40_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) != "$help - fun4word2.40_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 = 0;
if (currentNumber == "") currentNumber = top.location.href.substring(top.location.href.lastIndexOf("?")+1,top.location.href.length);
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];
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 = "$help - fun4word2.40_kwindex.htm";
isIndex = true;
}
if (isContent) {
if (!isDyn) {
if ($hmtoc.location.href.substring($hmtoc.location.href.lastIndexOf("/")+1,$hmtoc.location.href.length) != "$help - fun4word2.40_content.htm") $hmtoc.location.href = "$help - fun4word2.40_content.htm";
}
else {
oldOnError = window.onerror;
window.onerror = windowErr;
$hmtoc.document.clear();
$hmtoc.document.write("<html>\n\r<head></head>\n\r<style type=\"text/css\">\n\r       SPAN.heading1 { font-family: Arial,Helvetica; font-weight: normal; font-size: 10pt; 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: 8pt; color: #000000; text-decoration: none }\n\r       SPAN.heading4 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none }\n\r       SPAN.heading5 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none }\n\r       SPAN.heading6 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none }\n\r\n\r       SPAN.hilight1 { font-family: Arial,Helvetica; font-weight: normal; font-size: 10pt; 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: 8pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight4 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight5 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r       SPAN.hilight6 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none }\n\r</style>\n\r<body bgcolor=\"#FFFFFF\">\n\r<font face=\"Arial,Helvetica\" size=\"4\"><b>Fun4Word by Andrea Incani</b></font><br>\n\r<font face=\"Arial,Helvetica\" size=\"2\">\n\r<a href=\"javaScript:parent.reDisplay(\'navIndex\',0,0);\">Keyword Index</a>\n\r</font><br><br><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>"):(""));
$hmtoc.document.write(thisNode);
$hmtoc.document.write("<table border=0 cellspacing=0 cellpadding=2>");
$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>");
$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<hr><font face=\"Arial,Helvetica\" size=\"1\">&copy; 2009 by Andrea Incani</font>\n\r</body>\n\r</html>\n\r");
$hmtoc.document.close();
if (tocScroll) $hmtoc.document.all["currentNode"].scrollIntoView();
}
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;
}
