<!--
<!-- Buttons preload and hover effects -->

var browserName = navigator.appName;
var browserVer = parseInt ( navigator.appVersion );
var version;

if ( browserName == "Netscape" && browserVer <= 2 ) version = "n2";
if ( browserName == "Microsoft Internet Explorer" && browserVer <= 3 ) version = "e3";

if ( version == "n2" || version == "e3" ) { 
} else {

 About_Off              = new Image ( 115 , 35 );
 About_On               = new Image ( 115, 35 );
 About_Off.src          = "images/Buttons/Hover/About-Off.gif";
 About_On.src           = "images/Buttons/Hover/About-On.gif";

 Contact_Off            = new Image ( 115 , 35 );
 Contact_On             = new Image ( 115, 35 );
 Contact_Off.src        = "images/Buttons/Hover/Contact-Off.gif";
 Contact_On.src         = "images/Buttons/Hover/Contact-On.gif";

 Frames_A_Off           = new Image ( 115 , 35 );
 Frames_A_On            = new Image ( 115, 35 );
 Frames_A_Off.src       = "images/Buttons/Hover/Frames-A-Off.gif";
 Frames_A_On.src        = "images/Buttons/Hover/Frames-A-On.gif";

 Home_Off               = new Image ( 115 , 35 );
 Home_On                = new Image ( 115, 35 );
 Home_Off.src           = "images/Buttons/Hover/Home-Off.gif";
 Home_On.src            = "images/Buttons/Hover/Home-On.gif";

 Frames_B_Off           = new Image ( 115 , 35 );
 Frames_B_On            = new Image ( 115, 35 );
 Frames_B_Off.src       = "images/Buttons/Hover/Frames-B-Off.gif";
 Frames_B_On.src        = "images/Buttons/Hover/Frames-B-On.gif";

 Frames_C_Off           = new Image ( 115 , 35 );
 Frames_C_On            = new Image ( 115, 35 );
 Frames_C_Off.src       = "images/Buttons/Hover/Frames-C-Off.gif";
 Frames_C_On.src        = "images/Buttons/Hover/Frames-C-On.gif";

 Frames_D_Off           = new Image ( 115 , 35 );
 Frames_D_On            = new Image ( 115, 35 );
 Frames_D_Off.src       = "images/Buttons/Hover/Frames-D-Off.gif";
 Frames_D_On.src        = "images/Buttons/Hover/Frames-D-On.gif";

 Frames_EF_Off          = new Image ( 115 , 35 );
 Frames_EF_On           = new Image ( 115, 35 );
 Frames_EF_Off.src      = "images/Buttons/Hover/Frames-EF-Off.gif";
 Frames_EF_On.src       = "images/Buttons/Hover/Frames-EF-On.gif";

 Frames_Clip_Off        = new Image ( 115 , 35 );
 Frames_Clip_On         = new Image ( 115, 35 );
 Frames_Clip_Off.src    = "images/Buttons/Hover/Frames-Clip-Off.gif";
 Frames_Clip_On.src     = "images/Buttons/Hover/Frames-Clip-On.gif";

 Mounts_Off             = new Image ( 115 , 35 );
 Mounts_On              = new Image ( 115, 35 );
 Mounts_Off.src         = "images/Buttons/Hover/Mounts-Off.gif";
 Mounts_On.src          = "images/Buttons/Hover/Mounts-On.gif";

 Multi_Aperture_Off     = new Image ( 115 , 35 );
 Multi_Aperture_On      = new Image ( 115, 35 );
 Multi_Aperture_Off.src = "images/Buttons/Hover/Multi-Aperture-Off.gif";
 Multi_Aperture_On.src  = "images/Buttons/Hover/Multi-Aperture-On.gif";

 Retail_Off             = new Image ( 115 , 35 );
 Retail_On              = new Image ( 115, 35 );
 Retail_Off.src         = "images/Buttons/Hover/Retail-Off.gif";
 Retail_On.src          = "images/Buttons/Hover/Retail-On.gif";

 Order_Off              = new Image ( 115 , 35 );
 Order_On               = new Image ( 115, 35 );
 Order_Off.src          = "images/Buttons/Hover/Order-Off.gif";
 Order_On.src           = "images/Buttons/Hover/Order-On.gif";

}
function button_on ( imgName ) {
  if (version == "n2" || version == "e3") {
  } else {
     butOn = eval(imgName + "_On.src");
     document [imgName].src = butOn;
  }
}
function button_off ( imgName ) {
  if (version == "n2" || version == "e3") {
  } else {
    butOff = eval(imgName + "_Off.src");
    document [imgName].src = butOff;
  }
}
mr_info = new Array(
              new Array(
                  new Array("41 NFO","41 NFO",11111100),
                  new Array("Brown Cush","Brown Cush",11111101),
                  new Array("Pine Cush","Pine Cush",11111102),
                  new Array("Black Cush","Black Cush",11111103),
                  new Array("Blue Cush","Blue Cush",11111104),
                  new Array("Maroon Cush","Maroon Cush",11111105),
                  new Array("Green Cush","Green Cush",11111106),
                  new Array("Teak Cush","Teak Cush",11111107),
                  new Array("White Cush","White Cush",11111108),
                  new Array("Small Cube White","Small Cube White",11111109),
                  new Array("Small Cube Black","Small Cube Black",11111110),
                  new Array("Small Cube Brown","Small Cube Brown",11111111),
                  new Array("Small Cube Lt Brown","Small Cube Lt Brown",11111112),
                  new Array("Small Cube Mot Gold","Small Cube Mot Gold",11111113),
                  new Array("Small Cube Mot Silver","Small Cube Mot Silver",11111114),
                  new Array("Small Cube Silver","Small Cube Silver",11111115),
                  new Array("Small Cube Pewter","Small Cube Pewter",11111116),
                  new Array("Small Cube Dk Gold","Small Cube Dk Gold",11111117),
                  new Array("Small Cube Wv Pewter","Small Cube Wv Pewter",11111118),
                  new Array("Small Cube Wv Bronze","Small Cube Wv Bronze",11111119),
                  new Array("Narrow Grain Black","Narrow Grain Black",11111120),
                  new Array("Narrow Grain White","Narrow Grain White",11111121),
                  new Array("Narrow Grain Brown","Narrow Grain Brown",11111122),
                  new Array("Narrow Grain Lt Brown","Narrow Grain Lt Brown",11111123),
                  new Array("Narrow Grain Bronze","Narrow Grain Bronze",11111124),
                  new Array("Narrow Grain Gold","Narrow Grain Gold",11111125),
                  new Array("Narrow Grain Silver","Narrow Grain Silver",11111126),
                  new Array("Narrow Grain Pewter","Narrow Grain Pewter",11111127)
              ),
              new Array(
                  new Array("Medium Grain Black","Medium Grain Black",22222201),
                  new Array("Medium Grain White","Medium Grain White",22222202),
                  new Array("Medium Grain Brown","Medium Grain Brown",22222203),
                  new Array("Medium Grain Lt Brown","Medium Grain Lt Brown",22222204),
                  new Array("Medium Grain Bronze","Medium Grain Bronze",22222205),
                  new Array("Medium Grain Gold","Medium Grain Gold",22222206),
                  new Array("Medium Grain Silver","Medium Grain Silver",22222207),
                  new Array("Medium Grain Pewter","Medium Grain Pewter",22222208),
                  new Array("Silver Metal","Silver Metal",22222209),
                  new Array("Gold Metal","Gold Metal",22222210),
                  new Array("Silver Cush","Silver Cush",22222211),
                  new Array("Antique Cush","Antique Cush",22222212),
                  new Array("Frosted Pewter Cush","Frosted Pewter Cush",22222213),
                  new Array("Frosted Silver Cush","Frosted Silver Cush",22222214),
                  new Array("FLJ Jet","FLJ Jet",22222215),
                  new Array("FLP Pine","FLP Pine",22222216),
                  new Array("FLT Brown","FLT Brown",22222217),
                  new Array("FLG Green","FLG Green",22222218),
                  new Array("FLB Blue","FLB Blue",22222219),
                  new Array("FLW White","FLW White",22222220),
                  new Array("3/4 Yew","3/4 Yew",22222221),
                  new Array("113 Ash","113 Ash",22222222),
                  new Array("Textured White","Textured White",22222223),
                  new Array("Textured Brown","Textured Brown",22222224),
                  new Array("Textured Black","Textured Black",22222225),
                  new Array("Distressed White","Distressed White",22222226),
                  new Array("Distressed Black","Distressed Black",22222227),
                  new Array("Fl Distressed White","Fl Distressed White",22222228),
                  new Array("Fl Distressed Black","Fl Distressed Black",22222229),
                  new Array("Narrow Cube Black","Narrow Cube Black",22222230),
                  new Array("Narrow Cube White","Narrow Cube White",22222231),
                  new Array("Narrow Cube Lt Brown","Narrow Cube Lt Brown",22222232),
                  new Array("Narrow Cube Brown","Narrow Cube Brown",22222233),
                  new Array("Narrow Cube Beige","Narrow Cube Beige",22222234)
              ),
              new Array(
                  new Array("225 Gold","225 Gold",33333301),
                  new Array("225 Silver","225 Silver",33333302),
                  new Array("225 Black","225 Black",33333303),
                  new Array("225 White","225 White",33333304),
                  new Array("225 Natural","225 Natural",33333305),
                  new Array("225 Brown","225 Brown",33333306),
                  new Array("225 Ash","225 Ash",33333307),
                  new Array("225 Blue","225 Blue",33333308),
                  new Array("225 Lt Blue","225 Lt Blue",33333309),
                  new Array("225 Red","225 Red",333333010),
                  new Array("225 Pink","225 Pink",33333311),
                  new Array("225 Green","225 Green",33333312),
                  new Array("225 Yellow","225 Yellow",33333313),
                  new Array("Medium Gold","Medium Gold",33333314),
                  new Array("Medium Silver","Medium Silver",33333315),
                  new Array("Round Silver","Round Silver",33333316),
                  new Array("Round Gold","Round Gold",33333317),
                  new Array("Beaded Gold","Beaded Gold",33333318),
                  new Array("Beaded Silver","Beaded Silver",33333319),
                  new Array("1-inch Gold","1-inch Gold",33333320),
                  new Array("1-inch Silver","1-inch Silver",33333321),
                  new Array("Shiny Silver","Shiny Silver",33333322),
                  new Array("Shiny Gold","Shiny Gold",33333323),
                  new Array("Rope Silver","Rope Silver",33333324),
                  new Array("Rope Gold","Rope Gold",33333325),
                  new Array("51110","51110",33333326),
                  new Array("Small AFO","Small AFO",33333327),
                  new Array("152 Caramel","152 Caramel",33333328),
                  new Array("Medium Ash","Medium Ash",33333329),
                  new Array("321 Black/Silver","321 Black/Silver",33333330),
                  new Array("321 Pewter/Black","321 Pewter/Black",33333331),
                  new Array("321 Pewter/Silver","321 Pewter/Silver",33333332),
                  new Array("321 Bronze/Pewter","321 Bronze/Pewter",33333333),
                  new Array("321 Silver/Pewter","321 Silver/Pewter",33333334),
                  new Array("281 Pine","281 Pine",33333335),
                  new Array("281 Black","281 Black",33333336),
                  new Array("281 White","281 White",33333337),
                  new Array("281 Brown","281 Brown",33333338),
                  new Array("281 Mot Silver","281 Mot Silver",33333339),
                  new Array("281 Mot Gold","281 Mot Gold",33333340),
                  new Array("281 Silver","281 Silver",33333341),
                  new Array("281 Bronze","281 Bronze",33333342),
                  new Array("281 Pewter","281 Pewter",33333343),
                  new Array("281 Wv Bronze","281 Wv Bronze",33333344),
                  new Array("281 Wv Pewter","281 Wv Pewter",33333345),
                  new Array("Flat Bronze","Flat Bronze",33333346),
                  new Array("Flat Gold","Flat Gold",33333347),
                  new Array("Flat Pewter","Flat Pewter",33333348),
                  new Array("Flat Silver","Flat Silver",33333349),
                  new Array("Angled Block Black","Angled Block Black",33333350),
                  new Array("Angled Block white","Angled Block White",33333351),
                  new Array("Distressed Pa Black","Distressed Pa Black",33333352),
                  new Array("Distressed Pa Blue","Distressed Pa Blue",33333353),
                  new Array("Distressed Pa White","Distressed Pa White",33333354),
                  new Array("Distressed Pa Green","Distressed Pa Green",33333355),
                  new Array("Distressed Pa Cream","Distressed Pa Cream",33333356)
              ),
              new Array(
                  new Array("Cube Black","Cube Black",44444401),
                  new Array("Cube White","Cube White",44444402),
                  new Array("Cube Lt Brown","Cube Lt Brown",44444403),
                  new Array("Cube Brown","Cube Brown",44444404),
                  new Array("Cube Beige","Cube Beige",44444405),
                  new Array("Deep Black","Deep Black",44444406),
                  new Array("Deep Natural","Deep Natural",44444407),
                  new Array("Deep Brown","Deep Brown",44444408),
                  new Array("Deep Lt Brown","Deep Lt Brown",44444409),
                  new Array("Deep White","Deep White",44444410),
                  new Array("401 Black","401 Black",44444411),
                  new Array("401 White","401 White",44444412),
                  new Array("401 Brown","401 Brown",44444413),
                  new Array("401 Pine","401 Pine",44444414),
                  new Array("401 Pewter","401 Pewter",44444415),
                  new Array("401 Silver","401 Silver",44444416),
                  new Array("401 Bronze","401 Bronze",44444417),
                  new Array("401 Mot Gold","401 Mot Gold",44444418),
                  new Array("401 Mot Silver","401 Mot Silver",44444419),
                  new Array("401 Wv Bronze","401 Wv Bronze",44444420),
                  new Array("401 Wv Pewter","401 Wv Pewter",44444421)
              ),
              new Array(
                  new Array("Wide Silver","Wide Silver",55555501),
                  new Array("Wide Gold","Wide Gold",55555502),
                  new Array("336 Wide Caramel","336 Wide Caramel",55555503),
                  new Array("Wider Flat Black","Wider Flat Black",55555504),
                  new Array("Wider Flat Pine","Wider Flat Pine",55555505),
                  new Array("Wider Flat Brown","Wider Flat Brown",55555506),
                  new Array("Wider Flat White","Wider Flat White",55555507),
                  new Array("Wider Flat Pewter","Wider Flat Pewter",55555508),
                  new Array("Wider Flat Bronze","Wider Flat Bronze",55555509),
                  new Array("Wider Flat Silver","Wider Flat Silver",55555510)
              ),         
              new Array(
                  new Array("Extra Wide Black","Extra Wide Black",66666601),
                  new Array("Extra Wide White","Extra Wide White",66666602),
                  new Array("Extra Wide Brown","Extra Wide Brown",66666603),
                  new Array("Extra Wide Lt Brown","Extra Wide Lt Brown",66666604),
                  new Array("Extra Wide Silver","Extra Wide Silver",66666605),
                  new Array("Extra Wide Pewter","Extra Wide Pewter",66666606),
                  new Array("Extra Wide Dk Gold","Extra Wide Dk Gold",66666607),
                  new Array("Wide Distressed White","Wide Distressed White",66666608),
                  new Array("Wide Distressed Black","Wide Distressed Black",66666609),
                  new Array("Large Chunky Black","Large Chunky Black",66666610),
                  new Array("Large Chunky White","Large Chunky White",66666611)
              ),
              new Array(
                  new Array("-n/a-","-n/a-",77777700)
              ),
              new Array(
                  new Array("-n/a-","-n/a-",88888800)
              ),
              new Array(
                  new Array("-n/a-","-n/a-",99999900)
              )
          );

ma_code = new Array(
              new Array(
                  new Array("-n/a-","-n/a-",11111100)
              ),
              new Array(
                  new Array("-n/a-","-n/a-",22222200)
              ),
              new Array(
                  new Array("-n/a-","-n/a-",33333300)
              ),
              new Array(
                  new Array("-n/a-","-n/a-",44444400)
              ),
              new Array(
                  new Array("-n/a-","-n/a-",55555500)
              ),
              new Array(
                  new Array("-n/a-","-n/a-",66666600)
              ),
              new Array(
                  new Array("-n/a-","-n/a-",77777700)
              ),
              new Array(
                  new Array("-n/a-","-n/a-",88888800)
              ),
              new Array(
                  new Array("M264L","M264L",99999900),
                  new Array("M264P","M264P",99999901),
                  new Array("M255S","M255S",99999902),
                  new Array("M275L","M275L",99999903),
                  new Array("M275P","M275P",99999904),
                  new Array("M266S","M266S",99999905),
                  new Array("M268L","M268L",99999906),
                  new Array("M268P","M268P",99999907),
                  new Array("M288S","M288S",99999908),
                  new Array("M364L","M364L",99999909),
                  new Array("M364P","M364P",99999910),
                  new Array("M364H","M364H",99999911),
                  new Array("M364X","M364X",99999912),
                  new Array("M355S","M355S",99999913),
                  new Array("M375L","M375L",99999914),
                  new Array("M375P","M375P",99999915),
                  new Array("M375H","M375H",99999916),
                  new Array("M375X","M375X",99999917),
                  new Array("M366S","M366S",99999918),
                  new Array("M368L","M368L",99999919),
                  new Array("M368P","M368P",99999920),
                  new Array("M368H","M368H",99999921),
                  new Array("M368X","M368X",99999922),
                  new Array("M388S","M388S",99999923),
                  new Array("M464","M464",99999924),
                  new Array("M455S","M455S",99999925),
                  new Array("M475","M475",99999926),
                  new Array("M466S","M466S",99999927),
                  new Array("M468","M468",99999928),
                  new Array("M488S","M488S",99999929),
                  new Array("M955S","M955S",99999930)
              )
          );

onesize = new Array(
              new Array('3½" x 3½"','3½" x 3½"',22222200),
              new Array('3½" x 5"','3½" x 5"',22222201),
              new Array('5" x 4"','5" x 4"',22222202),
              new Array('5" x 5"','5" x 5"',22222203),
              new Array('6" x 4"','6" x 4"',22222204),
              new Array('6" x 6"','6" x 6"',22222205),
              new Array('7" x 5"','7" x 5"',22222206),
              new Array('6" x 8"','6" x 8"',22222207),
              new Array('6" x 9"','6" x 9"',22222208),
              new Array('7" x 9"','7" x 9"',22222209),
              new Array('8" x 8"','8" x 8"',22222210),
              new Array('10" x 4"','10" x 4"',22222211),
              new Array('10" x 7"','10" x 7"',22222212),
              new Array('10" x 8"','10" x 8"',22222213),
              new Array('10" x 10"','10" x 10"',22222214),
              new Array('8" x 12"','8" x 12"',22222215),
              new Array('10" x 12"','10" x 12"',22222216),
              new Array('12" x 12"','12" x 12"',22222217),
              new Array('14" x 10"','14" x 10"',22222218),
              new Array('14" x 11"','14" x 11"',22222219),
              new Array('14" x 12"','14" x 12"',22222220),
              new Array('12" x 15"','12" x 15"',22222221),
              new Array('12" x 16"','12" x 16"',22222222),
              new Array('12" x 18"','12" x 18"',22222223),
              new Array('14" x 18"','14" x 18"',22222224),
              new Array('20" x 10"','20" x 10"',22222225),
              new Array('20" x 16"','20" x 16"',22222226),
              new Array('24" x 18"','24" x 18"',22222227),
              new Array('20" x 24"','20" x 24"',22222228),
              new Array('20" x 30"','20" x 30"',22222229),
              new Array('240 x 300mm','240 x 300mm',22222230),
              new Array('300 x 300mm','300 x 300mm',22222231),
              new Array('300 x 400mm','300 x 400mm',22222232),
              new Array('400 x 400mm','400 x 400mm',22222233),
              new Array('400 x 500mm','400 x 500mm',22222234),
              new Array('500 x 500mm','500 x 500mm',22222235),
              new Array('500 x 600mm','500 x 600mm',22222236),
              new Array('600 x 600mm','600 x 600mm',22222237),
              new Array('500 x 700mm','500 x 700mm',22222238),
              new Array('600 x 800mm','600 x 800mm',22222239),
              new Array('500 x 1000mm','500 x 1000mm',22222240),
              new Array('700 x 1000mm','700 x 1000mm',22222241),
              new Array('950 x 330mm','950 x 330mm',22222242),
              new Array('A4 (8¼" x 11¾")','A4 (8¼" x 11¾")',22222243),
              new Array('A3 (11¾" x 16½")','A3 (11¾" x 16½")',22222244),
              new Array('A2 (16½" x 23½")','A2 (16½" x 23½")',22222245),
              new Array('A1 (23½" x 33¼")','A1 (23½" x 33¼")',22222246)         
        );

size_info = new Array(
                new Array(
                new Array('3½" x 3½"','3½" x 3½"',11111100),
                new Array('3½" x 5"','3½" x 5"',11111101),
                new Array('5" x 4"','5" x 4"',11111102),
                new Array('5" x 5"','5" x 5"',11111103),
                new Array('6" x 4"','6" x 4"',11111104),
                new Array('6" x 6"','6" x 6"',11111105),
                new Array('7" x 5"','7" x 5"',11111106),
                new Array('6" x 8"','6" x 8"',11111107),
                new Array('6" x 9"','6" x 9"',11111108),
                new Array('7" x 9"','7" x 9"',11111109),
                new Array('8" x 8"','8" x 8"',11111110),
                new Array('10" x 4"','10" x 4"',11111111),
                new Array('10" x 7"','10" x 7"',11111112),
                new Array('10" x 8"','10" x 8"',11111113),
                new Array('10" x 10"','10" x 10"',11111114),
                new Array('8" x 12"','8" x 12"',11111115),
                new Array('10" x 12"','10" x 12"',11111116),
                new Array('12" x 12"','12" x 12"',22222217),
                new Array('14" x 10"','14" x 10"',11111118),
                new Array('14" x 11"','14" x 11"',11111119),
                new Array('14" x 12"','14" x 12"',11111120),
                new Array('12" x 15"','12" x 15"',11111121),
                new Array('12" x 16"','12" x 16"',11111122),
                new Array('12" x 18"','12" x 18"',11111123),
                new Array('14" x 18"','14" x 18"',11111124),
                new Array('20" x 10"','20" x 10"',22222225),
                new Array('20" x 16"','20" x 16"',11111126),
                new Array('240 x 300mm','240 x 300mm',11111127),
                new Array('300 x 300mm','300 x 300mm',11111128),
                new Array('300 x 400mm','300 x 400mm',11111129),
                new Array('400 x 400mm','400 x 400mm',11111130),
                new Array('400 x 500mm','400 x 500mm',11111131),
                new Array('A4 (8¼" x 11¾")','A4 (8¼" x 11¾")',11111132),
                new Array('A3 (11¾" x 16½")','A3 (11¾" x 16½")',11111133)
            ),
            onesize, 
            onesize,
            onesize,
            onesize,
            onesize,
            new Array(
                new Array('6" x 4" G','6" x 4" G',77777700),
                new Array('7" x 5" G','7" x 5" G',77777701),
                new Array('6" x 8" G','6" x 8" G',77777702),
                new Array('10" x 8" G','10" x 8" G',77777703),
                new Array('10" x 12" G','10" x 12" G',77777705),
                new Array('14" x 11" G','14" x 11" G',77777706),
                new Array('300 x 400mm G','300 x 400mm G',77777707),
                new Array('400 x 500mm G','400 x 500mm G',77777708), 
                new Array('500 x 600mm S','500 x 600mm S',77777709),                
                new Array('500 x 700mm S','500 x 700mm S',77777710), 
                new Array('600 x 800mm S','600 x 800mm S',77777711),               
                new Array('700 x 1000mm S','700 x 1000mm S',77777712),
                new Array('A4 G','A4 G',77777713),
                new Array('A3 G','A3 G',77777714),
                new Array('A2 S','A2 S',77777715)
            ),
            new Array(
                new Array('6" x 4"','6" x 4"',88888801),
                new Array('5" x 7"','5" x 7"',88888802),
                new Array('6" x 6"','6" x 6"',88888803),
                new Array('6" x 8"','6" x 8"',88888804),
                new Array('6" x 9"','6" x 9"',88888805),
                new Array('7" x 9"','7" x 9"',88888806),
                new Array('8" x 8"','8" x 8"',88888807),
                new Array('10" x 7"','10" x 7"',88888808),
                new Array('10" x 8"','10" x 8"',88888809),
                new Array('10" x 10"','10" x 10"',88888810),
                new Array('10" x 12"','10" x 12"',88888811),
                new Array('A4 (8¼" x 11¾")','A4 (8¼" x 11¾")',88888812),
                new Array('14" x 10"','14" x 10"',88888813),
                new Array('14" x 11"','14" x 11"',88888814),
                new Array('14" x 12"','14" x 12"',88888815),
                new Array('12" x 15"','12" x 15"',88888816),
                new Array('12" x 16"','12" x 16"',88888817),
                new Array('12" x 18"','12" x 18"',88888818),
                new Array('14" x 18"','14" x 18"',88888819),
                new Array('20" x 16"','20" x 16"',88888820)
            ),
            new Array(
                new Array('17 x 7¾"','17 x 7¾"',99999900),
                new Array('240 x 300mm','240 x 300mm',99999901),
                new Array('15½ x 8¾"','15½ x 8¾"',99999902),
                new Array('17 x 7¾"','17 x 7¾"',99999903),
                new Array('14 x 10"','14 x 10"',99999904),
                new Array('15½ x 8¾"','15½ x 8¾"',99999905),
                new Array('20 x 10"','20 x 10"',99999906),
                new Array('18 x 12"','18 x 12"',99999907),
                new Array('20 x 10"','20 x 10"',99999908),
                new Array('26¼ x 8¾"','26¼ x 8¾"',99999909),
                new Array('21¼ x 9¼"','21¼ x 9¼"',99999910),
                new Array('21¼ x 9¼"','21¼ x 9¼"',99999911),
                new Array('21¼ x 9¼"','21¼ x 9¼"',99999912),
                new Array('22½ x 8¾"','22½ x 8¾"',99999913),
                new Array('26¼ x 8¾"','26¼ x 8¾"',99999914),
                new Array('24¼ x 10¼"','24¼ x 10¼"',99999915),
                new Array('24¼ x 10¼"','24¼ x 10¼"',99999916),
                new Array('24¼ x 10¼"','24¼ x 10¼"',99999917),
                new Array('22½ x 8¾"','22½ x 8¾"',99999918),
                new Array('28¼ x 11¼"','28¼ x 11¼',99999919),
                new Array('28¼ x 11¼','28¼ x 11¼',99999920),
                new Array('28¼ x 11¼','28¼ x 11¼',99999921),
                new Array('28¼ x 11¼','28¼ x 11¼',99999922),
                new Array('28¼ x 11¼','28¼ x 11¼',99999923),
                new Array('300 x 300mm','300 x 300mm',99999924),
                new Array('300 x 300mm','300 x 300mm',99999925),
                new Array('400 x 400mm','400 x 400mm',99999926),
                new Array('400 x 400mm','400 x 400mm',99999927),
                new Array('500 x 500mm','500 x 500mm',99999928),
                new Array('500 x 500mm','500 x 500mm',99999929),
                new Array('500 x 500mm','500 x 500mm',99999930)
            )
         );

size_app_info = new Array(
                    new Array(
                        new Array('6" x 4"','6" x 4"',11111100),
                        new Array('5" x 7"','5" x 7"',11111101),
                        new Array('6" x 6"','6" x 6"',11111102),
                        new Array('6" x 8"','6" x 8"',11111103),
                        new Array('6" x 9"','6" x 9"',11111104),
                        new Array('7" x 9"','7" x 9"',11111105),
                        new Array('8" x 8"','8" x 8"',11111106),
                        new Array('10" x 7"','10" x 7"',11111107),
                        new Array('10" x 8"','10" x 8"',11111108),
                        new Array('10" x 10"','10" x 10"',11111109),
                        new Array('10" x 12"','10" x 12"',11111110),
                        new Array('A4 (8¼" x 11¾")','A4 (8¼" x 11¾")',11111111),
                        new Array('14" x 10"','14" x 10"',11111112),
                        new Array('14" x 11"','14" x 11"',11111113),
                        new Array('14" x 12"','14" x 12"',11111114),
                        new Array('12" x 15"','12" x 15"',11111115),
                        new Array('12" x 16"','12" x 16"',11111116),
                        new Array('12" x 18"','12" x 18"',11111117),
                        new Array('14" x 18"','14" x 18"',11111118),
                        new Array('20" x 16"','20" x 16"',11111119)
                    ),
                    new Array(
                        new Array('5" x 7"','5" x 7"',22222200),
                        new Array('6" x 6"','6" x 6"',22222201),
                        new Array('6" x 8"','6" x 8"',22222202),
                        new Array('6" x 9"','6" x 9"',22222203),
                        new Array('7" x 9"','7" x 9"',22222204),
                        new Array('8" x 8"','8" x 8"',22222205),
                        new Array('10" x 7"','10" x 7"',22222206),
                        new Array('10" x 8"','10" x 8"',22222207),
                        new Array('10" x 10"','10" x 10"',22222208),
                        new Array('10" x 12"','10" x 12"',22222209),
                        new Array('A4 (8¼" x 11¾")','A4 (8¼" x 11¾")',22222210),
                        new Array('14" x 10"','14" x 10"',22222211),
                        new Array('14" x 11"','14" x 11"',22222212),
                        new Array('14" x 12"','14" x 12"',22222213),
                        new Array('12" x 15"','12" x 15"',22222214),
                        new Array('12" x 16"','12" x 16"',22222215),
                        new Array('12" x 18"','12" x 18"',22222216),
                        new Array('14" x 18"','14" x 18"',22222217),
                        new Array('20" x 16"','20" x 16"',22222218)
                    )
                );

mount_app_info = new Array(
                     new Array(
                         new Array("-n/a-","-n/a-",11111100)
                     ),
                     new Array(
                         new Array("-n/a-","-n/a-",22222200)
                     ),
                     new Array(
                         new Array("-n/a-","-n/a-",33333300)
                     ),
                     new Array(
                         new Array("-n/a-","-n/a-",44444400)
                     ),
                     new Array(
                         new Array("-n/a-","-n/a-",55555500)
                     ),
                     new Array(
                         new Array("-n/a-","-n/a-",66666600)
                     ),
                     new Array(
                         new Array("-n/a-","-n/a-",77777700)
                     ),
                     new Array(
                         new Array("Single","Single",88888800),
                         new Array("Double","Double",88888801)
                     ),
                     new Array(
                         new Array("2-Ap 6x4 (L)","2-Ap 6x4 (L)",99999900),
                         new Array("2-Ap 6x4 (P)","2-Ap 6x4 (P)",99999901),
                         new Array("2-Ap 5x5 (S)","2-Ap 5x5 (S)",99999902),
                         new Array("2-Ap 7x5 (L)","2-Ap 7x5 (L)",99999903),
                         new Array("2-Ap 7x5 (P)","2-Ap 7x5 (P)",99999904),
                         new Array("2-Ap 6x6 (S)","2-Ap 6x6 (S)",99999905),
                         new Array("2-Ap 6x8 (L)","2-Ap 6x8 (L)",99999906),
                         new Array("2-Ap 6x8 (P)","2-Ap 6x8 (P)",99999907),
                         new Array("2-Ap 8x8 (S)","2-Ap 8x8 (S)",99999908),
                         new Array("3-Ap 6x4 (L)","3-Ap 6x4 (L)",99999909),
                         new Array("3-Ap 6x4 (P)","3-Ap 6x4 (P)",99999910),
                         new Array("3-Ap 6x4 (2P/1L)","3-Ap 6x4 (2P/1L)",99999911),
                         new Array("3-Ap 6x4 (2L/1P)","3-Ap 6x4 (2L/1P)",99999912),
                         new Array("3-Ap 5x5 (S)","3-Ap 5x5 (S)",99999913),
                         new Array("3-Ap 7x5 (L)","3-Ap 7x5 (L)",99999914),
                         new Array("3-Ap 7x5 (P)","3-Ap 7x5 (P)",99999915),
                         new Array("3-Ap 7x5 (2P/1L)","3-Ap 7x5 (2P/1L)",99999916),
                         new Array("3-Ap 7x5 (2L/1P)","3-Ap 7x5 (2L/1P)",99999917),
                         new Array("3-Ap 6x6 (S)","3-Ap 6x6 (S)",99999918),
                         new Array("3-Ap 6x8 (L)","3-Ap 6x8 (L)",99999919),
                         new Array("3-Ap 6x8 (P)","3-Ap 6x8 (P)",99999920),
                         new Array("3-Ap 6x8 (2P/1L)","3-Ap 6x8 (2P/1L)",99999921),
                         new Array("3-Ap 6x8 (2L/1P)","3-Ap 6x8 (2L/1P)",99999922),
                         new Array("3-Ap 8x8 (S)","3-Ap 8x8 (S)",99999923),
                         new Array("4-Ap 6x4 (2P/2L)","4-Ap 6x4 (2P/2L)",99999924),
                         new Array("4-Ap 5x5 (S)","4-Ap 5x5 (S)",99999925),
                         new Array("4-Ap 7x5 (2P/2L)","4-Ap 7x5 (2P/2L)",99999926),
                         new Array("4-Ap 6x6 (S)","4-Ap 6x6 (S)",99999927),
                         new Array("4-Ap 6x8 (2P/2L)","4-Ap 6x8 (2P/2L)",99999928),
                         new Array("4-Ap 8x8 (S)","4-Ap 8x8 (S)",99999929),
                         new Array("9-Ap 5x5 (S)","9-Ap 5x5 (S)",99999930)
                     )
                 );

color_info = new Array(
                 new Array(
                     new Array("-n/a-","-n/a-",11111100)
                 ),
                 new Array(
                     new Array("-n/a-","-n/a-",22222200)
                 ),
                 new Array(
                     new Array("-n/a-","-n/a-",33333300)
                 ),
                 new Array(
                     new Array("-n/a-","-n/a-",44444400)
                 ),
                 new Array(
                     new Array("-n/a-","-n/a-",55555500)
                 ),
                 new Array(
                     new Array("-n/a-","-n/a-",66666600)
                 ),
                 new Array(
                     new Array("-n/a-","-n/a-",77777700)
                 ),
                 new Array(
                     new Array("Ivory","Ivory",88888800),
                     new Array("Ivory - 2mm","Ivory - 2mm",88888801),
                     new Array("Light Green","Light Green",88888802),
                     new Array("Dark Green","Dark Green",88888803),
                     new Array("Maroon","Maroon",88888804),
                     new Array("Soapstone","Soapstone",88888805),
                     new Array("Light Blue","Light Blue",88888806),
                     new Array("Dark Blue","Dark Blue",88888807),
                     new Array("Black","Black",88888808),
                     new Array("White","White",88888809),
                     new Array("White - 2mm","White - 2mm",88888810),
                     new Array("Beige","Beige",88888811),
                     new Array("Dark Brown","Dark Brown",88888812),
                     new Array("Silver","Silver",88888813),
                     new Array("Bright White","Bright White",88888814),
                     new Array("Bright White (Black Core)","Bright White (Black Core)",88888815),
                     new Array("Bright White - 2mm","Bright White - 2mm",888888156),
                     new Array("Light Grey","Light Grey",88888817),
                     new Array("Midnight Blue","Midnight Blue",88888818),
                     new Array("Gold","Gold",88888819)
                 ),
                 new Array(
                     new Array("White","White",99999900)
                 )
             );

var fm;
var nm;

<!-- Fill the Mould Ref boxes, based on Price Group and code Selection -->

function fillMouldFromGroup(selectCtrl, itemArray, whatArray, numb, goodPrompt, badPrompt, defaultItem) 
{
   if (numb != null){
      fm = eval("document.OrderForm.price_cat_"+numb);
      fm = fm.selectedIndex;
      nm = eval("document.OrderForm.ma_code_"+numb);
      nm = nm.selectedIndex;
   }
   if (fm == 8) {
      if (whatArray == 'mould') {
         itemArray = mr_info[1].concat(mr_info[2])
         itemArray = itemArray.concat(mr_info[3])
      }
   }
   if (fm == 8) {
      if (whatArray == 'size' || whatArray == 'mount'){ 
         itemArray = itemArray[nm];
         itemArray = itemArray.slice(1,2);
      } 
   }
   var i, j;
   var prompt;
   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 ) {
      // Is a multip ap?
      if (fm == 8) {
         // Is array size or mount?
         if (whatArray == 'size' || whatArray == 'mount') {
            // YES - so dont change the fields - just display them 
            selectCtrl.options[0] = new Option(itemArray[0]);
            selectCtrl.options[0].value = itemArray[0];
            selectCtrl.options[0].selected = true;
         } else {
            // No - so select which array items are applicable ...
            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++;
            }
            selectCtrl.options[0].selected = true;   
         }
      } else {
         // NOT a multi app - 
         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++;
         }
         selectCtrl.options[0].selected = true;   
      }
   }
}

function validate() {
   //
   // Validate the order form results - starting with all mandatory fields.
   //
   form = document.OrderForm
   if (form.email.value == 0) {
      alert("Please enter your email address");
      form.email.focus();
      return false;
   }
   //
   // Check e-mail format is correct (someone@somewhere.something)
   //
   var sender_email    = form.email.value
   sender_email        = sender_email.replace(/^\s*(.*)/, "$1");
   sender_email        = sender_email.replace(/(.*?)\s*$/, "$1");
   //
   if (sender_email != "") {
      var emailStr = new String(sender_email);
      var emindex  = emailStr.indexOf("@");
      //
      if (emindex > 0) {
          var pindex = emailStr.indexOf(".",emindex);
          if ((pindex > emindex+1) && (emailStr.length > pindex+1)) {
               //return true;
          } else {
               alert("Please specify a valid e-mail address (yourname@yourdomain.com)");
               form.email.focus();
               return false;
          }
      } else {
          alert("Please specify a valid e-mail address (yourname@yourdomain.com)");
          form.email.focus();
          return false;
      }
   }
   if (form.realname.value == 0) {
      alert("Please enter your name");
      form.realname.focus();
      return false;
   }
   if (form.area_code_phone.value == 0) {
      alert("Please enter your phone area code");
      form.area_code_phone.focus();
      return false;
   }
   if (form.phone.value == 0) {
      alert("Please enter your phone number");
      form.phone.focus();
      return false;
   }
   //
   // All basic mandatory fields have been checked.  Now we need to check that
   // at least one line of the order form has been given a quantity. 
   //
   var whatelem = document.OrderForm.elements;
   var qty_count = 1;
   var qty_total = 0;
   var qty_num   = qty_count.toString();
   var qty_chk   = "";
   var box       = "qty_" + qty_num;
   for (var i = 0; i < whatelem.length;) { 
       if (whatelem[i].name == box) {
          //
          // one of the qty fields has been found - does it have a '.'
          //
          qty_chk   = whatelem[i].value;
          var qty_dec = qty_chk.indexOf('.');
          if (qty_dec != -1) {
             //
             // Oops! the number has a decimal place - so moan about it.
             //
             alert('One or more Qty fields includes a decimal point. Please remove ALL decimal points.');
             document.OrderForm.qty_1.focus();
             return false;
          }
          //
          // Next - grab the value and convert to an integer
          //
          qty_chk   = parseInt(whatelem[i].value);
          //
          // is the resulting value a positive number?
          //
          if (isNaN(qty_chk)) {
             //
             // NO - the value is blank or non-numeric - so ignore.
             //
          } else {
             //
             // YES - value is numeric - so check for decimal point
             //
             qty_total = qty_total + qty_chk;
          }
          qty_count = qty_count + 1;
          qty_num   = qty_count.toString();
          box = "qty_" + qty_num;
       }
       i = i + 1;

   }
   //
   // So...what was the total of all qty fields? If it's zero, then grizzle.
   //
   if (qty_total <= 0) {
      alert('You have not specified any frame quantities. \n\nYour order must include at least one item');
      document.OrderForm.qty_1.focus();
      return false;
   }
   <!-- All is OK - so continue... -->
   return true;
}

<!-- If Javascript enabled - change URL of order form to use SMART form -->
function script_enabled ( URLName ) {
   URLName = URLName + ".shtml";
   window.open(URLName,"_self");
}

<!-- Resets selected indexes to zero on refresh/renav so select boxes are coord correctly -->


function reloadForm() { 
  var whatelem = document.OrderForm.elements;
  for (var i = 0; i< whatelem.length; i++) { 
      if(whatelem[i].type == "select-one") {
        whatelem[i].selectedIndex = 0;
      }
  }
}

<!-- on reset button click, forces reload and zero selected index of default arrays -->

nocount = new Array(1,2,3,4,5,6,7,8,9,10);

function resetForm() {
   for (i = 0; i < nocount.length; i++) {
       var thisnum = nocount[i];
       var form = document.OrderForm;
       var reprice = eval("form.price_cat_"+thisnum);
       var remr = eval("form.mr_"+thisnum);
       var resize = eval ("form.size_"+thisnum);
       var remount = eval("form.mount_app_"+thisnum);
       var recol = eval ("form.color_"+thisnum);
       var rema = eval ("form.ma_code_"+thisnum);

       reprice.selectedIndex = 0;

       fillMouldFromGroup(remr,((reprice.selectedIndex == -1) ? null : mr_info[0]));
       fillMouldFromGroup(resize,((reprice.selectedIndex == -1) ? null : size_info[0]));
       fillMouldFromGroup(remount,((reprice.selectedIndex == -1) ? null : mount_app_info[0]));
       fillMouldFromGroup(recol,((reprice.selectedIndex == -1) ? null : color_info[0]));
       fillMouldFromGroup(rema,((reprice.selectedIndex == -1) ? null : ma_code[0]));
   }
}

//-->

