//============================================================ // SUMMARY (SIDE BAR FOR ALL DESIGN PAGES) //============================================================ clr_rd = ''; clr_bk = ''; locpath = location.pathname; d.write('
| Design Spec Summary | |||||||||||||||||||
| '); thisloc = "01_vin.asp"; thisnum = 1; thisvar = ps_vin; if (locpath.indexOf(thisloc) > -1) d.write(clr_rd + thisnum + ''); else if (thisvar != "") d.write('' + thisnum + ''); else d.write(clr_bk + thisnum + ''); d.write(' | '); d.write('Designer\'s Ref. (optional)');
if (design_ref != "") d.write(': ' + design_ref); d.write(' | ' +
'||||||||||||||||||
| ' + ' | RoHS Compliant'); if (rohs_compliance != "") d.write(': ' + rohs_compliance); d.write(' | ' + '||||||||||||||||||
| ' + ' | Input Voltage');
if (ps_vin != "") d.write(': ' + ps_vin); d.write(' | ' +
'||||||||||||||||||
| ' + ' | Low Line'); if (vin_low != "") d.write(': ' + vin_low + 'V'); d.write(' | ' + '||||||||||||||||||
| ' + ' | AC line frequency'); if (ac_freq != "") d.write(': ' + ac_freq_display + 'Hz'); d.write(' | ' + '||||||||||||||||||
| ' + ' | Number of Outputs'); if (qty_outputs != 0) d.write(': ' + qty_outputs); d.write(' | ' + '||||||||||||||||||
| '); thisloc = "02_" + qty_outputs + "out.asp"; thisnum = 2; thisvar = ps_vin; if (locpath.indexOf(thisloc) > -1) d.write(clr_rd + thisnum + ''); else if (thisvar != "") d.write('' + thisnum + ''); else d.write(clr_bk + thisnum + ''); d.write(' | '); d.write('Outputs');
if (chassis_all != "") {
if (chassis != "") {
op1 = "#1 – "; op2 = "#2 – "; op3 = "#3 – "; }
else { op1 = ""; op2 = ""; op3 = ""; }
d.write(':
| ' +
'||||||||||||||||||
| '); thisloc = "03_" + qty_outputs + "chassis.asp"; thisnum = 3; thisvar = chassis_all; if (locpath.indexOf(thisloc) > -1) d.write(clr_rd + thisnum + ''); else if (thisvar != "") d.write('' + thisnum + ''); else d.write(clr_bk + thisnum + ''); d.write(' | '); d.write('Chassis');
if (chassis != "") {
if (chassis == "a") modules = "3 Micro";
if (chassis == "b") modules = "2 Mini";
if (chassis == "c") modules = "2 Maxi";
if (chassis == "d") modules = "2 Micro";
if (chassis == "e") modules = "1 Mini";
if (chassis == "f") modules = "1 Maxi";
if (chassis == "g") modules = "1 Micro";
d.write(': ' + modules);
} //if chassis
if (ps_vin.indexOf('MIL-COTS') > -1) {
d.write(' Input Fuse'); if (chassis != "") { if (input_fuse == 'Y') d.write(': Included'); else d.write(': None'); } //if chassis } //if MIL-COTS d.write(' | ' +
'||||||||||||||||||
| '); thisloc = "04_seq.asp"; //thisnum = 4; thisnum = pg_num; thisvar = chassis; //PAGES 1-3 NEEDED BEFORE THIS ONE if (locpath.indexOf(thisloc) > -1) d.write(clr_rd + thisnum + ''); else if (thisvar != "") d.write('' + thisnum + ''); else d.write(clr_bk + thisnum + ''); d.write(' | '); d.write('Sequencing');
if (seq_up1 != "") { d.write(':
| ' +
'||||||||||||||||||
| '); thisloc = "045_holdup.asp"; //thisnum = 5; thisnum = pg_num; //thisvar = seq_up1 thisvar = chassis; //PAGES 1-3 NEEDED BEFORE THIS ONE /* if (sequencing == "visited") thisvar = chassis; else thisvar = holdup_result; */ if (locpath.indexOf(thisloc) > -1) d.write(clr_rd + thisnum + ''); else if (thisvar != "") d.write('' + thisnum + ''); else d.write(clr_bk + thisnum + ''); d.write(' | '); d.write('');
//if (holdup_result == "") d.write('Holdup Capacitors');
d.write('Holdup Capacitors');
if (holdup_result != "") {
d.write(': ');
if (holdup_result.indexOf("HUB") > -1) { bbbb = "";
aaaa = ' Holdup Box ' + holdup_result.substring(0,holdup_result.indexOf("S")+1); if (holdup_result.indexOf("kit") > -1) bbbb = ' and connector kit'; d.write(aaaa + bbbb); } //if hub else { d.write((holdup_result * 2) + 'µF (2 each, 200Vdc rating)'); } } //if holdup_result d.write(' | ' +
'||||||||||||||||||
| '); thisloc = "05_connectors.asp"; thisnum = pg_num; if (ps_vin.indexOf("48 Vdc") > -1) thisvar = modsize1; else if (ps_vin.indexOf("Vac") > -1) thisvar = holdup_result; else thisvar = seq_up1; //THIS CURRENTLY WON'T HAPPEN if (locpath.indexOf(thisloc) > -1) d.write(clr_rd + thisnum + ''); else if (thisvar != "" || connector1 != "") d.write('' + thisnum + ''); else d.write(clr_bk + thisnum + ''); d.write(' | '); d.write('Output Connectors');
if (connector1 != "") d.write(': ' + connector1); d.write(' | ' +
'||||||||||||||||||
| '); thisloc = "06_thermal.asp"; thisnum = pg_num; thisvar = connector1; if (locpath.indexOf(thisloc) > -1) d.write(clr_rd + thisnum + ''); else if (thisvar != "") d.write('' + thisnum + ''); else d.write(clr_bk + thisnum + ''); d.write(' | '); d.write('Thermal Management');
if (cooling != "") {
d.write(': Product grade: ' + product_grade + ' Cooling mechanism:' + ' ' + cooling); if (cooling == "Heat sink") d.write(' ' + fin_height + ' inch, ' + fin_dir); } //if cooling d.write(' | ' +
'||||||||||||||||||
| '); thisloc = "07_accessories.asp"; thisnum = pg_num; thisvar = cooling; if (locpath.indexOf(thisloc) > -1) d.write(clr_rd + thisnum + ''); else if (thisvar != "") d.write('' + thisnum + ''); else d.write(clr_bk + thisnum + ''); d.write(' | '); d.write('Accessories (optional)');
if (access == "yes") {
d.write(':');
for (i=0; i | ' +
'||||||||||||||||||
| '); thisloc = "08_review-save.asp"; thisnum = pg_num; if (missing_configs == "" && accessories == "visited") d.write('' + thisnum + ''); else d.write(msglink + thisnum + ''); d.write(' | '); d.write('Review / Edit / Save Specs | ' + '||||||||||||||||||