﻿// Related Links DB

var relatedLinks = [
	"ABOUT", 3, "Contact Us", "contact.html", "Employment", "employment.html", "Distributors", "distdeal.html",
	"ALL", 4, "Controllers", "controllers.html", "Interfaces & Synchronizers", "interfaces.html",
		"OEM Services", "oem.html", "Brochures", "cat.html",
	"ARCH", 3, "News", "../pages/news.html", "Press Releases", "../pages/press.html", "Shows and Events", "../pages/events.html",
	"BUSALYZER", 1, "Interfaces & Synchronizers", "interfaces.html",
	"CATALOG", 6, "Controllers", "controllers.html", "Interfaces & Synchronizers", "interfaces.html",
		"Compatibility", "../cgi/compat.cgi",
		"Current Product Manuals", "../cgi/manuals.cgi?task=current", "Legacy Product Manuals", "../cgi/manuals.cgi?task=legacy",
		"Product Photos", "javascript:gotoPhotoPage2 ()",
	"CICARDS", 5, "Controllers", "controllers.html", "KeyShot", "keyshot.html", "MCS-QuickShot", "mcsqshot.html",
		"RackShot", "rackshot.html", "SharpShot", "sharpshot.html",
	"COMPAT", 4, "Product Registration", "../pages/onlinereg.html",
		"Downloads", "../pages/downloads.html", "Current Product Manuals", "../cgi/manuals.cgi?task=current",
		"Legacy Product Manuals", "../cgi/manuals.cgi?task=legacy",
		 
	"CONTACT", 3, "About JLCooper", "about.html", "Employment", "employment.html", "Distributors", "distdeal.html",
	"CONTROLLERS", 3, "Interfaces & Synchronizers", "interfaces.html",
		"Downloads", "../pages/downloads.html", "Brochures", "cat.html",
	"CS10", 1, "Controllers", "controllers.html",
	"CS32SUP", 3, "Registration", "../pages/onlinereg.html",
		"Compatibility", "../cgi/compat.cgi", "Downloads", "../pages/downloads.html",
	"DAFV", 1, "Interfaces & Synchronizers", "interfaces.html",
	"DATASYNC", 1, "Synchronizers", "synchronizers.html",
	"DEV", 3, "OEM Services", "pages/oem.html", "Product Photos", "javascript:gotoPhotoPage2 ()","Downloads", "pages/downloads.html", 
	"DISTDEAL", 3, "About JLCooper", "about.html", "Contact Us", "contact.html", "Employment", "employment.html",		
	"DOWNLDS", 4, "Product Registration", "../pages/onlinereg.html",
		"Compatibility", "../cgi/compat.cgi", "Current Product Manuals", "../cgi/manuals.cgi?task=current",
		"Legacy Product Manuals", "../cgi/manuals.cgi?task=legacy", 
	"DPPLUG", 3, "Controllers", "controllers.html", "MCS-3000 Series", "mcs3000series.html",
		"Downloads", "../pages/downloads.html",
	"EBOX", 3, "Interfaces & Synchronizers", "interfaces.html", "eBOX io", "eboxio.html", "gBox", "gbox.html",
	"EBOXIO", 3, "Interfaces & Synchronizers", "interfaces.html", "eBOX", "ebox.html", "gBox", "gbox.html",
	"ECLIPSE", 10, "Eclipse CX Midnight", "eclipsecxm.html", "Eclipse MX", "eclipsemx.html", "Eclipse MX Midnight", "eclipsemxm.html", "Eclipse SX Midnight", "eclipsesx.html", "Eclipse TX Midnight", "eclipsetx.html", "Eclipse NX Midnight", "eclipsenx.html", "Eclipse Bridge Midnight", "eclipse_bridge.html", "Eclipse 24 Midnight", "eclipse24.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"ECLIPSECXM", 11, "Eclipse CX", "eclipse.html", "Eclipse BTX Midnight", "eclipsebtxm.html", "Eclipse MX Midnight", "eclipsemxm.html", "Eclipse MX", "eclipsemx.html", "Eclipse SX Midnight", "eclipsesx.html", "Eclipse TX Midnight", "eclipsetx.html", "Eclipse NX Midnight", "eclipsenx.html", "Eclipse Bridge Midnight", "eclipse_bridge.html", "Eclipse 24 Midnight", "eclipse24.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"ECLIPSEBTXM", 10, "Eclipse CX Midnight", "eclipsecxm.html", "Eclipse CX", "eclipse.html", "Eclipse MX Midnight", "eclipsemxm.html", "Eclipse SX Midnight", "eclipsesx.html", "Eclipse TX Midnight", "eclipsetx.html", "Eclipse NX Midnight", "eclipsenx.html", "Eclipse Bridge Midnight", "eclipse_bridge.html", "Eclipse 24 Midnight", "eclipse24.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"ECLIPSEBRDG", 11, "Eclipse CX", "eclipse.html", "Eclipse CX Midnight", "eclipsecxm.html", "Eclipse BTX Midnight", "eclipsebtxm.html", "Eclipse MX", "eclipsemx.html", "Eclipse MX Midnight", "eclipsemxm.html", "Eclipse SX Midnight", "eclipsesx.html", "Eclipse NX Midnight", "eclipsenx.html", "EclipseTX Midnight", "eclipsetx.html", "Eclipse 24 Midnight", "eclipse24.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"ECLIPSEMX", 10, "Eclipse CX", "eclipse.html", "Eclipse CX Midnight", "eclipsecxm.html", "Eclipse MX Midnight", "eclipsemxm.html", "Eclipse SX Midnight", "eclipsesx.html", "Eclipse TX Midnight", "eclipsetx.html", "Eclipse NX Midnight", "eclipsenx.html", "Eclipse Bridge Midnight", "eclipse_bridge.html", "Eclipse 24 Midnight", "eclipse24.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"ECLIPSEMXM", 11, "Eclipse CX Midnight", "eclipsecxm.html", "Eclipse CX", "eclipse.html", "Eclipse MX", "eclipsemx.html", "Eclipse BTX Midnight", "eclipsebtxm.html", "Eclipse SX Midnight", "eclipsesx.html", "Eclipse TX Midnight", "eclipsetx.html", "Eclipse NX Midnight", "eclipsenx.html", "Eclipse Bridge Midnight", "eclipse_bridge.html", "Eclipse 24 Midnight", "eclipse24.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"ECLIPSENX", 11, "Eclipse CX", "eclipse.html", "Eclipse CX Midnight", "eclipsecxm.html", "Eclipse BTX Midnight", "eclipsebtxm.html", "Eclipse MX", "eclipsemx.html", "Eclipse MX Midnight", "eclipsemxm.html", "Eclipse SX Midnight", "eclipsesx.html", "Eclipse TX Midnight", "eclipsetx.html", "Eclipse Bridge Midnight", "eclipse_bridge.html", "Eclipse 24 Midnight", "eclipse24.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"ECLIPSESX", 11, "Eclipse CX", "eclipse.html", "Eclipse CX Midnight", "eclipsecxm.html", "Eclipse BTX Midnight", "eclipsebtxm.html", "Eclipse MX", "eclipsemx.html", "Eclipse MX Midnight", "eclipsemxm.html", "Eclipse TX Midnight", "eclipsetx.html", "Eclipse NX Midnight", "eclipsenx.html", "Eclipse Bridge Midnight", "eclipse_bridge.html", "Eclipse 24 Midnight", "eclipse24.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"ECLIPSETX", 11, "Eclipse CX", "eclipse.html", "Eclipse CX Midnight", "eclipsecxm.html", "Eclipse BTX Midnight", "eclipsebtxm.html", "Eclipse MX", "eclipsemx.html", "Eclipse MX Midnight", "eclipsemxm.html", "Eclipse SX Midnight", "eclipsesx.html", "Eclipse NX Midnight", "eclipsenx.html", "Eclipse Bridge Midnight", "eclipse_bridge.html", "Eclipse 24 Midnight", "eclipse24.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"ECLIPSE24", 11, "Eclipse CX", "eclipse.html", "Eclipse CX Midnight", "eclipsecxm.html", "Eclipse BTX Midnight", "eclipsebtxm.html", "Eclipse MX", "eclipsemx.html", "Eclipse MX Midnight", "eclipsemxm.html", "Eclipse SX Midnight", "eclipsesx.html", "Eclipse TX Midnight", "eclipsetx.html", "Eclipse NX Midnight", "eclipsenx.html", "Eclipse Bridge Midnight", "eclipse_bridge.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"EDSUITE", 2, "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"EMPLOY", 3, "About JLCooper", "about.html", "Contact Us", "contact.html", "Distributors", "distdeal.html",
	"ES450SP", 7, "Controllers", "controllers.html", "ES-450 J", "es450j.html",
		"ES-4/100", "es4100.html", "ES-8/100", "es8100.html",
		"ES-SloMo SP", "esSloMoSP.html", "ES-SloMo J", "esSloMoJ.html", "Downloads", "../pages/downloads.html",
	"ES450J", 7, "Controllers", "controllers.html", "ES-450 SP", "es450sp.html",
		"ES-4/100", "es4100.html", "ES-8/100", "es8100.html",
		"ES-SloMo SP", "esSloMoSP.html", "ES-SloMo J", "esSloMoJ.html", "Downloads", "../pages/downloads.html",
	"ES4100", 5, "Controllers", "controllers.html",
		"ES-450 SP", "es450sp.html", "ES-8/100", "es8100.html",
		"ES-SloMo", "esSloMo.html", "Downloads", "../pages/downloads.html",
	"ES8100", 5, "Controllers", "controllers.html",
		"ES-450 SP", "es450sp.html", "ES-4/100", "es4100.html",
		"ES-SloMo", "esSloMo.html", "Downloads", "../pages/downloads.html",
	"ESSLOMOJ", 7, "Controllers", "controllers.html", "ES-SloMo SP", "esSloMoSP.html",
		"ES-450SP", "es450sp.html", "ES-450J", "es450j.html", "ES-4/100", "es4100.html",
		"ES-8/100", "es8100.html", "Downloads", "../pages/downloads.html",
	"ESSLOMO", 7, "Controllers", "controllers.html", "ES-SloMo J", "esSloMoJ.html",
		"ES-450SP", "es450sp.html", "ES-450J", "es450j.html", "ES-4/100", "es4100.html",
		"ES-8/100", "es8100.html", "Downloads", "../pages/downloads.html",
	"EVTS", 2, "News", "/pages/news.html", "Press Releases", "/pages/press.html",
	"GANGWAY16", 2, "Interfaces & Synchronizers", "interfaces.html", "Compact Interface Cards", "cicardsandmacrosw.html",
	"GBOX", 3, "Interfaces & Synchronizers", "interfaces.html", "eBOX", "ebox.html", "eBOX io", "eboxio.html",
	"HISTORY", 4, "Controllers", "controllers.html", "Interfaces & Synchronizers", "interfaces.html",
		"Compatibility", "../cgi/compat.cgi", "Downloads", "../pages/downloads.html",
	"HOTLNKS", 2, "OEM Services", "pages/oem.html", "Controllers", "controllers.html",
	"INTERF", 2, "Controllers", "controllers.html", "Brochures", "cat.html",
	"KEYSETS", 4,  "Controllers", "../pages/controllers.html", "Compatibility", "../cgi/compat.cgi",
		"Downloads", "../pages/downloads.html", "Current Product Manuals", "../cgi/manuals.cgi?task=current",
		
	"KEYSHOT", 7, "Controllers", "controllers.html", "RackShot", "rackshot.html", "MCS-QuickShot", "mcsqshot.html", "SharpShot", "sharpshot.html",
		"MCS-ClipShot", "mcsclip.html", "Compact Interface Cards", "cicardsandmacrosw.html", "Downloads", "../pages/downloads.html",
	"LEGMAN", 4,  "Compatibility", "../cgi/compat.cgi",
		"Product Registration", "../pages/onlinereg.html", "Downloads", "../pages/downloads.html",
		 "Current Product Manuals", "../cgi/manuals.cgi?task=current",
	"MANUALS", 4,  "Compatibility", "../cgi/compat.cgi",
		"Product Registration", "../pages/onlinereg.html", "Downloads", "../pages/downloads.html",
		 "Legacy Product Manuals", "../cgi/manuals.cgi?task=legacy",
	"MCS2FAM", 5, "Controllers", "controllers.html", "MCS2 MIDI", "mcs2md.html",
		"MCS2 RS-422/9-Pin", "mcs2r4.html", "MCS2 RS-232", "mcs2r2.html", "MCS2 USB", "mcs2usb.html",
	"MCS2MD", 5, "Controllers", "controllers.html", "MCS2 Series", "mcs2.html",
		"MCS2 RS-422/9-Pin", "mcs2r4.html", "MCS2 RS-232", "mcs2r2.html", "MCS2 USB", "mcs2usb.html",
	"MCS2USB", 5, "Controllers", "controllers.html", "MCS2 Series", "mcs2.html",
		"MCS2 RS-422/9-Pin", "mcs2r4.html", "MCS2 RS-232", "mcs2r2.html", "MCS2 MIDI/MMC", "mcs2md.html",
	"MCS2R2", 5, "Controllers", "controllers.html", "MCS2 Series", "mcs2.html",
		"MCS2 MIDI/MMC", "mcs2md.html", "MCS2 RS-422/9-Pin", "mcs2r4.html", "MCS2 USB", "mcs2usb.html",
	"MCS2R4", 5, "Controllers", "controllers.html", "MCS2 Series", "mcs2.html",
		"MCS2 MIDI/MMC", "mcs2md.html", "MCS2 RS-232", "mcs2r2.html", "MCS2 USB", "mcs2usb.html",
	"MCS3MIDI", 8, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html", "MCS3 RS-232", "mcs3r2.html",
		"MCS3 USB", "mcs3usb.html", "MCS3 RS-422", "mcs3r4.html",
		"MCS3 SP RS-422/9PIN", "mcs3sp.html", "MCS3 SP USB", "mcs3spusb.html", "Downloads", "../pages/downloads.html",
	"MCS3RS232", 8, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html",
		"MCS3 USB", "mcs3usb.html", "MCS3 RS-422", "mcs3r4.html", "MCS3 MIDI", "mcs3midi.html",
		"MCS3 SP RS-422/9PIN", "mcs3sp.html", "MCS3 SP USB", "mcs3spusb.html", "Downloads", "../pages/downloads.html",
	"MCS3RS422", 8, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html", "MCS3 RS-232", "mcs3r2.html",
		"MCS3 USB", "mcs3usb.html", "MCS3 MIDI", "mcs3midi.html",
		"MCS3 SP RS-422/9PIN", "mcs3sp.html", "MCS3 SP USB", "mcs3spusb.html", "Downloads", "../pages/downloads.html",
	"MCS3SP", 8, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html", "MCS3 RS-232", "mcs3r2.html",
		"MCS3 USB", "mcs3usb.html", "MCS3 RS-422", "mcs3r4.html", "MCS3 MIDI", "mcs3midi.html", "MCS3 SP USB", "mcs3spusb.html",
		"Downloads", "../pages/downloads.html",
	"MCS3SPUSB", 8, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html", "MCS3 RS-232", "mcs3r2.html",
		"MCS3 USB", "mcs3usb.html", "MCS3 RS-422", "mcs3r4.html", "MCS3 MIDI", "mcs3midi.html", "MCS3 SP RS-422/9PIN", "mcs3sp.html",
		"Downloads", "../pages/downloads.html",
	"MCS3USB", 8, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html", "MCS3 RS-232", "mcs3r2.html",
		"MCS3 RS-422", "mcs3r4.html", "MCS3 MIDI", "mcs3midi.html",
		"MCS3 SP RS-422/9PIN", "mcs3sp.html", "MCS3 SP USB", "mcs3spusb.html", "Downloads", "../pages/downloads.html",
	"MCS3V2", 3, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html", "MCS<sup>3</sup>", "mcs3.html",
	"MCSLOC", 2, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html",
	"MCSPROTRACK", 2, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html",
	"FDRMSTR", 2, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html",
	"FM4100", 3, "Controllers", "controllers.html", "MCS-Pro Series", "mcsPro.html", "Downloads", "../pages/downloads.html",
	"MCS3kFAM", 2, "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"MCS3KCONFIG", 3, "MCS-3000 Series", "mcs3000series.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"MCS3kOPT", 3, "MCS-3000 Series", "mcs3000series.html", "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"MCS3000", 2, "MCS-3000 Series", "mcs3000series.html", "Downloads", "../pages/downloads.html",
	"MCS3400", 2, "MCS-3000 Series", "mcs3000series.html", "Downloads", "../pages/downloads.html",
	"MCS3800", 2, "MCS-3000 Series", "mcs3000series.html", "Downloads", "../pages/downloads.html",
	"MCS3800L", 2, "MCS-3000 Series", "mcs3000series.html", "Downloads", "../pages/downloads.html",
	"MCS3000X", 3, "MCS-3000 Series", "mcs3000series.html", "MCS-3000XL", "mcs3000xl.html", "Downloads", "../pages/downloads.html",
	"MCS3000XL", 3, "MCS-3000 Series", "mcs3000series.html", "MCS-3000 Modules and Expansion Options", "mcs3kopt.html",
		"Compact Interface Cards", "cicardsandmacrosw.html",
	"MCSCLIP", 3, "MCS-3000 Series", "mcs3000series.html", "Interface Cards and Software", "mcscards.html", "Downloads", "../pages/downloads.html",
	"MCSCLIP24", 3, "MCS-3000 Series", "mcs3000series.html", "MCS ClipShot", "mcsclip.html", "Downloads", "../pages/downloads.html",
	"MCSQSHOT", 3, "MCS-3000 Series", "mcs3000series.html", "MCS-3000 Modules and Expansion Options", "mcs3kopt.html",
		"Compact Interface Cards", "cicardsandmacrosw.html",
	"MCSSPECT", 2, "MCS-3000 Series", "mcs3000series.html", "MCS-3000 Modules and Expansion Options", "mcs3kopt.html",
	"MCSBRIDGE", 2, "MCS-3000 Series", "mcs3000series.html", "Downloads", "../pages/downloads.html",
	"MCSBRIDGEVF4", 2, "MCS-3000 Series", "mcs3000series.html", "MCS-3000 Modules and Expansion Options", "mcs3kopt.html",
	"MCSPAN", 2, "MCS-3000 Series", "mcs3000series.html", "Downloads", "../pages/downloads.html",
	"MCSORB", 2, "MCS-3000 Series", "mcs3000series.html", "Downloads", "../pages/downloads.html",
	"MCSWIPER", 2, "MCS-3000 Series", "mcs3000series.html", "Downloads", "../pages/downloads.html",
	"MCSNAV", 2, "MCS-3000 Series", "mcs3000series.html", "MCS-3000 Modules and Expansion Options", "mcs3kopt.html",
	"MCSTRKR", 3, "MCS-3000 Series", "mcs3000series.html", "MCS-ProTracker", "../pages/mcsprotrack.html",
					"Downloads", "../pages/downloads.html",
	"MCSTRANS", 4, "MCS-3000 Series", "mcs3000series.html", "MCS-3000 Modules and Expansion Options", "mcs3kopt.html",
		"Developer Information Center", "../dev.html", "OEM Services", "pages/oem.html",
	"MCSCARDS", 2, "MCS-3000 Series", "mcs3000series.html", "Downloads", "../pages/downloads.html",
	"MCSPRO", 2, "Controllers", "controllers.html", "Downloads", "../pages/downloads.html",
	"MLA", 1, "Interfaces & Synchronizers", "interfaces.html",
	"MMC9", 2, "Interfaces & Synchronizers", "interfaces.html", "9PIN/MMC", "ninemmc.html",
	"NEWS", 2, "Press Releases", "press.html", "Product Photos", "javascript:gotoPhotoPage2 ()",
	"NINEMMC", 2, "Interfaces & Synchronizers", "interfaces.html", "MMC/9PIN+", "mmc9.html",
	"OEM", 2, "Developer Information Center", "../dev.html", "About JLCooper", "about.html",
	"PPS2", 2, "Interfaces & Synchronizers", "interfaces.html", "Downloads", "../pages/downloads.html",
	"PRESS", 3, "News", "news.html", "Shows and Events", "events.html", "Product Photos", "javascript:gotoPhotoPage2 ()",
	"RACKSHOT", 7, "Controllers", "controllers.html", "KeyShot", "keyshot.html", "MCS-QuickShot", "mcsqshot.html", "SharpShot", "sharpshot.html",
		"MCS-ClipShot", "mcsclip.html", "Compact Interface Cards", "cicardsandmacrosw.html", "Downloads", "../pages/downloads.html",
	"SHARPSHOT", 7, "Controllers", "controllers.html", "KeyShot", "keyshot.html", "MCS-QuickShot", "mcsqshot.html", "RackShot", "rackshot.html",
		"MCS-ClipShot", "mcsclip.html", "Compact Interface Cards", "cicardsandmacrosw.html", "Downloads", "../pages/downloads.html",
	"REG", 4, "Compatibility", "../cgi/compat.cgi",
		"Downloads", "../pages/downloads.html", "Current Product Manuals", "../cgi/manuals.cgi?task=current",
		"Legacy Product Manuals", "../cgi/manuals.cgi?task=legacy",
	"SPECIALS", 1, "JLCooper Online Order Center", "../cgi/jlcshop_ns.cgi?task=purch",
	"SOUNDCHEST", 1, "Brochures", "cat.html",
	"STORE", 1, "Factory Outlet", "../cgi/jlcshop_ns.cgi?task=specials",
	"SYNCHRO", 4, "Controllers", "controllers.html", "Interfaces & Synchronizers", "interfaces.html",
		"Downloads", "../pages/downloads.html", "Brochures", "cat.html",
	"UPHOTO", 1, "Product Photos", "javascript:gotoPhotoPage2();",
	"VIDEO", 2, "Controllers", "controllers.html", "Interfaces & Synchronizers", "interfaces.html",
	"VIDEOG", 3, "Product Photos", "javascript:gotoPhotoPage2();", "User Gallery", "../cgi/userphotos.cgi", "JLCooper Logos", "javascript:gotoPhotoPage4('images.html','LOGO');"
]

var linksArray;
var linksInited = 0;

function buildLinksArray ()
{
	linksArray = new Array;
	var offset = 0;
	var idx = 0;
	var len = relatedLinks.length;
	while (offset < len)
	{
		linksArray[idx++] = offset;
		var numlinks = relatedLinks[offset + 1];
		offset = offset + 2 + (numlinks * 2);
	}
	linksInited = 1;
}

// Downloads

// Related Links DB

var downloadLinks = [
	"EBOX", 2, "eBox Configuration Utility", "/downloads/products/eBox/eBoxConfigurationUtility.zip", "eBox GPI Programmer", "/c/files/eBox/eBox_GPI_Programmer.zip",
]

var downloadsArray;
var downloadsInited = 0;
var dldCcodeOffset = 0;
var dldCountOffset = 1;
var dldName1Offset = 2;
var dldFile1Offset = 3;

function buildDownloadsArray ()
{
	downloadsArray = new Array;
	var offset = 0;
	var idx = 0;
	var len = downloadLinks.length;
	while (offset < len)
	{
		downloadsArray[idx++] = offset;
		var numlinks = downloadLinks[offset + 1];
		offset = offset + dldName1Offset + (numlinks * 2);
	}
	downloadsInited = 1;
}

function getDownloads (inClassCode)
{
	if (!downloadsInited)
		buildDownloadsArray ();
	var found = 0;
	var offset = 0;
	for (var i = 0; i < downloadsArray.length; i++)
	{
		offset = downloadsArray[i];
		if (downloadLinks[offset] == inClassCode)
		{
			found = 1;
			break;
		}
	}
	if (found)
		return offset;
	return -1;
}

// Product DB

var productsInited = 0;
var prodDB;
var classOset = 0;
var pCodeOset = 1;
var nameOset = 2;
var detailOset = 3;
var priceOset = 4;
var familyOset = 5;
var shortNameOffset = 6;
var recordSize = 7;

var prodList = [
	"BUSALYZER", "BUSALYZER", "BusAlyzer", " Serial Communications Analyzer", 499.95, "BusAlyzer", "BusAlyzer",
	"CATALOG", " ", "Brochures", " ", 0, "Brochures", "Brochures",

	"CS10", "CS 10 MIDI", "CS-10<sup>2</sup> Control Station", " MIDI Version", 599.95, "CS-10<sup>2</sup> Control Station", "CS-10<sup>2</sup>",
	"CS10", "CS 10 RS232", "CS-10<sup>2</sup> Control Station", " RS-232 Version", 599.95, "CS-10<sup>2</sup> Control Station", "CS-10<sup>2</sup>",

	"CONTROLLERS", " ", "Controllers", " ", 0, "Controllers", "Controllers",

	"CS32SUP", " ", "CS-32 MiniDesk", " ", 0, "CS-32 MiniDesk", "CS-32",
	
	"DAFV", "DAFV 2", "DAFV 2", " Digital Audio Follows Video Interface", 599.95, "DAFV 2", "DAFV 2",
	
	"DATASYNC", "DATASYNC2", "dataSYNC<sup>2</sup>", " ADAT/SMPTE/MIDI Interface/Synchronizer", 199.95, "dataSYNC<sup>2</sup>", "dataSYNC<sup>2</sup>",

	"DEV", " ", "Developer", " ", 0, "Developer", "Developer",

	"EBOX", "eBOX", "eBOX - Quad Serial to Ethernet Interface", "", 849.95, "eBox", "eBox",
	"EBOXIO", "eBOXio", "eBOX io - Real World Interface I/O", "", 699.95, "eBox io", "eBox io",

	"ECLIPSE", "ECLIPSE", "Eclipse CX", " Integrated Colorist Command Station (Interface Card Required)", 6999.95, "Eclipse", "Eclipse CX",
	"ECLIPSE", "920394", "Ethernet Interface Card (920394)", " and Software for Mac OS X (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
	"ECLIPSE", "920466", "RS-232 Interface Card (920466)", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",

	"ECLIPSEBTXM", "ECLIPSEBTXM", "Eclipse BTX Midnight", " Primary Transport Controller (Interface Card Required)", 3899.95, "Eclipse", "Eclipse BTX Midnight",
	"ECLIPSEBTXM", "920394", "Ethernet Interface Card (920394)", " and Software for Mac OS X (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
	"ECLIPSEBTXM", "920466", "RS-232 Interface Card (920466)", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",

	"ECLIPSECXM", "ECLIPSEMID", "Eclipse CX Midnight", " Integrated Colorist Command Station (Black Finish - Interface Card Required)", 7199.95, "Eclipse", "Eclipse CX",
	"ECLIPSECXM", "920394", "Ethernet Interface Card (920394)", " and Software for Mac OS X (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
	"ECLIPSECXM", "920466", "RS-232 Interface Card (920466)", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",

	"ECLIPSEMX", "ECLIPSEMX", "Eclipse MX", " 8 Channel Expander/Controller", 2399.95, "Eclipse", "Eclipse MX",
	"ECLIPSEMX", "ECLIPSEMXSA", "Eclipse MX-SA", " 8 Channel Expander/Controller (Standalone Version - Compact Interface Card Required)", 2399.95, "Eclipse", "Eclipse MX-SA",
	"ECLIPSEMX", "920444-1", "RS-422 Compact Interface Card (920444-1)", " Works With Eclipse MX-SA and Eclipse MX-SA Midnight", 124.95, "Eclipse", "Compact 422 Card",
	"ECLIPSEMX", "920444-2", "RS-232 Compact Interface Card (920444-2)", " Works With Eclipse MX-SA and Eclipse MX-SA Midnight", 124.95, "Eclipse", "Compact 232 Card",
	"ECLIPSEMX", "920444-3", "USB Compact Interface Card (920444-3)", " Works With Eclipse MX-SA and Eclipse MX-SA Midnight", 124.95, "Eclipse", "Compact USB Card",
	"ECLIPSEMX", "920444-4", "Ethernet Compact Interface Card ( (920444-4)", " Works With Eclipse MX-SA and Eclipse MX-SA Midnight", 199.95, "Eclipse", "Compact Ethernet Card",
	"ECLIPSEMXM", "ECLIPSEMXMID", "Eclipse MX Midnight", " 8 Channel Expander/Controller (Black Finish)", 2499.95, "Eclipse", "Eclipse MX Midnight",
	"ECLIPSEMXM", "ECLIPSEMXSAMID", "Eclipse MX-SA Midnight", " 8 Channel Expander/Controller (Black Finish - Standalone Version - Compact Interface Card Required)", 2499.95, "Eclipse", "Eclipse MX-SA Midnight",
	"ECLIPSEMXM", "920444-1", "RS-422 Compact Interface Card (920444-1)", " Works With Eclipse MX-SA and Eclipse MX-SA Midnight", 124.95, "Eclipse", "Compact 422 Card",
	"ECLIPSEMXM", "920444-2", "RS-232 Compact Interface Card (920444-2)", " Works With Eclipse MX-SA and Eclipse MX-SA Midnight", 124.95, "Eclipse", "Compact 232 Card",
	"ECLIPSEMXM", "920444-3", "USB Compact Interface Card (920444-3)", " Works With Eclipse MX-SA and Eclipse MX-SA Midnight", 124.95, "Eclipse", "Compact USB Card",
	"ECLIPSEMXM", "920444-4", "Ethernet Compact Interface Card ( (920444-4)", " Works With Eclipse MX-SA and Eclipse MX-SA Midnight", 199.95, "Eclipse", "Compact Ethernet Card",

	"ECLIPSENX", "ECLIPSENX", "Eclipse NX Midnight", " Precision Trackball Controller (Black Finish)", 1499.95, "Eclipse", "Eclipse NX Midnight",

	"ECLIPSESX", "ECLIPSESX", "Eclipse SX Midnight", " Compact Color Control Surface (Black Finish - Interface Card Required)", 4499.95, "Eclipse", "Eclipse SX Midnight",
	"ECLIPSESX", "920465", "RS-422/9-PIN Interface Card (920465)", " (User Installed)", 199.95, "Eclipse", "Interface Cards",
	"ECLIPSESX", "920466", "RS-232 Interface Card (920466)", " (User Installed)", 199.95, "Eclipse", "Interface Cards",
	"ECLIPSESX", "920467", "USB Interface Card (920467)", " and Software for Mac/Windows (User Installed)", 199.95, "Eclipse", "Interface Cards",
	"ECLIPSESX", "920394", "Ethernet Interface Card (920394)", " (User Installed)", 299.95, "Eclipse", "Interface Cards",

	"ECLIPSETX", "ECLIPSETX", "Eclipse TX Midnight", " Compact Transport Controller (Black Finish - Optional Interface Card)", 1499.95, "Eclipse", "Eclipse TX Midnight",
	"ECLIPSETX", "920444-1", "RS-422 Compact Interface Card (920444-1)", " Works With Eclipse TX Midnight", 124.95, "Eclipse", "Compact 422 Card",
	"ECLIPSETX", "920444-2", "RS-232 Compact Interface Card (920444-2)", " Works With Eclipse TX Midnight", 124.95, "Eclipse", "Compact 232 Card",
	"ECLIPSETX", "920444-3", "USB Compact Interface Card (920444-3)", " Works With Eclipse TX Midnight", 124.95, "Eclipse", "Compact USB Card",
	"ECLIPSETX", "920444-4", "Ethernet Compact Interface Cardv (920444-4)", " Works With Eclipse TX Midnight", 199.95, "Eclipse", "Compact Ethernet Card",

//	"ECLIPSEBRDG", "ECLIPSEBRDG", "Eclipse Bridge", " Control Expander for Eclipse CX", 2399.95, "Eclipse", "Eclipse Bridge",
	"ECLIPSEBRDG", "ECLIPSEBRDGMID", "Eclipse Bridge Midnight", " Control Expander for Eclipse CX Midnight", 2199.95, "Eclipse", "Eclipse Bridge Midnight",

	"ECLIPSE24", "ECLIPSE24", "Eclipse 24 Midnight", " Tactile Command Palette (Black Finish - USB and Ethernet Built In - Additional Interface Card Optional)", 4999.95, "Eclipse", "Eclipse 24 Midnight",
	"ECLIPSE24", "920465", "RS-422/9-PIN Interface Card (920465)", " (User Installed)", 199.95, "Eclipse", "Interface Cards",
	"ECLIPSE24", "920466", "RS-232 Interface Card (920466)", " (User Installed)", 199.95, "Eclipse", "Interface Cards",

	"EDSUITE", " ", "Edit Suite Series", " ", 0, "Edit Suite Series", "Edit Suite",
	"ES450J", "ES450 J", "ES-450 J", " RS-422/9Pin Universal Jog/Shuttle Remote w/Sony Jog/Shuttle and LCD TC Display", 1199.95, "ES-450", "ES-450 J",
	"ES450J", "ES450 J2", "ES-450 J2", " RS-422/9Pin Universal 2 Channel Jog/Shuttle Remote w/Sony Jog/Shuttle and LCD TC Display", 1399.95, "ES-450", "ES-450 J2",
	"ES450J", "ES450 J4", "ES-450 J4", " RS-422/9Pin Universal 4 Channel Jog/Shuttle Remote w/Sony Jog/Shuttle and LCD TC Display", 1499.95, "ES-450", "ES-450 J4",
	"ES450J", "ES450 JE", "ES-450 Je", " Universal Ethernet Jog/Shuttle Remote w/Sony Jog/Shuttle and LCD TC Display", 1499.95, "ES-450", "ES-450 Je",
	"ES450SP", "ES450 SP", "ES-450 SP", " RS422/9Pin Universal Jog/Shuttle Remote w/Sony Jog/Shuttle and LCD TC Display", 1349.95, "ES-450", "ES-450 SP",
	"ES450SP", "ES450 SP2", "ES-450 SP2", " RS422/9Pin Universal 2 Channel Jog/Shuttle Remote w/Sony Jog/Shuttle and LCD TC Display", 1549.95, "ES-450", "ES-450 SP2",
	"ES450SP", "ES450 SP4", "ES-450 SP4", " RS422/9Pin Universal 4 Channel Jog/Shuttle Remote w/Sony Jog/Shuttle and LCD TC Display", 1649.95, "ES-450", "ES-450 SP4",
	"ES4100", "ES4100", "ES-4/100", " Motorized Fader Controller", 1199.95, "Edit Suite Series", "ES-4/100",
	"ES8100", "ES8100", "ES-8/100", " Motorized Fader Controller", 1999.95, "Edit Suite Series", "ES-8/100",
	"ESSLOMOJ", "ESSLOMOJ", "ES-SloMo J", " Universal RS-422 Instant Replay Controller", 1999.95, "ES-SloMo", "ES-SloMo",
	"ESSLOMOJ", "ESSLOMOJUSB", "ES-SloMo J", " Universal USB Instant Replay Controller", 1999.95, "ES-SloMo", "ES-SloMo",
	"ESSLOMO", "ESSLOMO", "ES-SloMo SP", " Universal RS-422 Instant Replay Controller", 2499.95, "ES-SloMo", "ES-SloMo",
	"ESSLOMO", "ESSLOMOUSB", "ES-SloMo SP", " Universal USB Instant Replay Controller", 2499.95, "ES-SloMo", "ES-SloMo",

//	"EVTS", " ", "Shows and Events", " ", 0, "Shows and Events", "Events",

	"GANGWAY16", "GANGWAY16", "Gangway 16", " 16 Port Gang Roll Switcher", 999.95, "Gangway 16", "Gangway 16",

	"GBOX", "GBOX", "gBox", " GP Mega Interface ", 799.95, "gBox", "gBox",

	"INTERF", " ", "Interfaces and Synchronizers", " ", 0, "Interfaces and Synchronizers", "Interfaces & Synchronizers",

	"LOGO", "LOGO", "JLCooper Logos", " ", 0, "JLCooper Logos", "JLCooper Logos",

	"MCS2FAM", " ", "Media Control Station 2", " ", 0, "Media Control Station 2", "MCS2",
	"MCS2FAM", "MCS2 MMC", "Media Control Station 2", " MIDI Version with MIDI Machine Control", 499.95, "Media Control Station 2", "MCS2",
	"MCS2FAM", "MCS2 RS232", "Media Control Station 2", " RS-232 Version with Software for Windows", 499.95, "Media Control Station 2", "MCS2",
	"MCS2FAM", "MCS2 RS422", "Media Control Station 2", " RS-422/9-PIN Version for VTR and DDR Control", 499.95, "Media Control Station 2", "MCS2",
	"MCS2FAM", "MCS2 USB", "Media Control Station 2", " USB Version with Software for Mac and Windows", 499.95, "Media Control Station 2", "MCS2",

	"MCS2MD", "MCS2 MMC", "Media Control Station 2", " MIDI Version with MIDI Machine Control", 499.95, "Media Control Station 2", "MCS2",
	"MCS2R2", "MCS2 RS232", "Media Control Station 2", " RS-232 Version with Software for Windows", 499.95, "Media Control Station 2", "MCS2",
	"MCS2R4", "MCS2 RS422", "Media Control Station 2", " RS-422/9-PIN Version for VTR and DDR Control", 499.95, "Media Control Station 2", "MCS2",
	"MCS2USB", "MCS2 USB", "Media Control Station 2", " USB Version with Software for Mac and Windows", 499.95, "Media Control Station 2", "MCS2",

	"MCS3", "MCS3", "Media Control Station<sup>3</sup>", "", 0, "Media Control Station<sup>3</sup>", "MCS<sup>3</sup>",
	"MCS3RS232", "MCS3 RS232", "Media Control Station<sup>3</sup>", " RS-232 Version with Software Disk for Windows 98/NT", 699.95, "Media Control Station<sup>3</sup>", "MCS<sup>3</sup> RS-232",
	"MCS3USB", "MCS3 USB", "Media Control Station<sup>3</sup>", " USB Version with Software CD for Mac and Windows 98/2000", 699.95, "Media Control Station<sup>3</sup>", "MCS<sup>3</sup> USB",
	"MCS3RS422", "MCS3 RS422", "Media Control Station<sup>3</sup>", " RS-422/9-PIN Version for VTR and DDR Control", 699.95, "Media Control Station<sup>3</sup>", "MCS<sup>3</sup> RS-422",
	"MCS3MIDI", "MCS3 MIDI", "Media Control Station<sup>3</sup>", " MIDI Version with MIDI Machine Control", 699.95, "Media Control Station<sup>3</sup>", "MCS<sup>3</sup> MIDI",
	"MCS3SP", "MCS3 SP", "Media Control Station<sup>3</sup>SP", " RS-422/9-PIN Version w/Sony Jog/Shuttle for AVID/VTR Control", 999.95, "Media Control Station<sup>3</sup>", "MCS<sup>3</sup>SP",
	"MCS3SPUSB", "MCS3 SP USB", "Media Control Station<sup>3</sup>SP", " USB Version w/Sony Jog/Shuttle for OSX/Final Cut Pro", 999.95, "Media Control Station<sup>3</sup>", "MCS<sup>3</sup>SP",
	"MCSLOC", "MCS LOC", "MCS Locator", " Video Cue Controller (Requires MCS 3 RS-422/9PIN - MCS-Joiner Included)", 299.95, "MCS Locator", "MCS Locator",
	"MCSPROTRACK", "MCS3 TRACKER", "MCS-Pro Tracker MIDI/MMC", "  MCS-Pro Series Track Arming Controller (Low Profile Version)", 599.95, "MCS ProTracker", "MCS ProTracker",

	"FDRMSTR", "FMPRO MIDI", "FaderMaster Pro", " MIDI Automation Controller", 799.95, "FaderMaster Professional", "FaderMaster Pro",
	"FM4100", "FM 4/100 MIDI", "FaderMaster Professional", " MIDI Motorized Automation Controller w/4 - 100mm Faders", 999.95, "FaderMaster 4/100", "FM 4/100",
	"FM4100", "FM 4/100 USB", "FaderMaster Professional", " USB Motorized Automation Controller w/4 - 100mm Faders", 999.95, "FaderMaster 4/100", "FM 4/100",
	"FM4100", "FM 4/100 RS232", "FaderMaster Professional", " RS-232 Motorized Automation Controller w/4 - 100mm Faders", 999.95, "FaderMaster 4/100", "FM 4/100",
	"FM4100", "FM 4/100 RS422", "FaderMaster Professional", " RS-422 Motorized Automation Controller w/4 - 100mm Faders", 999.95, "FaderMaster 4/100", "FM 4/100",

	"KEYSHOT", "KEYSHOT", "KeyShot", " Compact Desktop Control Palette", 1999.95, "KeyShot", "KeyShot",
	"KEYSHOT", "920444-1", "RS-422 Interface Card", " Works With KeyShot/RackShot/SharpShot", 124.95, "KeyShot", "Shotbox 422 Card",
	"KEYSHOT", "920444-2", "RS-232 Interface Card", " Works With KeyShot/RackShot/SharpShot", 124.95, "KeyShot", "Shotbox 232 Card",
	"KEYSHOT", "920444-3", "USB Interface Card", " Works With KeyShot/RackShot/SharpShot", 124.95, "KeyShot", "Shotbox USB Card",
	"KEYSHOT", "920444-4", "Ethernet Interface Card", " Works With KeyShot/RackShot/SharpShot", 199.95, "KeyShot", "Shotbox Ethernet Card",

	"MCS3kFAM", " ", "MCS-3000 Series", " ", 0, "MCS-3000 Series", "MCS-3000 Series",
	"MCS3kOPT", " ", "MCS-3000 Models and Expansion Options", " ", 0, "MCS-3000 Series", "MCS-3000 Options",
	"MCS3000", "MCS 3000", "MCS-3000 Media Command Station", " w/No Faders", 2399.95, "MCS-3000 Series", "MCS-3000",
	"MCS3000", "MCS 3000W", "MCS-3000 Media Command Station", " w/No Faders & Simulated Stone Wrist Rest", 2999.95, "MCS-3000 Series", "MCS-3000",
	"MCS3000", "920465", "RS-422/9-PIN Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3000", "920466", "RS-232 Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3000", "920355", "GPI Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3000", "920467", "USB Interface Card", " and Software for Mac/Windows (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3000", "920394", "Ethernet Interface Card", " (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
	"MCS3400", "MCS 3400", "MCS-3400 Media Command Station", " w/4 Faders", 2999.95, "MCS-3000 Series", "MCS-3400",
	"MCS3400", "MCS 3400W", "MCS-3400 Media Command Station", " w/4 Faders & Simulated Stone Wrist Rest", 3699.95, "MCS-3000 Series", "MCS-3400",
	"MCS3400", "920465", "RS-422/9-PIN Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3400", "920466", "RS-232 Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3400", "920355", "GPI Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3400", "920467", "USB Interface Card", " and Software for Mac/Windows (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3400", "920394", "Ethernet Interface Card", " (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
	"MCS3800", "MCS 3800", "MCS-3800 Media Command Station", " w/8 Faders", 3499.95, "MCS-3000 Series", "MCS-3800",
	"MCS3800", "MCS 3800W", "MCS-3800 Media Command Station", " w/8 Faders & Simulated Stone Wrist Rest", 4199.95, "MCS-3000 Series", "MCS-3800",
	"MCS3800", "920465", "RS-422/9-PIN Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3800", "920466", "RS-232 Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3800", "920355", "GPI Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3800", "920467", "USB Interface Card", " and Software for Mac/Windows (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3800", "920394", "Ethernet Interface Card", " (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
	"MCS3800L", "MCS 3800L", "MCS-3800L Media Command Station", " w/8 Faders", 4499.95, "MCS-3000 Series", "MCS-3800L",
	"MCS3800L", "MCS 3800LW", "MCS-3800Lw Media Command Station", " w/8 Faders & Simulated Stone Wrist Rest", 5199.95, "MCS-3000 Series", "MCS-3800L",
	"MCS3000X", "MCS 3000X", "MCS-3000x Media Command Station", " 8 Channel Fader Expander/Controller", 2299.95, "MCS-3000 Series", "MCS-3000x",
	"MCS3000X", "MCS 3000XW", "MCS-3000xw Media Command Station", " 8 Channel Fader Expander/Controller & Simulated Stone Wrist Rest", 2799.95, "MCS-3000 Series", "MCS-3000xw",
	"MCS3000XL", "MCS 3000XL", "MCS-3000 XL Media Command Station", " 8 Channel Fader Expander/Controller", 3299.95, "MCS-3000 Series", "MCS-3000 XL",
	"MCS3000XL", "MCS 3000XLW", "MCS-3000 XLw Media Command Station", " 8 Channel Fader Expander/Controller & Simulated Stone Wrist Rest", 3799.95, "MCS-3000 Series", "MCS-3000 XLw",
	"MCS3000XL", "MCS 3000XLSA", "MCS-3000 XL Media Command Station", " 8 Channel Fader Expander/Controller (Stand Alone - Requires Compact Interface Card)", 3299.95, "MCS-3000 Series", "MCS-3000 XL",
	"MCS3000XL", "MCS 3000XLSAW", "MCS-3000 XLw Media Command Station", " 8 Channel Fader Expander/Controller & Simulated Stone Wrist Rest (Stand Alone - Requires Compact Interface Card)", 3799.95, "MCS-3000 Series", "MCS-3000 XLw",
	"MCS3000XL", "920465", "RS-422/9-PIN Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3000XL", "920466", "RS-232 Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3000XL", "920467", "USB Interface Card", " and Software for Mac/Windows (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCS3000XL", "920394", "Ethernet Interface Card", " (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
	"MCSCLIP", "MCS CLIP", "MCS-ClipShot", " Tactile Switch Palette (Interface Card Required)", 6499.95, "MCS-3000 Series", "MCS-ClipShot",
	"MCSCLIP", "MCS CLIPW", "MCS-ClipShot/w", " Tactile Switch Palette & Simulated Stone Wrist Rest (Interface Card Required)", 6999.95, "MCS-3000 Series", "MCS-ClipShot",
	"MCSCLIP", "920465", "RS-422/9-PIN Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSCLIP", "920466", "RS-232 Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSCLIP", "920355", "GPI Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSCLIP", "920467", "USB Interface Card", " and Software for Mac/Windows (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSCLIP", "920394", "Ethernet Interface Card", " (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
	"MCSCLIP24", "MCS CLIP24", "MCS-Clip24 RGB", " Tactile Switch Palette (Interface Card Required)", 3999.95, "MCS-3000 Series", "MCS-Clip24 RGB",
	"MCSCLIP24", "MCS CLIP24W", "MCS-Clip24 RGB/w", " Tactile Switch Palette & Simulated Stone Wrist Rest (Interface Card Required)", 4499.95, "MCS-3000 Series", "MCS-Clip24 RGB",
	"MCSNAV", "MCS NAV", "MCS-Navigator", " Precision Trackball Controller", 999.95, "MCS-3000 Series", "MCS-Navigator",
	"MCSNAV", "MCS NAVW", "MCS-Navigator/w", " Precision Trackball Controller & Simulated Stone Wrist Rest", 1499.95, "MCS-3000 Series", "MCS-Navigator",
	"MCSQSHOT", "MCS QSHOT", "MCS-QuickShot", " Tactile Command Palette (Interface Card Required)", 1999.95, "MCS-3000 Series", "MCS-QuickShot",
	"MCSQSHOT", "MCS QSHOTW", "MCS-QuickShot/w", " Tactile Command Palette & Simulated Stone Wrist Rest (Interface Card Required)", 2499.95, "MCS-3000 Series", "MCS-QuickShot",
	"MCSQSHOT", "920465", "RS-422/9-PIN Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSQSHOT", "920466", "RS-232 Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSQSHOT", "920355", "GPI Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSQSHOT", "920467", "USB Interface Card", " and Software for Mac/Windows (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSQSHOT", "920394", "Ethernet Interface Card", " (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
	"MCSSPECT", "MCS SPECTRUM", "MCS-Spectrum", " Colorist Control Station (Interface Card Required)", 3199.95, "MCS-3000 Series", "MCS-Spectrum",
	"MCSSPECT", "MCS SPECTRUMW", "MCS-Spectrum/w", " Colorist Control Station & Simulated Stone Wrist Rest (Interface Card Required)", 3699.95, "MCS-3000 Series", "MCS-Spectrum",
	"MCSSPECT", "920465", "RS-422/9-PIN Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSSPECT", "920466", "RS-232 Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSSPECT", "920355", "GPI Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSSPECT", "920467", "USB Interface Card", " and Software for Mac/Windows (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSSPECT", "920394", "Ethernet Interface Card", " (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
	"MCSBRIDGE", "MCS BRIDGE", "MCS-Bridge", " 8 Channel Display/Encoder", 999.95, "MCS-3000 Series", "MCS-Bridge",
	"MCSBRIDGEVF4", "MCS BRIDGEVF4", "MCS-Bridge VF-4", " Fader Expander/Controller", 1999.95, "MCS-3000 Series", "MCS-Bridge VF-4",
	"MCSPAN", "MCS PAN", "MCS-Panner", " 3 Axis Joystick - Surround Panning Unit", 1499.95, "MCS-3000 Series", "MCS-Panner",
	"MCSPAN", "MCS PANW", "MCS-Panner/w", " 3 Axis Joystick - Surround Panning Unit & Simulated Stone Wrist Rest", 1999.95, "MCS-3000 Series", "MCS-Panner",
	"MCSPAN", "MCS PAN ADAPT", "MCS-Panner MIDI Adapter", " Stand Alone MIDI Adapter for using MCS-Panner with WR-DA7 02R TM-D8000 & Others", 49.95, "MCS-3000 Series", "MCS-Panner MIDI Adaptor",
	"MCSORB", "MCS ORBIT", "MCS-Orbiter", " Touch-Sensitive - Motorized Joystick Controller", 1999.95, "MCS-3000 Series", "MCS-Orbiter",
	"MCSORB", "MCS ORBITW", "MCS-Orbiter/w", " Touch-Sensitive - Motorized Joystick Controller & Simulated Stone Wrist Rest", 2499.95, "MCS-3000 Series", "MCS-Orbiter",
	"MCSORB", "MCS ORBIT ADAPT", "MCS-Orbiter", " Stand Alone MIDI Adapter for use with MCS-Orbiter", 49.95, "MCS-3000 Series", "MCS-Orbiter MIDI Adaptor",
	"MCSWIPER", "MCS WIPER", "MCS-Wiper", " Transition Controller", 999.95, "MCS-3000 Series", "MCS-Wiper",
	"MCSWIPER", "MCS WIPERW", "MCS-Wiper/w", " Transition Control Module & Simulated Stone Wrist Rest", 1299.95, "MCS-3000 Series", "MCS-Wiper",
	"MCSTRKR", "MCS TRACKER", "MCS-Tracker 3000", " Track Arming Controller", 499.95, "MCS-3000 Series", "MCS-Tracker 3000",
	"MCSTRKR", "MCS TRACKERW", "MCS-Tracker 3000/w", " Track Arming Controller & Simulated Stone Wrist Rest", 999.95, "MCS-3000 Series", "MCS-Tracker 3000",
	"MCSTRANS", "MCSTRANSJ", "MCS-Transport J", " Jog/Shuttle Remote w/JLCooper Mechanism", 799.95, "MCS-3000 Series", "MCS-Transport",
	"MCSTRANS", "MCSTRANSJW", "MCS-Transport J/w", " Jog/Shuttle Remote w/JLCooper Mechanism & Simulated Stone Wrist Rest", 1199.95, "MCS-3000 Series", "MCS-Transport",
	"MCSTRANS", "MCSTRANSSP", "MCS-Transport SP", " Jog/Shuttle Remote w/VTR style Mechanism", 999.95, "MCS-3000 Series", "MCS-Transport",
	"MCSTRANS", "MCSTRANSSPW", "MCS-Transport SP/w", " Jog/Shuttle Remote w/VTR style Mechanism & Simulated Stone Wrist Rest", 1499.95, "MCS-3000 Series", "MCS-Transport",
	
	"MCSCARDS", "920465", "RS-422/9-PIN Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSCARDS", "920466", "RS-232 Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSCARDS", "920355", "GPI Interface Card", " (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSCARDS", "920467", "USB Interface Card", " and Software for Mac/Windows (User Installed)", 199.95, "MCS-3000 Series", "Interface Cards",
	"MCSCARDS", "920394", "Ethernet Interface Card", " (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",
//	"MCSCARDS", "920353", "Four Machine RS-422/9-PIN Interface Card", " with 1m Cable (User Installed)", 299.95, "MCS-3000 Series", "Interface Cards",

	"MCSPRO", " ", "MCS-Pro Series", " ", 0, "MCS-Pro Series", "MCS-Pro Series",

	"MLA", "MLA1", "MLA-1 - MIDI Line Amplifier", " Panel Mount Version 4 Inputs 4 Outputs", 499.95, "MIDI Line Amplifiers", "MLA",
	"MLA", "MLA10", "MLA-10 - MIDI Line Amplifier", " Rack Mount Version 4 Inputs 4 Outputs", 799.95, "MIDI Line Amplifiers", "MLA",
	"MLA", "MLAXLR", "MLA-XLR - MIDI Line Amplifier", " XLR Version 1 Input 1 Output", 349.95, "MIDI Line Amplifiers", "MLA",

	"MMC9", "MMC9 PLUS", "MMC/9PIN+ Converter", " MIDI Machine Control to RS-422/Sony 9-Pin Converter", 599.95, "MMC/9PIN+ Converter", "MMC/9PIN+",

	"NEWS", " ", "News", " ", 0, "News", "News",

	"NINEMMC", "9PIN/MMC", "9PIN/MMC", " RS-422/9PIN/P2 to MIDI Machine Control Interface", 599.95, "9PIN/MMC Converter", "9PIN/MMC",

	"OEM", " ", "OEM Services", " ", 0, "OEM Services", "OEM",

	"PPS2", "PPS2", "PPS-2", " SMPTE/Smart FSK/MIDI Synchronizer (includes PPS-2 Plus Option)", 349.95, "PPS-2", "PPS-2",

	"PRESS", " ", "Press", " ", 0, "Press", "Press",

	"RACKSHOT", "RACKSHOT", "RackShot", " Rackmount Control Palette (Requires Interface Card)", 1999.95, "RackShot", "RackShot",
	"RACKSHOT", "920444-1", "RS-422 Interface Card", " Works With KeyShot/RackShot/SharpShot", 124.95, "RackShot", "Shotbox 422 Card",
	"RACKSHOT", "920444-2", "RS-232 Interface Card", " Works With KeyShot/RackShot/SharpShot", 124.95, "RackShot", "Shotbox 232 Card",
	"RACKSHOT", "920444-3", "USB Interface Card", " Works With KeyShot/RackShot/SharpShot", 124.95, "RackShot", "Shotbox USB Card",
	"RACKSHOT", "920444-4", "Ethernet Interface Card", " Works With KeyShot/RackShot/SharpShot", 199.95, "RackShot", "Shotbox Ethernet Card",

	"SHARPSHOT", "SHARPSHOT", "SharpShot", " Rackmount Control Palette (Requires Interface Card)", 1499.95, "SharpShot", "SharpShot",
	"SHARPSHOT", "920444-1", "RS-422 Interface Card", " Works With KeyShot/RackShot/SharpShot", 124.95, "SharpShot", "Shotbox 422 Card",
	"SHARPSHOT", "920444-2", "RS-232 Interface Card", " Works With KeyShot/RackShot/SharpShot", 124.95, "SharpShot", "Shotbox 232 Card",
	"SHARPSHOT", "920444-3", "USB Interface Card", " Works With KeyShot/RackShot/SharpShot", 124.95, "SharpShot", "Shotbox USB Card",
	"SHARPSHOT", "920444-4", "Ethernet Interface Card", " Works With KeyShot/RackShot/SharpShot", 199.95, "SharpShot", "Shotbox Ethernet Card",

	"SOUNDCHEST", "SOUNDCHEST", "SoundChest III", " ", 1499.95, "SoundChest III", "SoundChest III",
	"SYNCHRO", " ", "Synchronizers", " ", 0, "Synchronizers", "Synchronizers"
]

function initProdDB ()
{
	prodDB = new Array ();
	var oset = 0;
	var done = 0;
	var classCtr = 0;
	var lastClassCode;
	var len = prodList.length;
	while (!done)
	{
		prodDB[classCtr++] = oset;
		lastClassCode = prodList[oset];
		oset += recordSize;
		if (oset >= len)
			done = 1;
		else
		{
			while (lastClassCode == prodList[oset] && !done)
			{
				oset += recordSize;
				if (oset >= len)
					done = 1;
			}
		}
	}
	
	productsInited = 1;
}

function getOffsetForClass (inClassCode)
{
	if (!productsInited)
		initProdDB ();
	var offset = 0;
	for (var i = 0; i < prodDB.length; i++)
	{
		offset = prodDB[i];
		if (prodList[offset] == inClassCode)
			break;
	}
	return offset;
}

function getNameForClass (inClassCode)
{
	var oset = getOffsetForClass (inClassCode);
	return prodList[oset + nameOset];
}

function getShortNameForClass (inClassCode)
{
	var oset = getOffsetForClass (inClassCode);
	return prodList[oset + shortNameOffset];
}

var manualRecSize = 4;
var manualSizeOffset = 1;
var manualFileOffset = 2;
var manualNameOffset = 3;
var manual_list = [
	"BUSALYZER", "2M", "BusAlyzer_User_Manual.pdf", "",
	"CICARDS", "71k", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"CS10", "967K", "CS-10_2_User_Manual.pdf", "",
	"CS32SUP", "1.1M", "CS-32_User_Manual.pdf", "",
	"DAFV", "194K", "DAFV2_User_Manual.pdf", "",
	"DATASYNC", "440K", "dataSYNC2_User_Manual_with_addendum.pdf", "",
	"EBOX", "390K", "eBox_User_Manual.pdf", "",
	"EBOXIO", "508K", "eBox_IO_Users_Manual.pdf", "",
	"ECLIPSE", "592K", "Eclipse_CX_User_Manual.pdf", "Eclipse CX User Manual",
	"ECLIPSECXM", "492K", "Eclipse_CX_Midnight_User_Manual.pdf", "Eclipse CX Midnight User Manual",
	"ECLIPSESW", "5.5M", "Eclipse_Ethernet_Software_2.0.pdf", "Eclipse Ethernet Software 2.0 Manual",
	"ECLIPSEMX", "71K", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"ECLIPSEMXM", "280K", "Eclipse_MX_Midnight_Users_Manual.pdf", "Eclipse MX Midnight Users Manual",
	"ECLIPSESX", "571K", "Eclipse_SX_Midnight_User_Manual.pdf", "Eclipse SX Midnight User Manual",
	"ECLIPSETX", "610K", "Eclipse_TX_Users_Manual.pdf", "Eclipse TX Midnight User Manual",
	"ES4100", "752K", "ES_4-100_and_ES_8-100_MIDI_User_Manual.pdf", "ES 4/100 and ES 8/100 MIDI User Manual",
	"ES8100", "752K", "ES_4-100_and_ES_8-100_MIDI_User_Manual.pdf", "ES 4/100 and ES 8/100 MIDI User Manual",
	"ES450", "723K", "ES-450_User_Manual.pdf", "ES/450 User Manual",
	"ES450J", "296K", "ES-450J_User_Manual.pdf", "ES/450J User Manual",
	"ES450SP", "312K", "ES-450SP_User_Manual.pdf", "ES/450SP User Manual",
	"ES450SPUSB", "353K", "ES-450SP_USB_User_Manual.pdf", "ES/450SP USB User Manual",
	"ES450JUSB", "342K", "ES-450J_USB_User_Manual.pdf", "ES/450J USB User Manual",
	"ES450JE", "1133K", "ES-450JE_User_Manual.pdf", "ES/450JE User Manual",
	"ESSLOMO", "548K", "ES-SloMo_User_Manual.pdf", "",
	"FDRMSTR", "330K", "FaderMaster_Pro_User_Manual.pdf", "",
	"FM4100", "528K", "FaderMaster_4-100_MIDI_Users_Manual.pdf", "FaderMaster 4/100 MIDI Users Manual",
	"FM4100232", "516K", "FaderMaster_4-100_RS232_Users_Manual.pdf", "FaderMaster 4/100 RS232 Users Manual",
	"FM4100422", "552K", "FaderMaster_4-100_RS422_Users_Manual.pdf", "FaderMaster 4/100 RS422 Users Manual",
	"FM4100U", "1.2M", "FaderMaster_4-100_USB_Users_Manual.pdf", "FaderMaster 4/100 USB Users Manual",
	"GANGWAY16", "648K", "Gangway16_User_Manual.pdf", "",
	"INTFCOMPAT", "71k", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"KEYSHOT", "555K", "KeyShot_RackShot_User_Manual.pdf", "KeyShot RackShot User Manual",
	"MCS2MD", "152K", "MCS2_MIDI_User_Manual.pdf", "",
	"MCS2R4", "136K", "MCS2_9-Pin_User_Manual.pdf", "",
	"MCS39PIN", "180K", "MCS3_9_Pin_User_Manual.pdf", "MCS3 RS-422/9-Pin User Manual",
	"MCS3RS232", "456K", "MCS3_USB_&_RS232_for_Windows_User_Manual.pdf", "MCS3 USB & RS232 for Windows User Manual",
	"MCS3RS422", "180K", "MCS3_9_Pin_User_Manual.pdf", "MCS3 RS-422/9 Pin User Manual",
	"MCS3MIDI", "184K", "MCS3_MIDI_User_Manual.pdf", "MCS3 MIDI User Manual",
	"MCS3USBWIN", "450K", "MCS3_USB_&_RS232_for_Windows_User_Manual.pdf", "MCS3 USB & RS232 for Windows User Manual",
	"MCS3USBOS9", "560K", "MCS3_USB_for_MacOS_9_User_Manual.pdf", "MCS3 USB for Mac OS 9&#153; User Manual",
	"MCS3USBOSX Midnight", "1.1M", "MCS3_USB_for_MacOS_X_User_Manual.pdf", "MCS3 USB for Mac OS X&#153; User Manual",
	"MCS3S", "107K", "MCS3S_User_Manual.pdf", "MCS3s User Manual",
	"MCS3SP", "504K", "MCS3-SP-RS422_User_Manual.pdf", "MCS3SP RS-422 User Manual",
	"MCS3SPUSB", "211K", "MCS3SP-USB_User_Manual.pdf", "MCS3SP-USB User Manual",
	"MCS3SPUSBOSX Midnight", "741K", "MCS3_SP_USB_for_Mac_OS_X.pdf", "MCS3 SP USB for Mac OS X&#153;",
	"MCSLOC", "138K", "MCS-Locator_User_Manual.pdf", "",
	"MCS3000", "546K", "MCS-3800_3400_3000_3000x_User_Manual.pdf", "",
	"MCS3kETHCARD", "128K", "MCS-Ethernet_Interface_User_Manual.pdf", "MCS-Ethernet Interface User Manual",
	"MCS3kFAM", "546K", "MCS-3800_3400_3000_3000x_User_Manual.pdf", "",
	"MCS3kOPT", "546K", "MCS-3800_3400_3000_3000x_User_Manual.pdf", "",
	"MCS3400", "546K", "MCS-3800_3400_3000_3000x_User_Manual.pdf", "",
	"MCS3800", "546K", "MCS-3800_3400_3000_3000x_User_Manual.pdf", "",
	"MCS3000X", "546K", "MCS-3800_3400_3000_3000x_User_Manual.pdf", "",
	"MCS3000XAVID", "107k", "MCS-3000x_for_Avid.pdf", "MCS-3000x for Avid Manual",
	"MCS3800L", "71k", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"MCSCARDS", "174K", "MCS_Interface_Card_Pinouts.pdf", "MCS Interface Card Pinout Manual",
	"MCSCLIP", "364K", "MCS-ClipShot_User_Manual.pdf", "MCS-Clipshot User Manual",
	"MCSCLIP24", "71k", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"MCSPAN", "71k", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"MCSNAV", "71k", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"MCSQSHOT", "71k", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"MCSSPECT", "380K", "MCS-Spectrum_User_Manual.pdf", "MCS-Spectrum User Manual",
	"MCSTRANS", "71k", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"MCSTRKR", "71k", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"MCSWIPER", "71k", "Interface_Card_and_Peripheral_Compatibility_Guide.pdf", "Interface Card and Peripheral Compatibility Guide",
	"MLA", "134K", "MLA-1_and_MLA-10_Installation_Manual.pdf", "MLA-1 and MLA-10 Installation Manual",
	"MLAXLR", "839", "MLA-XLR_User_Manual.pdf", "MLA-XLR User Manual",
	"EBOX", "390K", "eBox_User_Manual.pdf", "",
	"MMC9", "95K", "MMC-9pin+_User_Manual.pdf", "",
	"NINEMMC", "237K", "9pin-MMC_User_Manual.pdf", "",
	"PPS2", "29.1K", "PPS-2_Manual.pdf", "",
	"RACKSHOT", "555K", "KeyShot_RackShot_User_Manual.pdf", "KeyShot RackShot User Manual"
];

function getManualName (inClassCode)
{
	var manualName = "";
	var len = manual_list.length;
	for (var i = 0; i < len; i += manualRecSize)
	{
		if (manual_list[i] == inClassCode)
		{
			manualName = manual_list[i + manualNameOffset];
			break;
		}
	}
	if (!manualName || (manualName == null))
	{
		var offset = getOffsetForClass (inClassCode);
		if (offset != null)
		{
			manualName = prodList[offset + familyOset] + " Manual";
		}
	}
	return manualName;
}

function getManualFileName (inClassCode)
{
	var fileName = "";
	var len = manual_list.length;
	for (var i = 0; i < len; i += manualRecSize)
	{
		if (manual_list[i] == inClassCode)
		{
			fileName = manual_list[i + manualFileOffset];
			break;
		}
	}
	return fileName;
}

function getManualFileSize (inClassCode)
{
	var fileSize = "";
	var len = manual_list.length;
	for (var i = 0; i < len; i += manualRecSize)
	{
		if (manual_list[i] == inClassCode)
		{
			fileSize = manual_list[i + manualSizeOffset];
			break;
		}
	}
	return fileSize;
}

/*
MLA-XLR User Manual.pdf
PPS-2 User Manual.pdf
MMC-9pin+ User Manual.pdf
MLA-1 and MLA-10 Installation Manual.pdf
MCS3S User Manual.pdf
MCS3P User Manual.pdf
MCS3 USB for Macintosh User Manual.pdf
MCS3 USB & RS232 for Windows User Manual.pdf
MCS3 MIDI User Manual.pdf
MCS3 9 Pin User Manual.pdf

MCS-3000 Pro Tools Addendum.pdf
index.html
FaderMaster Pro User Manual.pdf
FaderMaster 4-100 MIDI User Manual.pdf

DAFV2 User Manual.pdf
CS-32_Software_Guide.pdf
9pin-MMC User Manual.pdf
eBox User Manual.pdf
*/

var unavailableProducts =
[
	"MCS2USB", "SOUNDCHEST", "ECLIPSE", "BRIDGECX", "MCS3800L"
]

function notCurrentlyAvailable (inCCode)
{
	var notAvail = 0;
	var len = unavailableProducts.length;
	for (var i = 0; i < len; i++)
	{
		if (inCCode == unavailableProducts[i])
		{
			notAvail = 1;
			break;
		}
	}
	return notAvail;
}
