var tocTab = new Array();var ir=0;
tocTab[ir++] = new Array ("1", "Introduction", "", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("1.1", "Welcome to Images: In Context!", "welcometopic.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("1.2", "Quick Start", "gettingstarted.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("1.3", "Options", "options.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("1.4", "An Important Note About JPGs", "anoteaboutjpgs.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2", "Single-Image Operations", "single_fileoperations.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.1", "View History / Undo", "viewhistoryundo.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.2", "Copy Image", "copyimage.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.3", "Resize", "resize.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.4", "Convert To...", "convertto___.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5", "Image Filters/Effects", "imagefilterseffects.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.1", "Adjust", "adjust.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.1.1", "Adjust Brightness/Contrast", "adjustbrightnesscontrast.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.1.2", "Adjust Gamma", "adjustgamma.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.1.3", "Adjust Tint", "adjusttint.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.2", "Blur", "blur.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.2.1", "Blur", "blur2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.2.2", "Blur Effects", "blureffects.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.2.3", "Gaussian Blur", "gaussianblur.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.2.4", "Mean/Average", "meanaverage.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3", "Color", "color.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.3.1", "Adjust RGB Colors", "adjustrgbcolors.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3.2", "Duotone", "duotone.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3.3", "Equalize Brightness", "equalizebrightness.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3.4", "Equalize Image", "equalizecolor.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3.5", "Gradient Map", "gradientmap.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3.6", "Grayscale", "grayscale.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3.7", "Hue/Saturation/Value", "huesaturationvalue.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3.8", "Invert Image", "invertimage.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3.9", "Posterize", "posterize.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3.10", "Red-Eye Remover", "red_eyeremover.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.3.11", "Sepia Tone", "sepiatone.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.4", "Distort", "distort.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.4.1", "Glass Effect", "glasseffect.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.4.2", "Lens Distort", "lensdistort.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.4.3", "Pinch Distort", "pinchdistort.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.4.4", "Ripple", "ripple.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.5", "Noise", "noise.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.5.1", "Add Noise", "addnoise.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.5.2", "Despeckle Filter", "despecklefilter.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.6", "Sharpen", "sharpen.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.6.1", "Sharpen", "sharpen2.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.6.2", "Sharpen Edges", "sharpenedges.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.6.3", "Unsharp Mask", "unsharpmask.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7", "Stylize", "stylize.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.7.1", "Add Text", "addtext.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.2", "Bevel Edges", "beveledges.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.3", "Crackle", "crackle.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.4", "Emboss", "emboss.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.5", "Find Edges", "findedges.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.6", "Halftone", "halftone.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.7", "Mosaic Effect", "mosaiceffect.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.8", "Scanlines", "scanlines.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.9", "Scribble", "scribble.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.10", "Sketch", "sketch.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.11", "Soft Focus", "softfocus.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.12", "Solarize", "solarize.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.13", "Stipple", "stipple.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.14", "Spin", "spin.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.15", "Strangiato", "strangiato.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.16", "Threshold", "threshold.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.17", "Vignette", "vignette.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.18", "Watercolor", "watercolor.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.19", "Wave", "wave.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.7.20", "Zig Zag", "zigzag.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.8", "Transform", "transform.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.8.1", "Crop", "crop.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.8.2", "Filp Horizontal", "filphorizontal.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.8.3", "Filp Vertical", "filpvertical.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.8.4", "Offset", "offset.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.9", "Other", "other.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("2.5.9.1", "Custom Filter (Convolution)", "customfilter(convolution).htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.9.2", "High Pass", "highpass.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.9.3", "Maximum Filter", "maximumfilter.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.9.4", "Median Cut", "mediancut.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.5.9.5", "Minimum Filter", "minimumfilter.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.6", "Rotate...", "rotate___.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("2.7", "Make Wallpaper", "makewallpaper.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3", "Multiple-Image Operations", "multiple_imageoperations.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("3.1", "Create Webpage", "createwebpage.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.2", "Create GIF Slideshow", "creategifslideshow.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.3", "Rename Each...", "renameeach___.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.4", "Resize", "resizemulti.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.5", "Convert To...", "converttomulti.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("3.6", "Rotate...", "rotatemulti.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("4", "Paste as Image File", "pasteasimagefile.htm", "", "cicon1.gif", "cicon2.gif");
tocTab[ir++] = new Array ("5", "Troubleshooting", "troubleshooting.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("6", "Help, Questions and Technical Support", "gettinghelp.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("7", "How to Purchase Images: In Context!", "purchasingimagesincontext.htm", "", "cicon9.gif", "cicon9.gif");
tocTab[ir++] = new Array ("8", "License Agreement", "licenseagreement.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 = "images in context_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) != "images in context_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 = "images in context_kwindex.htm";
isIndex = true;
}
hasSelection = false;
if (isContent) {
if (!isDyn) {
if ($hmtoc.location.href.substring($hmtoc.location.href.lastIndexOf("/")+1,$hmtoc.location.href.length) != "images in context_content.htm") $hmtoc.location.href = "images in context_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>Images: In Context! Help</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>"):(""));
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 Liquid Mirror Enterprises. All rights reserved.</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();
}
}
