var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "Introduction", "introduction.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2", "Lids", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.1", "Lid skin allergy", "lidskinallergy.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.2", "Drop allergy", "dropallergy.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.3", "Seborrheic Keratosis", "seborrheickeratosis.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4", "Papilloma", "papilloma.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5", "Ectropion", "ectropion.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.6", "Blepharitis", "blepharitis.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.7", "Blepharitis2", "blepharitis2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.8", "Chalazion", "chalazion.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.9", "Ingrown Eyelash", "ingrowneyelash.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.10", "Puncta1", "punct.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.11", "Puncta2", "puncta2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.12", "Puncta3", "puncta3.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.13", "Basal cell carcioma", "basalcellcarcinoma.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3", "Conjunctiva-Cornea", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.1", "&quot;Pink eye&quot;", "pinkeye.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.2", "GPC", "gpc.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.3", "Allergic GPC with Ulcer", "allergicgpcwithulcer.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.4", "Allergic GPC with Ulcer2", "allergicgpcwithulcer2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5", "Phylectenule", "phylectenule.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.6", "Neovascularization1", "neovascularization.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.7", "Neovascularization2", "neovascularization2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.8", "Neovascularization3", "neovascularization3.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.9", "Nevus", "nevus.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.10", "Pinguecula", "pinguecula.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.11", "Pterygium1", "pterygium.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.12", "Pterygium2", "pterygium2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.13", "Viral Papilloma", "viralpapilloma.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.14", "Concretion", "concretion.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4", "Corneal Abrasions / Ulcers", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("4.1", "Abrasion", "abrasion.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.2", "Healed ulcer", "healedulcer.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4.3", "Lid foreign body", "foreignbody.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5", "Corneal Dystrophy", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("5.1", "Epithelial Corneal Dystrophy", "epithelialcornealdystrophy.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.2", "Fuchs\' dystrophy", "fuchs'dystrophy.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.3", "Corneal decompensation", "cornealdecompensation.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("5.4", "Posterior Polymorphous", "posteriorpolymorphous.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6", "Iris", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("6.1", "Iris Cyst", "iriscyst.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.2", "Coloboma", "coloboma.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6.3", "Retro iris bleed", "retroirisbleed.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7", "Cataract Surgery", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("7.1", "Nuclear cataracts", "lensopacities.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.2", "Posterior subcapsular cataracts", "posteriorsubcapsularcataract.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.3", "Posterior polar cataract", "posteriorpolarcataract.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.4", "Pseudoexfoliation", "pseudoexfoliation.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7.5", "Congenital cataract", "congenitalcataract.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8", "Corneal Transplant", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("8.1", "Donor tissue", "donortissue.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.2", "Healing epi", "healingepi.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.3", "Clear graft", "cleargraft.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.4", "Wound seperation", "woundseperation.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.5", "Loose suture", "loosesuture2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.6", "Graft rejection", "graftfailure.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8.7", "Graft failure", "graftfailure2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9", "Refractive Surgery", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("9.1", "Stria", "stria.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.2", "Flap edge scalloping", "flapedge.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.3", "Flap debris", "flapdebris.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("9.4", "Radial Keratotomy", "radialkeratotomy.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10", "Grave\'s Disease", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("10.1", "Proptosis1", "proptosis.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("10.2", "Proptosis2", "proptosis2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("11", "Inflammation", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("11.1", "Episcleritis", "episcleritis.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("11.2", "Pemphigoid", "pemphigoid.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("11.3", "Scleromalacia", "scleromalacia.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("11.4", "Pupil synechiea", "inflammation.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("11.5", "IOL inflammation1", "iolinflammation.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("11.6", "IOL inflammation2", "iolinflammation2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12", "Dry Eye", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("12.1", "Sicca", "sicca.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("12.2", "Filamentary Keratitis", "filaments.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("13", "Corneal Depositions", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("13.1", "Vortex keratopathy", "vortexkeratopathy.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("13.2", "Iron Line", "ironline.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("14", "Bacterial infection", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("14.1", "Corneal ulcer", "cornealulcer.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("14.2", "Corneal Ulcer 2", "cornealulcer2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("14.3", "Blebitis (Endophthalmitis)", "blebitis(endophthalmitis).htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("15", "Herpes Simplex", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("15.1", "Herpes Simplex, Primary", "simplex_primary.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("15.2", "Herpes Simplex Keratitis", "simplex_keratitis.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("15.3", "Herpes Simplex Keratitis2", "herpessimplexkeratitis2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("16", "Herpes zoster (shingles)", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("16.1", "Skin lesions", "skinlesions.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("16.2", "Dendrites", "keratopathy.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("16.3", "Corneal scar", "cornealscar.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("16.4", "Iris atrophy", "irisatrophy.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("16.5", "Ulceration1", "ulceration.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("16.6", "Ulceration2", "ulceration2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17", "Post-surgical", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("17.1", "Capsular opacities1", "iolopacities.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.2", "Capsular opacities2", "capsularopacities2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.3", "Capsular opacities3", "capsularopacities3.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.4", "Capsular opacities4", "capsularopacities4.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.5", "Phimosis", "phimosis.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.6", "Capsular wrinkles", "capsularwrinkles.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.7", "Capsular wrinkles2", "capsularwrinkles2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.8", "Pearls", "pearls.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.9", "Anterior chamber IOL", "anteriorchamberiol.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.10", "Broken 10-0 suture", "loosesuture.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.11", "Descemet\'s detachment1", "descemet'sdetachment.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("17.12", "Descemet\'s detachment2", "descement'sdetachment2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("18", "Glaucoma", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("18.1", "Filter bleb", "filterbleb.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19", "Trauma", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("19.1", "Lid laceration", "lidlaceration.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.2", "Subconj hemorrhage", "subconjhemorrhage.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.3", "Hematoma", "hematoma.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.4", "Hyphema", "hyphema.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.5", "Foreign Body", "foreignbody2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.6", "Foreign Body2", "foreignbody22.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.7", "Rust ring", "rustring.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.8", "Rust ring2", "rustring2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.9", "Corneal scar1", "cornealscar2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.10", "Corneal scar2", "cornealscar22.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.11", "Traumatic cataract", "traumaticcataract.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.12", "Cornea and scleral laceration", "cornealsclerallaceration.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.13", "Ruptured globe", "rupturedglobe.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.14", "Artificial Iris", "artificialiris.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("19.15", "Phthisis", "phthisis.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("20", "Vitreous", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("20.1", "Asteroid hyalosis", "asteroidhyalosis.htm", "", "cicon9.gif", "cicon9.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 = "eyephotos_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) != "eyephotos_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;
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 = "eyephotos_kwindex.htm";
isIndex = true;
}
hasSelection = false;
if (isContent) {
if (!isDyn) {
if ($hmtoc.location.href.substring($hmtoc.location.href.lastIndexOf("/")+1,$hmtoc.location.href.length) != "eyephotos_content.htm") $hmtoc.location.href = "eyephotos_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<p><font face=\"Arial\" size=\"4\">\n\r<a target=\"_top\" href=\"../index.htm\">\n\r[Palm4Eyes HOME]\n\r</a></font></p><br>\n\r\n\r<font face=\"Arial,Helvetica\" size=\"4\"><b>Ocular External Diseases</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>\n\r\n\r\n\r\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<hr><font face=\"Arial,Helvetica\" size=\"1\">&copy; 2005 ... Mike Hodkin, MD</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();
}
}
