|

 |
Search Product
|
 |
 |
Recommended Products
|
 |
 |
Product Catalog
|
 |
|
|
 |
',34),
new Array('Multi-conductor Wire',35),
new Array('Flat Ribbon Wire',36),
new Array('Shielding wire',37),
new Array('Coaxial Cable',38)
),
new Array(
new Array('All Sorts', 0),
new Array('IEC 08',39),
new Array('IEC 52',40),
new Array('IEC 53',41)
),
new Array(
new Array('All Sorts', 0),
new Array('Unshielded Twisted Pair category5e cables',42),
new Array('Twisted Pair category5e cables',44),
new Array('Pairs cables',45),
new Array('category6e cables',46),
new Array('Network jumper',53)
),
new Array(
new Array('All Sorts', 0),
new Array('Face plate',48),
new Array('Modules',49),
new Array('Terminal box',50),
new Array('Connection Block',52),
new Array('Jumper wire rack',54),
new Array('Patch panel',55)
),
new Array(
new Array('All Sorts', 0),
new Array('Family network cabling boxes',56),
new Array('Optic Distribution',57)
),
new Array(
new Array('All Sorts', 0),
new Array('Family network cabling boxes',58)
)
);
function formatIt(nForm){
nForm.catalogName.selectedIndex=1;
nForm.catalogid.value=myValue[1];
fillSelectFromArray(nForm.type_id, team[0]);
fillSelectFromArray(nForm.keyField,myfield[0]);
}
function changeCatalog(nForm){
nForm.catalogid.value=myValue[nForm.catalogName.selectedIndex];
fillSelectFromArray(nForm.type_id, ((nForm.catalogName.selectedIndex ==0) ? empty_team[0] : team[nForm.catalogName.selectedIndex-1]));
fillSelectFromArray(nForm.keyField, ((nForm.catalogName.selectedIndex ==0) ? empty_team[1] : myfield[nForm.catalogName.selectedIndex-1]));
}
function fillSelectFromArray(selectCtrl, itemArray, goodPrompt, badPrompt, defaultItem) {
var i, j;
var prompt;
// empty existing items
for (i = selectCtrl.options.length; i >= 0; i--) {
selectCtrl.options[i] = null;
}
prompt = (itemArray != null) ? goodPrompt : badPrompt;
if (prompt == null) {
j = 0;
}
else {
selectCtrl.options[0] = new Option(prompt);
j = 1;
}
if (itemArray != null) {
// add new items
for (i = 0; i < itemArray.length; i++) {
selectCtrl.options[j] = new Option(itemArray[i][0]);
if (itemArray[i][1] != null) {
selectCtrl.options[j].value = itemArray[i][1];
}
j++;
}
// select first item (prompt) for sub list
if(selectCtrl.options.length>1)
selectCtrl.options[1].selected = true;
else
selectCtrl.options[0].selected = true;
}
}
// End -->


 |
Advanced search |
|
Search with combined methods: |
|