var hide_empty_list=true;

// THIS IS A 3 LEVEL SELECTOR.

//LEVEL 1
addListGroup("manuals", "range");
//begin range selects - this is the drop down that contains the ranges
addList("range", "---", "", "dummy-range");
addList("range", "DB", "DB", "DB");
addList("range", "DL", "DL", "DL");
addList("range", "DV", "DV", "DV");


// LEVEL 2
// begin model selects - this is the drop down that contains the model numbers for the above selected range
//FIRST FIELD IS THE CODE THAT PRECEEDS THE MODEL NUMBER (MATCHES LEVEL 1).SECOND FIELD IS MODEL NUMBER AS DISPLAYED ON WEB PAGE. THIRD IS ACTUAL MODEL NUMBER FOR POSTING TO PROCESSOR. FOURTH IS MODEL NUMBER FOR MATCHING WITH SCREENSIZE SELECTOR.

// for DB models and derivatives
addList("dummy-range", "---", "", "dummy-DB");
addOption("dummy-DB", "---", "");
addList("DB", "---", "", "dummy-DB");
addList("DB", "DB833", "DB833", "DB833");

// for DL models and derivatives
addList("dummy-range", "---", "", "dummy-DL");
addOption("dummy-DL", "---", "");
addList("DL", "---", "", "dummy-DL");
addList("DL", "DL502", "DL502", "DL502");
addList("DL", "DL833", "DL833", "DL833");
addList("DL", "DL834", "DL834", "DL834");

// for DV models and derivatives
addList("dummy-range", "---", "", "dummy-DV");
addOption("dummy-DV", "---", "");
addList("DV", "---", "", "dummy-DV");
addList("DV", "DV500", "DV500", "DV500");
addList("DV", "DV501", "DV501", "DV501");
addList("DV", "DV502", "DV502", "DV502");
addList("DV", "DV504", "DV504", "DV504");
addList("DV", "DV555", "DV555", "DV555");
addList("DV", "DV615", "DV615", "DV615");
addList("DV", "DV665", "DV665", "DV665");
addList("DV", "DV703", "DV703", "DV703");
addList("DV", "DV704", "DV704", "DV704");
addList("DV", "DV713", "DV713", "DV713");
addList("DV", "DV714", "DV714", "DV714");
addList("DV", "DV733", "DV733", "DV733");
addList("DV", "DV734", "DV734", "DV734");


// LEVEL 3
// begin screensize selects - this is the drop down that contains screensizes for the selected model. FIRST FIELD MATCHES UP WITH LEVEL 2. SECOND FIELD IS WEB PAGE DISPLAY. THIRD FIELD IS SENT TO PROCESSOR.

// for DB833 models and derivatives, linked to model selects
addOption("DB833", "32", "3242");
addOption("DB833", "42", "3242");

// for DL502 models and derivatives, linked to model selects
addOption("DL502", "19", "19");
addOption("DL502", "22", "22");



// for DL833 models and derivatives, linked to model selects
addOption("DL833", "19", "1922");
addOption("DL833", "22", "1922");
addOption("DL833", "26", "26");
addOption("DL833", "32", "32");

// for DL834 models and derivatives, linked to model selects
addOption("DL834", "19", "1922");
addOption("DL834", "22", "1922");
addOption("DL834", "26", "26");

// for DV500 models and derivatives, linked to model selects
addOption("DV500", "19", "1922");
addOption("DV500", "22", "1922");

// for DV501 models and derivatives, linked to model selects
addOption("DV501", "19", "19");
addOption("DV501", "22", "22");
addOption("DV501", "32", "32");

// for DV502 models and derivatives, linked to model selects
addOption("DV502", "32", "32");

// for DV504 models and derivatives, linked to model selects
addOption("DV504", "32", "32");

// for DV555 models and derivatives, linked to model selects
addOption("DV555", "19", "1922");
addOption("DV555", "22", "1922");

// for DV615 models and derivatives, linked to model selects
addOption("DV615", "19", "192226");
addOption("DV615", "22", "192226");
addOption("DV615", "26", "192226");

// for DV665 models and derivatives, linked to model selects
addOption("DV665", "19", "192226");
addOption("DV665", "22", "192226");
addOption("DV665", "26", "192226");

// for DV703 models and derivatives, linked to model selects
addOption("DV703", "15", "1519222632");
addOption("DV703", "19", "1519222632");
addOption("DV703", "22", "1519222632");
addOption("DV703", "26", "1519222632");
addOption("DV703", "32", "1519222632");

// for DV704 models and derivatives, linked to model selects
addOption("DV704", "19", "1922");
addOption("DV704", "22", "1922");

// for DV713 models and derivatives, linked to model selects
addOption("DV713", "19", "19222632");
addOption("DV713", "22", "19222632");
addOption("DV713", "26", "19222632");
addOption("DV713", "32", "19222632");

// for DV14 models and derivatives, linked to model selects
addOption("DV714", "19", "1922");
addOption("DV714", "22", "1922");

// for DV733 models and derivatives, linked to model selects
addOption("DV733", "19", "192226");
addOption("DV733", "22", "192226");
addOption("DV733", "26", "192226");

// for DV734 models and derivatives, linked to model selects
addOption("DV734", "19", "192226");
addOption("DV734", "22", "192226");
addOption("DV734", "26", "192226");
