// JavaScript Document
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Jerome Caron |  */
team = new Array(
new Array(new Array("The Cayman Furniture Range - XIM Factory", "The Cayman Furniture Range - XIM Factory"),
new Array("Vallarta Rattan Range - XLC Factory", "Vallarta Rattan Range - XLC Factory"),
new Array("Silva Acacia Furniture - XPK Factory", "Silva Acacia Furniture - XPK Factory"),
new Array("Sapphire Range - XGM Factory", "Sapphire Range - XGM Factory"),
new Array("Highland Acacia Garden Furniture - LTS Factory", "Highland Acacia Garden Furniture - LTS Factory"),
new Array("Manisa Cast Aluminium Garden Furniture - XSL Factory", "Manisa Cast Aluminium Garden Furniture - XSL Factory"),
new Array("Landmark Cast Aluminium Garden Furniture - IAC Factory", "Landmark Cast Aluminium Garden Furniture - IAC Factory"),
new Array("Majestique Hardwood & All Weather Garden Furniture - IIM Factory","Majestique Hardwood & All Weather Garden Furniture - IIM Factory"),
new Array("Classique Luxury Garden Furniture - IIX Factory","Classique Luxury Garden Furniture - IIX Factory"),
new Array("Imperial Teak Furniture - LN Factory","Imperial Teak Furniture - LN Factory"),
new Array("Majestique Oak, Teak & FSC Eucalyptus Range - MNE Factory","Majestique Oak, Teak & FSC Eucalyptus Range - MNE Factory"),
new Array("Lifestyle All Weather Furniture - NM Factory","Lifestyle All Weather Furniture - NM Factory"),
new Array("Majestique Cushion Range - PHH Factory","Majestique Cushion Range - PHH Factory"),
new Array("Quik Fold Furniture - XTQ Factory","Quik Fold Furniture - XTQ Factory")
),

new Array(
new Array("Montrose Sofa Range - XKS Factory","Montrose Sofa Range - XKS Factory"),
new Array("Indian Furniture - ITF Factory","Indian Furniture - ITF Factory"),
new Array("Leisure Chairs & Tables - XII Factory","Leisure Chairs & Tables - XII Factory"),
new Array("Cristano Acacia & Oak Furniture - XPL Factory","Cristano Acacia & Oak Furniture - XPL Factory"),
new Array("Miri Dining Sets - XMM Factory","Miri Dining Sets - XMM Factory"),
new Array("Pulman Sofa Bed Range - XKV Factory","Pulman Sofa Bed Range - XKV Factory"),
new Array("Montrose Sofa Range - XKS Factory","Montrose Sofa Range - XKS Factory"),
new Array("Supreme Dining Furniture - XFM Factory","Supreme Dining Furniture - XFM Factory"),
new Array("Cachi Oak & Walnut Furniture - XNZ Factory","Cachi Oak & Walnut Furniture - XNZ Factory")

),
new Array(
new Array("Outdoor Fire Pits & Grills - XLQ Factory","Outdoor Fire Pits & Grills - XLQ Factory"),
new Array("GrowCamp - GRO Factory","GrowCamp - GRO Factory"),
new Array("Water Features - XFF Factory","Water Features - XFF Factory"),
new Array("Chimeneas & Pumps - XKJ Factory","Chimeneas & Pumps - XKJ Factory"),
new Array("Greenhouses & Metal Sheds - XKN Factory","Greenhouses & Metal Sheds - XKN Factory"),
new Array("Greenhouses - XMJ Factory","Greenhouses - XMJ Factory"),
new Array("Greenhouses, Umbrellas & Cast Iron Umbrella Bases - PZ Factory","Greenhouses, Umbrellas & Cast Iron Umbrella Bases - PZ Factory"),
new Array("Awnings, Gazebos & Parasols - XAC Factory","Awnings, Gazebos & Parasols - XAC Factory"),
new Array("Wooden Products - XSC Factory","Wooden Products - XSC Factory")
),


new Array(
new Array("Interlocking Tiles - XML Factory","Interlocking Tiles - XML Factory"),
new Array("Fencing, Trellis & Hanging Baskets - IAB Factory,","Fencing, Trellis & Hanging Baskets - IAB Factory"),
new Array("Fencing & Garden Products - IIU Factory","Fencing & Garden Products - IIU Factory"),
new Array("Burntwood Items - LG Factory","Burntwood Items - LG Factory"),
new Array("Rubber Tile - XAY Factory","Rubber Tile - XAY Factory")
),

new Array(
new Array("Safes, Cash Boxes & Key Boxes - MTW Factory,","Safes, Cash Boxes & Key Boxes - MTW Factory")
),

new Array(
new Array("Artificial Trees - XHJ Factory","Artificial Trees - XHJ Factory"),
new Array("Inflatable Slides & Spas - SSE Factory","Inflatable Slides & Spas - SSE Factory"),
new Array("Patio Heaters & BBQs - CFG Factory","Patio Heaters & BBQs - CFG Factory"),
new Array("Metal Pots & Ornaments - XPJ Factory","Metal Pots & Ornaments - XPJ Factory"),
new Array("Metal Gazebos - XFN Factory","Metal Gazebos - XFN Factory"),
new Array("Gas BBQs - XND Factory","Gas BBQs - XND Factory"),
new Array("Garden Art - XTF Factory","Garden Art - XTF Factory"),
new Array("Garden Planters & Figurines - XTG Factory","Garden Planters & Figurines - XTG Factory"),
new Array("Directors Chairs - XGX Factory","Directors Chairs - XGX Factory"),
new Array("Folding Tables & Picnic Sets - PHZ Factory","Folding Tables & Picnic Sets - PHZ Factory"),
new Array("Water Walls - XPF Factory","Water Walls - XPF Factory"),
new Array("Outdoor & Camping Products - STO Factory","Outdoor & Camping Products - STO Factory"),
new Array("Blow Mould Furniture - LUC Factory","Blow Mould Furniture - LUC Factory"),
new Array("Slides & Snow Shovels - XNA Factory","Slides & Snow Shovels - XNA Factory")
),

new Array(
new Array("Glass Vases - XNU Factory","Glass Vases - XNU Factory"),
new Array("Heaters - XCS Factory","Heaters - XCS Factory")
),


new Array(
new Array("Tool Boxes - XAO Factory","Tool Boxes - XAO Factory"),
new Array("Cast Iron Stoves - WE Factory","Cast Iron Stoves - WE Factory"),
new Array("Ladders & Tools - TJ Factory","Ladders & Tools - TJ Factory")
),

new Array(
new Array("Mobility Products - XGJ Factory","Mobility Products - XGJ Factory")
),

new Array(
new Array("Office Chairs - YM Factory","Office Chairs - YM Factory"),
new Array("Bar Stools & Indoor Furniture - XLW Factory","Bar Stools & Indoor Furniture - XLW Factory"),
new Array("Banqueting Furniture - XEL Factory","Banqueting Furniture - XEL Factory"),
new Array("Banqueting Equipment - PAQ Factory","Banqueting Equipment - PAQ Factory"),
new Array("Modern Banqueting Chairs - XNP Factory","Modern Banqueting Chairs - XNP Factory"),
new Array("Contract Style Furniture - XGV Factory","Contract Style Furniture - XGV Factory")
),

new Array(
new Array("Christmas Items - NM Factory","Christmas Items - NM Factory")
),

new Array(
new Array("Chicken Coops - XNF Factory","Chicken Coops - XNF Factory"),
new Array("Chicken Coops & Rabbit Hutches - XSI Factory","Chicken Coops & Rabbit Hutches - XSI Factory")
),

new Array(
new Array("Haras Range - XKQ Factory","Haras Range - XKQ Factory"),
new Array("Vietnamese Glazed, Zinc, Terracotta and Terazo Pots - XEF Factory","Vietnamese Glazed, Zinc, Terracotta and Terazo Pots - XEF Factory"),
new Array("Chenab Pottery - XHX Factory","Chenab Pottery - XHX Factory")
),

new Array(
new Array("Eco Friendly Wood Polymer Composite Decking - XJU Factory","Eco Friendly Wood Polymer Composite Decking - XJU Factory")
)

);
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
selectCtrl.options[0].selected = true;
   }
}

