//Last Update: 8/29/00
//Derived from spreadsheet: EU_VLD_Data_082800.xls


radioformarray = new Array("radioform","radioform2");

//List of CTQs for the drop-down menu
//CTQs = new Array("Energy Efficiency", "Light Output", "Product Life", "Light Quality", "Environment Friendly", "Safety");

CTQs = new Array("Energy Efficiency&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "Light Output&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "Product Life&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "Light Quality&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "Environment Friendly", "Safety&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

//This array is for getting the name of the column to display in the product list (text)
appproduct = new Array (2);

appproduct[0]= new Array (9);
appproduct[1]= new Array (9);

appproduct [0][0] = new Array ("Ambient","Task","Accent");
appproduct [0][1] = new Array ("Ambient","Task","Accent");
appproduct [0][2] = new Array ("Ambient","Task","No Selection");
appproduct [0][3] = new Array ("Ambient","Task","No Selection");
appproduct [0][4] = new Array ("Ambient","Task","Accent");
appproduct [0][5] = new Array ("Ambient","Task","No Selection");
appproduct [0][6] = new Array ("Ambient","Task","Accent");
appproduct [0][7] = new Array ("Ambient","Task","Accent");
appproduct [0][8] = new Array ("Ambient","Task","No Selection");

appproduct [1][0] = new Array ("General","Perimeter","Decorative");
appproduct [1][1] = new Array ("General","Task","Perimeter");
appproduct [1][2] = new Array ("General","Perimeter","Decorative");
appproduct [1][3] = new Array ("High Bay","Low Bay","No Selection");
appproduct [1][4] = new Array ("Street Lights","Decorative","Parking Lot");
appproduct [1][5] = new Array ("General","Perimeter","No Selection");
appproduct [1][6] = new Array ("General","Ambient","Task");
appproduct [1][7] = new Array ("High Bay","Low Bay","Task");
appproduct [1][8] = new Array ("General","Ambient","Task");

//This array is for sending the name of the image file to the program to display as the
//column heading
applicationtype = new Array (2);

applicationtype [0] = new Array (9);
applicationtype [1] = new Array (9);

applicationtype [0][0] = new Array ("ambient","task","accent");
applicationtype [0][1] = new Array ("ambient","task","accent");
applicationtype [0][2] = new Array ("ambient","task","blank");
applicationtype [0][3] = new Array ("ambient","task","blank");
applicationtype [0][4] = new Array ("ambient","task","accent");
applicationtype [0][5] = new Array ("ambient","task","blank");
applicationtype [0][6] = new Array ("ambient","task","accent");
applicationtype [0][7] = new Array ("ambient","task","accent");
applicationtype [0][8] = new Array ("ambient","task","blank");

applicationtype [1][0] = new Array ("general","perimeter","decorative");
applicationtype [1][1] = new Array ("general","task","perimeter");
applicationtype [1][2] = new Array ("general","perimeter","decorative");
applicationtype [1][3] = new Array ("highbay","lowbay","blank");
applicationtype [1][4] = new Array ("streetlights","decorative","parkinglot");
applicationtype [1][5] = new Array ("general","perimeter","blank");
applicationtype [1][6] = new Array ("general","ambient","task");
applicationtype [1][7] = new Array ("highbay","lowbay","task");
applicationtype [1][8] = new Array ("general","ambient","task");

//This array hold the prefixes to construct the image name for a room
imagearray=new Array(2);

imagearray[0]=new Array ("loun","kitc","bath","dini","bedr","chil","stud","exte","foye");
imagearray[1]=new Array ("reta","offi","rest","ware","stre","clas","gues","mnfg","emer");

//This array reorders the list of rooms
crossrefArray = new Array (2);

crossrefArray[0]=new Array (9);
crossrefArray[1]=new Array (9);

crossrefArray[0][4]=new Array ("0","Living room");
crossrefArray[0][6]=new Array ("1","Kitchen");
crossrefArray[0][0]=new Array ("2","Bathroom");
crossrefArray[0][3]=new Array ("3","Dining room");
crossrefArray[0][1]=new Array ("4","Master Bedroom");
crossrefArray[0][2]=new Array ("5","Children's Bedroom");
crossrefArray[0][5]=new Array ("6","Home office");
crossrefArray[0][7]=new Array ("7","Exterior");
crossrefArray[0][8]=new Array ("8","Hallway");

crossrefArray[1][0]=new Array ("0","Retail store");
crossrefArray[1][1]=new Array ("1","Office");
crossrefArray[1][2]=new Array ("2","Restaurant");
crossrefArray[1][3]=new Array ("3","Warehouse");
crossrefArray[1][4]=new Array ("4","Street Lighting");
crossrefArray[1][5]=new Array ("5","Classroom");
crossrefArray[1][6]=new Array ("6","Hotel Bedroom");
crossrefArray[1][7]=new Array ("7","Industrial");
crossrefArray[1][8]=new Array ("8","Hospital Ward");

//this array stores all the fixture names for each application/room/column combination
//example: fixture[application][room][column] = fixture names that appear top to bottom in column
fixture = new Array(2);

fixture[0] = new Array(9);
fixture[1] = new Array(9);

fixture[0][0] = new Array(3);
fixture[0][1] = new Array(3);
fixture[0][2] = new Array(3);
fixture[0][3] = new Array(3);
fixture[0][4] = new Array(3);
fixture[0][5] = new Array(3);
fixture[0][6] = new Array(3);
fixture[0][7] = new Array(3);
fixture[0][8] = new Array(3);

fixture[1][0] = new Array(3);
fixture[1][1] = new Array(3);
fixture[1][2] = new Array(3);
fixture[1][3] = new Array(3);
fixture[1][4] = new Array(3);
fixture[1][5] = new Array(3);
fixture[1][6] = new Array(3);
fixture[1][7] = new Array(3);
fixture[1][8] = new Array(3);

fixture[0][0][0]=new Array("No Selection","Large Table Lamp","Ceiling Pendant Downlighter","Halogen Uplighter");	
fixture[0][0][1]=new Array("No Selection","Standard Floor Lamp","Halogen Miniature Desk Lamp","");	
fixture[0][0][2]=new Array("No Selection","Picture Light","Halogen Track Spotlights","");	
fixture[0][1][0]=new Array("No Selection","Ceiling Spotlight Group","Halogen Downlighter","Ceiling Pendant Downlighter");	
fixture[0][1][1]=new Array("No Selection","Halogen Track Spotlights","Fluorescent Linear","");	
fixture[0][1][2]=new Array("No Selection","Halogen Track Spotlights","Ceiling Spotlight Group","");	
fixture[0][2][0]=new Array("No Selection","Halogen Downlighter","Wall Mounted Fitting","");	
fixture[0][2][1]=new Array("No Selection","Ceiling Spotlight Group","Fluorescent Linear","Mirror Mounted Rounds");	
fixture[0][2][2]=new Array("","","","");	
fixture[0][3][0]=new Array("No Selection","Chandelier","Halogen Uplighter","Wall Mounted Fitting");	
fixture[0][3][1]=new Array("No Selection","Halogen Track Spotlights","Picture Light","Ceiling Spotlight Group");	
fixture[0][3][2]=new Array("","","","");	
fixture[0][4][0]=new Array("No Selection","Small Table Lamp","Ceiling Pendant Downlighter","");	
fixture[0][4][1]=new Array("No Selection","Wall Mounted Spotlight","","");	
fixture[0][4][2]=new Array("No Selection","Halogen Downlighter","","");	
fixture[0][5][0]=new Array("No Selection","Ceiling Pendant Downlighter","Small Table Lamp","");	
fixture[0][5][1]=new Array("No Selection","Wall Mounted Spotlight","Halogen Miniature Desk Lamp","Ceiling Spotlight Group");	
fixture[0][5][2]=new Array("","","","");	
fixture[0][6][0]=new Array("No Selection","Ceiling Pendant Downlighter","Ceiling Spotlight Group","");	
fixture[0][6][1]=new Array("No Selection","Halogen Miniature Desk Lamp","Standard Desk Lamp","Ceiling Spotlight Group");	
fixture[0][6][2]=new Array("No Selection","Halogen Track Spotlights","","");	
fixture[0][7][0]=new Array("No Selection","Exterior Lamp","Energy Saving Fitting","");	
fixture[0][7][1]=new Array("No Selection","Exterior Floodlight","Exterior Lamp","");	
fixture[0][7][2]=new Array("No Selection","Exterior Floodlight","Exterior Spotlight","");	
fixture[0][8][0]=new Array("No Selection","Small Table Lamp","Chandelier","Wall Mounted Fitting");	
fixture[0][8][1]=new Array("No Selection","Halogen Track Spotlights","Picture Light","");	
fixture[0][8][2]=new Array("","","","");

fixture[1][0][0]=new Array("No Selection","Ceiling Light","Recessed fixture 1","Recessed fixture 2");
fixture[1][0][1]=new Array("No Selection","Track Light","Wall Wash","Ceiling Light");
fixture[1][0][2]=new Array("No Selection","Recessed fixture 1","Recessed fixture 2","Track Light");
fixture[1][1][0]=new Array("No Selection","Ceiling Light 1","Ceiling Light 2","Ceiling Indirect");
fixture[1][1][1]=new Array("No Selection","Undercabinet","Table Lamp","");
fixture[1][1][2]=new Array("No Selection","Cove Lighting","Wall Wash","Track Light");
fixture[1][2][0]=new Array("No Selection","Indirect lighting","Recessed","Cove Lighting");
fixture[1][2][1]=new Array("No Selection","Table Lamp","Recessed ","Chandelier");
fixture[1][2][2]=new Array("No Selection","Cove Lighting","MiniTrack","Wall Sconce");
fixture[1][3][0]=new Array("No Selection","HP Sodium","Metal Halide","Suspended Fluorescent");
fixture[1][3][1]=new Array("No Selection","Surface Fluorescent","Metal Halide","HP Sodium");
fixture[1][3][2]=new Array("","","","");
fixture[1][4][0]=new Array("No Selection","Two Lantern Column 1","Two Lantern Column 2","One Lantern Column");
fixture[1][4][1]=new Array("No Selection","Post Lantern","Post Globe 1","Post Globe 2");
fixture[1][4][2]=new Array("No Selection","Area Flood 1","Area Flood 2","Area Flood 3");
fixture[1][5][0]=new Array("No Selection","Suspended Fluorescent","Surface Fluorescent 1","Surface Fluorescent 2");
fixture[1][5][1]=new Array("No Selection","Wall Wash","Surface Wall","Cove Lighting");
fixture[1][5][2]=new Array("","","","");
fixture[1][6][0]=new Array("No Selection","Floor Lamp","Wall Lamp","Recessed Downlight");
fixture[1][6][1]=new Array("No Selection","Wall Sconce","Recessed Downlight","Surface Wall / Ceiling");
fixture[1][6][2]=new Array("No Selection","Desk Lamp","Vanity in bathroom","Table Lamp");
fixture[1][7][0]=new Array("No Selection","HP Sodium","Metal Halide","Surface Fluorescent");
fixture[1][7][1]=new Array("No Selection","Suspended Fluorescent","Metal Halide","HP Sodium");
fixture[1][7][2]=new Array("No Selection","Suspended Fluorescent","Desk Lamp","Inspection Lamp");
fixture[1][8][0]=new Array("No Selection","Recessed Fluorescent","Surface Fluorescent","Suspended Indirect");
fixture[1][8][1]=new Array("No Selection","Wall Mount 1","Wall Mount 2","Night Light");
fixture[1][8][2]=new Array("No Selection","Reading Light 1","Reading Light 2","Exam Light");

//this array stores all the fixture URLs for each fixture listed
//example: fixtureURL[application][room][column] = fixture URL for each fixture in column
fixtureURL = new Array(2);

fixtureURL[0] = new Array(9);
fixtureURL[1] = new Array(9);

fixtureURL[0][0] = new Array(3);
fixtureURL[0][1] = new Array(3);
fixtureURL[0][2] = new Array(3);
fixtureURL[0][3] = new Array(3);
fixtureURL[0][4] = new Array(3);
fixtureURL[0][5] = new Array(3);
fixtureURL[0][6] = new Array(3);
fixtureURL[0][7] = new Array(3);
fixtureURL[0][8] = new Array(3);

fixtureURL[1][0] = new Array(3);
fixtureURL[1][1] = new Array(3);
fixtureURL[1][2] = new Array(3);
fixtureURL[1][3] = new Array(3);
fixtureURL[1][4] = new Array(3);
fixtureURL[1][5] = new Array(3);
fixtureURL[1][6] = new Array(3);
fixtureURL[1][7] = new Array(3);
fixtureURL[1][8] = new Array(3);

fixtureURL[0][0][0]=new Array("","/eu/home/large_table_lamp.html","/eu/home/ceiling_pendant_down_light.html","/eu/home/halogen_uplighter.html");	
fixtureURL[0][0][1]=new Array("","/eu/home/classic_floor_lamp.html","/eu/home/halogen_mini_desk_lamp.html","");	
fixtureURL[0][0][2]=new Array("","/eu/home/picture_light.html","/eu/home/halogen_track_spot.html","");	
fixtureURL[0][1][0]=new Array("","/eu/home/ceiling_spot_group.html","/eu/home/halogen_downlighter.html","/eu/home/ceiling_pendant_down_light.html");	
fixtureURL[0][1][1]=new Array("","/eu/home/halogen_track_spot.html","/eu/home/fluorescent_linear.html","");	
fixtureURL[0][1][2]=new Array("","/eu/home/halogen_track_spot.html","/eu/home/ceiling_spot_group.html","");	
fixtureURL[0][2][0]=new Array("","/eu/home/halogen_downlighter.html","/eu/home/wall_mounted_fitting.html","");	
fixtureURL[0][2][1]=new Array("","/eu/home/ceiling_spot_group.html","/eu/home/fluorescent_linear.html","/eu/home/mirror_mounted_rounds.html");	
fixtureURL[0][2][2]=new Array("","","","");	
fixtureURL[0][3][0]=new Array("","/eu/home/chandelier.html","/eu/home/halogen_uplighter.html","/eu/home/wall_mounted_fitting.html");	
fixtureURL[0][3][1]=new Array("","/eu/home/halogen_track_spot.html","/eu/home/picture_light.html","/eu/home/ceiling_spot_group.html");	
fixtureURL[0][3][2]=new Array("","","","");	
fixtureURL[0][4][0]=new Array("","/eu/home/small_table_lamp.html","/eu/home/ceiling_pendant_down_light.html","");	
fixtureURL[0][4][1]=new Array("","/eu/home/wall_mounted_spot.html","","");	
fixtureURL[0][4][2]=new Array("","/eu/home/halogen_downlighter.html","","");	
fixtureURL[0][5][0]=new Array("","/eu/home/ceiling_pendant_down_light.html","/eu/home/small_table_lamp.html","");	
fixtureURL[0][5][1]=new Array("","/eu/home/wall_mounted_spot.html","/eu/home/halogen_mini_desk_lamp.html","/eu/home/ceiling_spot_group.html");	
fixtureURL[0][5][2]=new Array("","","","");	
fixtureURL[0][6][0]=new Array("","/eu/home/ceiling_pendant_down_light.html","/eu/home/ceiling_spot_group.html","");	
fixtureURL[0][6][1]=new Array("","/eu/home/halogen_mini_desk_lamp.html","/eu/home/classic_desk_lamp.html","/eu/home/ceiling_spot_group.html");	
fixtureURL[0][6][2]=new Array("","/eu/home/halogen_track_spot.html","","");	
fixtureURL[0][7][0]=new Array("","/eu/home/exterior_lamp.html","/eu/home/energy_saving_fitting.html","");	
fixtureURL[0][7][1]=new Array("","/eu/home/exterior_flood_light.html","/eu/home/exterior_lamp.html","");	
fixtureURL[0][7][2]=new Array("","/eu/home/exterior_flood_light.html","/eu/home/exterior_spotlight.html","");	
fixtureURL[0][8][0]=new Array("","/eu/home/small_table_lamp.html","/eu/home/chandelier.html","/eu/home/wall_mounted_fitting.html");	
fixtureURL[0][8][1]=new Array("","/eu/home/halogen_track_spot.html","/eu/home/picture_light.html","");	
fixtureURL[0][8][2]=new Array("","","","");	

fixtureURL[1][0][0]=new Array("","/eu/business/surface_suspended_fluorescent.html","/eu/business/recessed_downlight.html","/eu/business/recessed_downlight.html");
fixtureURL[1][0][1]=new Array("","/eu/business/spot_track_light.html","","");
fixtureURL[1][0][2]=new Array("","/eu/business/fluorescent_batten.html","/eu/business/recessed_fluorescent.html","/eu/business/spot_track_light.html");
fixtureURL[1][1][0]=new Array("","/eu/business/surface_suspended_fluorescent.html","/eu/business/recessed_fluorescent.html","/eu/business/surface_suspended_fluorescent.html");
fixtureURL[1][1][1]=new Array("","/eu/business/fluorescent_batten.html","/eu/business/table_lamp.html","");
fixtureURL[1][1][2]=new Array("","/eu/business/fluorescent_batten.html","/eu/business/wall_wash_fittings.html","/eu/business/spot_track_light.html");
fixtureURL[1][2][0]=new Array("","/eu/business/surface_suspended_fluorescent.html","/eu/business/recessed_downlight.html","/eu/business/fluorescent_batten.html");
fixtureURL[1][2][1]=new Array("","/eu/business/table_lamp.html","/eu/business/recessed_downlight.html","/eu/business/chandelier_wall_sconce.html");
fixtureURL[1][2][2]=new Array("","/eu/business/fluorescent_batten.html","/eu/business/spot_track_light.html","/eu/business/chandelier_wall_sconce.html");
fixtureURL[1][3][0]=new Array("","/eu/business/high_low_bay.html","/eu/business/high_low_bay.html","/eu/business/surface_suspended_fluorescent.html");
fixtureURL[1][3][1]=new Array("","/eu/business/surface_suspended_fluorescent.html","/eu/business/high_low_bay.html","/eu/business/high_low_bay.html");
fixtureURL[1][3][2]=new Array("","","","");
fixtureURL[1][4][0]=new Array("","","","");
fixtureURL[1][4][1]=new Array("","/eu/business/post_wall_lantern.html","/eu/business/post_wall_lantern.html","/eu/business/post_wall_lantern.html");
fixtureURL[1][4][2]=new Array("","/eu/business/exterior_flood_spot.html","/eu/business/exterior_flood_spot.html","/eu/business/exterior_flood_spot.html");
fixtureURL[1][5][0]=new Array("","/eu/business/surface_suspended_fluorescent.html","/eu/business/surface_suspended_fluorescent.html","/eu/business/surface_suspended_fluorescent.html");
fixtureURL[1][5][1]=new Array("","/eu/business/recessed_fluorescent.html","/eu/business/fluorescent_batten.html","/eu/business/fluorescent_batten.html");
fixtureURL[1][5][2]=new Array("","","","");
fixtureURL[1][6][0]=new Array("","/eu/business/floor_lamp_uplighter.html","/eu/business/wall_wash_fittings.html","/eu/business/recessed_downlight.html");
fixtureURL[1][6][1]=new Array("","/eu/business/chandelier_wall_sconce.html","/eu/business/recessed_downlight.html","/eu/business/surface%20wall_ceiling.html");
fixtureURL[1][6][2]=new Array("","/eu/business/table_lamp.html","","/eu/business/table_lamp.html");
fixtureURL[1][7][0]=new Array("","/eu/business/high_low_bay.html","/eu/business/high_low_bay.html","/eu/business/surface_suspended_fluorescent.html");
fixtureURL[1][7][1]=new Array("","/eu/business/surface_suspended_fluorescent.html","/eu/business/high_low_bay.html","/eu/business/high_low_bay.html");
fixtureURL[1][7][2]=new Array("","/eu/business/surface_suspended_fluorescent.html","","");
fixtureURL[1][8][0]=new Array("","/eu/business/recessed_fluorescent.html","/eu/business/surface_suspended_fluorescent.html","/eu/business/surface_suspended_fluorescent.html");
fixtureURL[1][8][1]=new Array("","/eu/business/fluorescent_batten.html","/eu/business/fluorescent_batten.html","");
fixtureURL[1][8][2]=new Array("","/eu/business/fluorescent_batten.html","/eu/business/fluorescent_batten.html","");
