//var aList = new Array() ; var areaList = new Array() ; var stageList = new Array() ; areaList.push(new ddList(39, 'ACRP 1: Administration (ACRP)', 1)) ; areaList.push(new ddList(48, 'ACRP 10: Operations (ACRP)', 1)) ; areaList.push(new ddList(49, 'ACRP 11: Special Projects (ACRP)', 1)) ; areaList.push(new ddList(40, 'ACRP 2: Environment (ACRP)', 1)) ; areaList.push(new ddList(41, 'ACRP 3: Policy and Planning (ACRP)', 1)) ; areaList.push(new ddList(42, 'ACRP 4: Safety (ACRP)', 1)) ; areaList.push(new ddList(43, 'ACRP 5: Security (ACRP)', 1)) ; areaList.push(new ddList(44, 'ACRP 6: Human Resources (ACRP)', 1)) ; areaList.push(new ddList(45, 'ACRP 7: Design (ACRP)', 1)) ; areaList.push(new ddList(46, 'ACRP 8: Construction (ACRP)', 1)) ; areaList.push(new ddList(47, 'ACRP 9: Maintenance (ACRP)', 1)) ; areaList.push(new ddList(66, 'Administration (ACRP Synthesis)', 8)) ; areaList.push(new ddList(64, 'Administration (TCRP Synthesis)', 10)) ; areaList.push(new ddList(33, 'Administration (TCRP)', 4)) ; areaList.push(new ddList(112, 'Administration (NCRRP)', 18)) ; areaList.push(new ddList(89, 'Bituminous Materials (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(9, 'Bituminous Materials (NCHRP)', 3)) ; areaList.push(new ddList(12, 'Bridges (NCHRP)', 3)) ; areaList.push(new ddList(92, 'Bridges (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(80, 'Capacity (SHRP 2)', 7)) ; areaList.push(new ddList(98, 'Concrete Materials (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(18, 'Concrete Materials (NCHRP)', 3)) ; areaList.push(new ddList(73, 'Construction (ACRP Synthesis)', 8)) ; areaList.push(new ddList(115, 'Construction (NCRRP)', 18)) ; areaList.push(new ddList(72, 'Design (ACRP Synthesis)', 8)) ; areaList.push(new ddList(2, 'Economics (NCHRP)', 3)) ; areaList.push(new ddList(82, 'Economics (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(114, 'Engineering of Fixed Facilities (NCRRP)', 18)) ; areaList.push(new ddList(30, 'Engineering of Fixed Facilities (TCRP)', 4)) ; areaList.push(new ddList(53, 'Engineering of Fixed Facilities (TCRP Synthesis)', 10)) ; areaList.push(new ddList(113, 'Engineering of Rolling Stock (NCRRP)', 18)) ; areaList.push(new ddList(54, 'Engineering of Vehicles and Equipment (TCRP Synthesis)', 10)) ; areaList.push(new ddList(29, 'Engineering of Vehicles and Equipment (TCRP)', 4)) ; areaList.push(new ddList(67, 'Environment (ACRP Synthesis)', 8)) ; areaList.push(new ddList(107, 'Environmental (NCRRP)', 18)) ; areaList.push(new ddList(93, 'Equipment (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(13, 'Equipment (NCHRP)', 3)) ; areaList.push(new ddList(19, 'Finance (NCHRP)', 3)) ; areaList.push(new ddList(99, 'Finance (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(88, 'Forecasting (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(8, 'Forecasting (NCHRP)', 3)) ; areaList.push(new ddList(15, 'General Design (NCHRP)', 3)) ; areaList.push(new ddList(95, 'General Design (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(84, 'General Materials (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(4, 'General Materials (NCHRP)', 3)) ; areaList.push(new ddList(32, 'Human Resources (TCRP)', 4)) ; areaList.push(new ddList(71, 'Human Resources (ACRP Synthesis)', 8)) ; areaList.push(new ddList(55, 'Human Resources (TCRP Synthesis)', 10)) ; areaList.push(new ddList(111, 'Human Resources (NCRRP)', 18)) ; areaList.push(new ddList(85, 'Illumination and Visibility (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(5, 'Illumination and Visibility (NCHRP)', 3)) ; areaList.push(new ddList(25, 'Impact Analysis (NCHRP)', 3)) ; areaList.push(new ddList(105, 'Impact Analysis (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(91, 'Law (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(11, 'Law (NCHRP)', 3)) ; areaList.push(new ddList(31, 'Maintenance (TCRP)', 4)) ; areaList.push(new ddList(65, 'Maintenance (TCRP Synthesis)', 10)) ; areaList.push(new ddList(74, 'Maintenance (ACRP Synthesis)', 8)) ; areaList.push(new ddList(116, 'Maintenance (NCRRP)', 18)) ; areaList.push(new ddList(94, 'Maintenance of Way and Structures (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(14, 'Maintenance of Way and Structures (NCHRP)', 3)) ; areaList.push(new ddList(24, 'Mechanics and Foundations (NCHRP)', 3)) ; areaList.push(new ddList(104, 'Mechanics and Foundations (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(36, 'Motor Carrier (NCHRP)', 3)) ; areaList.push(new ddList(27, 'Operations (TCRP)', 4)) ; areaList.push(new ddList(75, 'Operations (ACRP Synthesis)', 8)) ; areaList.push(new ddList(58, 'Operations (TCRP Synthesis)', 10)) ; areaList.push(new ddList(106, 'Operations (NCRRP)', 18)) ; areaList.push(new ddList(83, 'Operations and Control (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(3, 'Operations and Control (NCHRP)', 3)) ; areaList.push(new ddList(1, 'Pavements (NCHRP)', 3)) ; areaList.push(new ddList(81, 'Pavements (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(108, 'Policy and Planning (NCRRP)', 18)) ; areaList.push(new ddList(34, 'Policy and Planning (TCRP)', 4)) ; areaList.push(new ddList(59, 'Policy and Planning (TCRP Synthesis)', 10)) ; areaList.push(new ddList(68, 'Policy and Planning (ACRP Synthesis)', 8)) ; areaList.push(new ddList(26, 'Pooled Fund (NCHRP)', 3)) ; areaList.push(new ddList(23, 'Properties (NCHRP)', 3)) ; areaList.push(new ddList(103, 'Properties (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(79, 'Reliability (SHRP 2)', 7)) ; areaList.push(new ddList(78, 'Renewal (SHRP 2)', 7)) ; areaList.push(new ddList(16, 'Roadside Development (NCHRP)', 3)) ; areaList.push(new ddList(96, 'Roadside Development (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(97, 'Safety (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(109, 'Safety (NCRRP)', 18)) ; areaList.push(new ddList(17, 'Safety (NCHRP)', 3)) ; areaList.push(new ddList(77, 'Safety (SHRP 2)', 7)) ; areaList.push(new ddList(69, 'Safety (ACRP Synthesis)', 8)) ; areaList.push(new ddList(70, 'Security (ACRP Synthesis)', 8)) ; areaList.push(new ddList(110, 'Security (NCRRP)', 18)) ; areaList.push(new ddList(60, 'Service Configuration (TCRP Synthesis)', 10)) ; areaList.push(new ddList(28, 'Service Configuration (TCRP)', 4)) ; areaList.push(new ddList(6, 'Snow and Ice Control (NCHRP)', 3)) ; areaList.push(new ddList(86, 'Snow and Ice Control (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(100, 'Special Projects (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(117, 'Special Projects (NCRRP)', 18)) ; areaList.push(new ddList(20, 'Special Projects (NCHRP)', 3)) ; areaList.push(new ddList(35, 'Special Projects (TCRP)', 4)) ; areaList.push(new ddList(76, 'Special Projects (ACRP Synthesis)', 8)) ; areaList.push(new ddList(10, 'Specifications, Procedures and Practices (NCHRP)', 3)) ; areaList.push(new ddList(90, 'Specifications, Procedures and Practices (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(38, 'Synthesis (Synthesis)', 5)) ; areaList.push(new ddList(21, 'Testing and Instrumentation (NCHRP)', 3)) ; areaList.push(new ddList(101, 'Testing and Instrumentation (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(87, 'Traffic Planning (NCHRP Synthesis)', 9)) ; areaList.push(new ddList(7, 'Traffic Planning (NCHRP)', 3)) ; areaList.push(new ddList(22, 'Vehicle Barrier Systems (NCHRP)', 3)) ; areaList.push(new ddList(102, 'Vehicle Barrier Systems (NCHRP Synthesis)', 9)) ; stageList.push(new ddList(11, 'New', 2)) ; stageList.push(new ddList(11, 'New', 5)) ; stageList.push(new ddList(11, 'New', 8)) ; stageList.push(new ddList(11, 'New', 9)) ; stageList.push(new ddList(11, 'New', 10)) ; stageList.push(new ddList(1, 'Anticipated', 0)) ; stageList.push(new ddList(1, 'Anticipated', 1)) ; stageList.push(new ddList(1, 'Anticipated', 3)) ; stageList.push(new ddList(1, 'Anticipated', 4)) ; stageList.push(new ddList(1, 'Anticipated', 6)) ; stageList.push(new ddList(1, 'Anticipated', 7)) ; stageList.push(new ddList(1, 'Anticipated', 18)) ; stageList.push(new ddList(1, 'Anticipated', 19)) ; stageList.push(new ddList(3, 'RFP', 0)) ; stageList.push(new ddList(3, 'RFP', 1)) ; stageList.push(new ddList(3, 'RFP', 3)) ; stageList.push(new ddList(3, 'RFP', 4)) ; stageList.push(new ddList(3, 'RFP', 6)) ; stageList.push(new ddList(3, 'RFP', 7)) ; stageList.push(new ddList(3, 'RFP', 18)) ; stageList.push(new ddList(3, 'RFP', 19)) ; stageList.push(new ddList(4, 'Pending', 0)) ; stageList.push(new ddList(4, 'Pending', 1)) ; stageList.push(new ddList(4, 'Pending', 3)) ; stageList.push(new ddList(4, 'Pending', 4)) ; stageList.push(new ddList(4, 'Pending', 6)) ; stageList.push(new ddList(4, 'Pending', 7)) ; stageList.push(new ddList(4, 'Pending', 18)) ; stageList.push(new ddList(4, 'Pending', 19)) ; stageList.push(new ddList(5, 'Active', 0)) ; stageList.push(new ddList(5, 'Active', 1)) ; stageList.push(new ddList(5, 'Active', 3)) ; stageList.push(new ddList(5, 'Active', 4)) ; stageList.push(new ddList(5, 'Active', 5)) ; stageList.push(new ddList(5, 'Active', 6)) ; stageList.push(new ddList(5, 'Active', 7)) ; stageList.push(new ddList(5, 'Active', 18)) ; stageList.push(new ddList(5, 'Active', 19)) ; stageList.push(new ddList(12, 'Active (Synthesis)', 2)) ; stageList.push(new ddList(12, 'Active (Synthesis)', 8)) ; stageList.push(new ddList(12, 'Active (Synthesis)', 9)) ; stageList.push(new ddList(12, 'Active (Synthesis)', 10)) ; stageList.push(new ddList(14, 'Active (IDEA)', 12)) ; stageList.push(new ddList(14, 'Active (IDEA)', 13)) ; stageList.push(new ddList(14, 'Active (IDEA)', 14)) ; stageList.push(new ddList(14, 'Active (IDEA)', 15)) ; stageList.push(new ddList(14, 'Active (IDEA)', 16)) ; stageList.push(new ddList(14, 'Active (IDEA)', 17)) ; stageList.push(new ddList(6, 'Completed', 0)) ; stageList.push(new ddList(6, 'Completed', 1)) ; stageList.push(new ddList(6, 'Completed', 3)) ; stageList.push(new ddList(6, 'Completed', 4)) ; stageList.push(new ddList(6, 'Completed', 6)) ; stageList.push(new ddList(6, 'Completed', 7)) ; stageList.push(new ddList(6, 'Completed', 18)) ; stageList.push(new ddList(6, 'Completed', 19)) ; stageList.push(new ddList(7, 'Final', 0)) ; stageList.push(new ddList(7, 'Final', 1)) ; stageList.push(new ddList(7, 'Final', 3)) ; stageList.push(new ddList(7, 'Final', 4)) ; stageList.push(new ddList(7, 'Final', 5)) ; stageList.push(new ddList(7, 'Final', 6)) ; stageList.push(new ddList(7, 'Final', 7)) ; stageList.push(new ddList(7, 'Final', 18)) ; stageList.push(new ddList(7, 'Final', 19)) ; stageList.push(new ddList(13, 'Final (Synthesis)', 2)) ; stageList.push(new ddList(13, 'Final (Synthesis)', 8)) ; stageList.push(new ddList(13, 'Final (Synthesis)', 9)) ; stageList.push(new ddList(13, 'Final (Synthesis)', 10)) ; stageList.push(new ddList(15, 'Completed (IDEA)', 12)) ; stageList.push(new ddList(15, 'Completed (IDEA)', 13)) ; stageList.push(new ddList(15, 'Completed (IDEA)', 14)) ; stageList.push(new ddList(15, 'Completed (IDEA)', 15)) ; stageList.push(new ddList(15, 'Completed (IDEA)', 16)) ; stageList.push(new ddList(15, 'Completed (IDEA)', 17)) ; function ddList (id, name, pid) { this.id = id ; this.name = name ; this.parentid = pid ; } // Instead of trying to hide 'em, just rebuild the set of options each time function BuildOptions(pid, ddBox) { var sel ; var opt ; var i; var j; var ary ; var isDup ; sel = document.getElementById(ddBox) ; //sel = document.getElementById("__AreaID") ; // Clear the box... sel.options.length = 0 ; // Add the N/A option to the beginning sel.options[0] = new Option("All", -999) ; // Add the other options for this choice j = 1 ; if (ddBox == '__StageID') ary = stageList ; else ary = areaList ; for (i=0; i