var productImages = []; // Preloaded image. ID = 392 productImages[392] = new Image(); productImages[392].src="/image/product/medium/bluestone.jpg"; productImages[392].alt = "Bluestone"; // Preloaded image. ID = 376 productImages[376] = new Image(); productImages[376].src="/image/product/medium/019_beech.jpg"; productImages[376].alt = "Beech"; // Preloaded image. ID = 377 productImages[377] = new Image(); productImages[377].src="/image/product/medium/028_cool_metal.jpg"; productImages[377].alt = "Cool Metal"; // Preloaded image. ID = 378 productImages[378] = new Image(); productImages[378].src="/image/product/medium/034_travertine.jpg"; productImages[378].alt = "Travertine"; // Preloaded image. ID = 379 productImages[379] = new Image(); productImages[379].src="/image/product/medium/055_black.jpg"; productImages[379].alt = "Black"; // Preloaded image. ID = 380 productImages[380] = new Image(); productImages[380].src="/image/product/medium/060_wenge.jpg"; productImages[380].alt = "Wenge"; // Preloaded image. ID = 381 productImages[381] = new Image(); productImages[381].src="/image/product/medium/104_woodstock.jpg"; productImages[381].alt = "Woodstock"; // Preloaded image. ID = 382 productImages[382] = new Image(); productImages[382].src="/image/product/medium/112_anthracite.jpg"; productImages[382].alt = "Anthracite"; // Preloaded image. ID = 383 productImages[383] = new Image(); productImages[383].src="/image/product/medium/114_cherry.jpg"; productImages[383].alt = "Cherry"; // Preloaded image. ID = 384 productImages[384] = new Image(); productImages[384].src="/image/product/medium/120_blackstone.jpg"; productImages[384].alt = "Black Stone"; // Preloaded image. ID = 385 productImages[385] = new Image(); productImages[385].src="/image/product/medium/303_blackwood.jpg"; productImages[385].alt = "Blackwood"; // Preloaded image. ID = 386 productImages[386] = new Image(); productImages[386].src="/image/product/medium/312_walnut.jpg"; productImages[386].alt = "Walnut"; // Preloaded image. ID = 387 productImages[387] = new Image(); productImages[387].src="/image/product/medium/316_hickory.jpg"; productImages[387].alt = "Hickory"; // Preloaded image. ID = 388 productImages[388] = new Image(); productImages[388].src="/image/product/medium/318_zebrano.jpg"; productImages[388].alt = "Zebrano"; // Preloaded image. ID = 389 productImages[389] = new Image(); productImages[389].src="/image/product/medium/328_red.jpg"; productImages[389].alt = "Red"; // Preloaded image. ID = 390 productImages[390] = new Image(); productImages[390].src="/image/product/medium/338_blue.jpg"; productImages[390].alt = "Blue"; // Preloaded image. ID = 391 productImages[391] = new Image(); productImages[391].src="/image/product/medium/342_oak.jpg"; productImages[391].alt = "Oak"; // Preloaded image. ID = 375 productImages[375] = new Image(); productImages[375].src="/image/product/medium/001_white.jpg"; productImages[375].alt = "White"; // Preloaded image. ID = 374 productImages[374] = new Image(); productImages[374].src="/image/product/medium/021_stratos.jpg"; productImages[374].alt = "Stratos"; // Preloaded image. ID = 1019 productImages[1019] = new Image(); productImages[1019].src="/image/product/medium/german_marble.jpg"; productImages[1019].alt = "Marble"; var productData = []; productData[2168] = [{1: 1, 3: 34}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":379} ]; productData[2169] = [{1: 1, 3: 35}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":379} ]; productData[2170] = [{1: 1, 3: 36}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":379} ]; productData[2171] = [{1: 1, 3: 37}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":379} ]; productData[2172] = [{1: 1, 3: 39}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":379} ]; productData[2173] = [{1: 1, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":379} ]; productData[2175] = [{1: 1, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":379} ]; productData[2176] = [{1: 1, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":379} ]; productData[2177] = [{1: 3, 3: 34}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":390} ]; productData[2178] = [{1: 3, 3: 35}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":390} ]; productData[2179] = [{1: 3, 3: 36}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":390} ]; productData[2180] = [{1: 3, 3: 37}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":390} ]; productData[2181] = [{1: 3, 3: 39}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":390} ]; productData[2182] = [{1: 3, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":390} ]; productData[2184] = [{1: 3, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":390} ]; productData[2185] = [{1: 3, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":390} ]; productData[2186] = [{1: 4, 3: 34}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":375} ]; productData[2187] = [{1: 4, 3: 35}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":375} ]; productData[2188] = [{1: 4, 3: 36}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":375} ]; productData[2189] = [{1: 4, 3: 37}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":375} ]; productData[2190] = [{1: 4, 3: 39}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":375} ]; productData[2191] = [{1: 4, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":375} ]; productData[2193] = [{1: 4, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":375} ]; productData[2194] = [{1: 4, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":375} ]; productData[2195] = [{1: 7, 3: 34}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":0} ]; productData[2196] = [{1: 7, 3: 35}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":0} ]; productData[2197] = [{1: 7, 3: 36}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":0} ]; productData[2198] = [{1: 7, 3: 37}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":0} ]; productData[2199] = [{1: 7, 3: 39}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":0} ]; productData[2200] = [{1: 7, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":0} ]; productData[2202] = [{1: 7, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":0} ]; productData[2203] = [{1: 7, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":0} ]; productData[2204] = [{1: 10, 3: 34}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":389} ]; productData[2205] = [{1: 10, 3: 35}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":389} ]; productData[2206] = [{1: 10, 3: 36}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":389} ]; productData[2207] = [{1: 10, 3: 37}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":389} ]; productData[2208] = [{1: 10, 3: 39}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":389} ]; productData[2209] = [{1: 10, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":389} ]; productData[2211] = [{1: 10, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":389} ]; productData[2212] = [{1: 10, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":389} ]; productData[2213] = [{1: 13, 3: 34}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":376} ]; productData[2214] = [{1: 13, 3: 35}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":376} ]; productData[2215] = [{1: 13, 3: 36}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":376} ]; productData[2216] = [{1: 13, 3: 37}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":376} ]; productData[2217] = [{1: 13, 3: 39}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":376} ]; productData[2218] = [{1: 13, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":376} ]; productData[2220] = [{1: 13, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":376} ]; productData[2221] = [{1: 13, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":376} ]; productData[2222] = [{3: 34, 1: 43}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":378} ]; productData[2223] = [{3: 35, 1: 43}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":378} ]; productData[2224] = [{3: 36, 1: 43}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":378} ]; productData[2225] = [{3: 37, 1: 43}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":378} ]; productData[2226] = [{3: 39, 1: 43}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":378} ]; productData[2227] = [{1: 43, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":378} ]; productData[2229] = [{1: 43, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":378} ]; productData[2230] = [{1: 43, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":378} ]; productData[2231] = [{3: 34, 1: 163}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":380} ]; productData[2232] = [{3: 35, 1: 163}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":380} ]; productData[2233] = [{3: 36, 1: 163}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":380} ]; productData[2234] = [{3: 37, 1: 163}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":380} ]; productData[2235] = [{3: 39, 1: 163}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":380} ]; productData[2236] = [{1: 163, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":380} ]; productData[2238] = [{1: 163, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":380} ]; productData[2239] = [{1: 163, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":380} ]; productData[2240] = [{3: 34, 1: 205}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":374} ]; productData[2241] = [{3: 35, 1: 205}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":374} ]; productData[2242] = [{3: 36, 1: 205}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":374} ]; productData[2243] = [{3: 37, 1: 205}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":374} ]; productData[2244] = [{3: 39, 1: 205}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":374} ]; productData[2245] = [{1: 205, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":374} ]; productData[2247] = [{1: 205, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":374} ]; productData[2248] = [{1: 205, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":374} ]; productData[2249] = [{3: 34, 1: 206}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":377} ]; productData[2250] = [{3: 35, 1: 206}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":377} ]; productData[2251] = [{3: 36, 1: 206}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":377} ]; productData[2252] = [{3: 37, 1: 206}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":377} ]; productData[2253] = [{3: 39, 1: 206}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":377} ]; productData[2254] = [{1: 206, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":377} ]; productData[2256] = [{1: 206, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":377} ]; productData[2257] = [{1: 206, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":377} ]; productData[2258] = [{3: 34, 1: 207}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":386} ]; productData[2259] = [{3: 35, 1: 207}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":386} ]; productData[2260] = [{3: 36, 1: 207}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":386} ]; productData[2261] = [{3: 37, 1: 207}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":386} ]; productData[2262] = [{3: 39, 1: 207}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":386} ]; productData[2263] = [{1: 207, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":386} ]; productData[2265] = [{1: 207, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":386} ]; productData[2266] = [{1: 207, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":386} ]; productData[2267] = [{3: 34, 1: 208}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":385} ]; productData[2268] = [{3: 35, 1: 208}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":385} ]; productData[2269] = [{3: 36, 1: 208}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":385} ]; productData[2270] = [{3: 37, 1: 208}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":385} ]; productData[2271] = [{3: 39, 1: 208}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":385} ]; productData[2272] = [{1: 208, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":385} ]; productData[2274] = [{1: 208, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":385} ]; productData[2275] = [{1: 208, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":385} ]; productData[2276] = [{3: 34, 1: 209}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":381} ]; productData[2277] = [{3: 35, 1: 209}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":381} ]; productData[2278] = [{3: 36, 1: 209}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":381} ]; productData[2279] = [{3: 37, 1: 209}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":381} ]; productData[2280] = [{3: 39, 1: 209}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":381} ]; productData[2281] = [{1: 209, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":381} ]; productData[2283] = [{1: 209, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":381} ]; productData[2284] = [{1: 209, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":381} ]; productData[2285] = [{3: 34, 1: 210}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":388} ]; productData[2286] = [{3: 35, 1: 210}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":388} ]; productData[2287] = [{3: 36, 1: 210}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":388} ]; productData[2288] = [{3: 37, 1: 210}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":388} ]; productData[2289] = [{3: 39, 1: 210}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":388} ]; productData[2290] = [{1: 210, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":388} ]; productData[2292] = [{1: 210, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":388} ]; productData[2293] = [{1: 210, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":388} ]; productData[2294] = [{3: 34, 1: 211}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":383} ]; productData[2295] = [{3: 35, 1: 211}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":383} ]; productData[2296] = [{3: 36, 1: 211}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":383} ]; productData[2297] = [{3: 37, 1: 211}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":383} ]; productData[2298] = [{3: 39, 1: 211}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":383} ]; productData[2299] = [{1: 211, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":383} ]; productData[2301] = [{1: 211, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":383} ]; productData[2302] = [{1: 211, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":383} ]; productData[2303] = [{3: 34, 1: 212}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":391} ]; productData[2304] = [{3: 35, 1: 212}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":391} ]; productData[2305] = [{3: 36, 1: 212}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":391} ]; productData[2306] = [{3: 37, 1: 212}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":391} ]; productData[2307] = [{3: 39, 1: 212}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":391} ]; productData[2308] = [{1: 212, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":391} ]; productData[2310] = [{1: 212, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":391} ]; productData[2311] = [{1: 212, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":391} ]; productData[2312] = [{3: 34, 1: 213}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":387} ]; productData[2313] = [{3: 35, 1: 213}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":387} ]; productData[2314] = [{3: 36, 1: 213}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":387} ]; productData[2315] = [{3: 37, 1: 213}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":387} ]; productData[2316] = [{3: 39, 1: 213}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":387} ]; productData[2317] = [{1: 213, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":387} ]; productData[2319] = [{1: 213, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":387} ]; productData[2320] = [{1: 213, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":387} ]; productData[2321] = [{3: 34, 1: 214}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":384} ]; productData[2322] = [{3: 35, 1: 214}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":384} ]; productData[2323] = [{3: 36, 1: 214}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":384} ]; productData[2324] = [{3: 37, 1: 214}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":384} ]; productData[2325] = [{3: 39, 1: 214}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":384} ]; productData[2326] = [{1: 214, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":384} ]; productData[2328] = [{1: 214, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":384} ]; productData[2329] = [{1: 214, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":384} ]; productData[2330] = [{3: 34, 1: 215}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":1019} ]; productData[2331] = [{3: 35, 1: 215}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":1019} ]; productData[2332] = [{3: 36, 1: 215}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":1019} ]; productData[2333] = [{3: 37, 1: 215}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":1019} ]; productData[2334] = [{3: 39, 1: 215}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":1019} ]; productData[2335] = [{1: 215, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":1019} ]; productData[2337] = [{1: 215, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":1019} ]; productData[2338] = [{1: 215, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":1019} ]; productData[2339] = [{3: 34, 1: 216}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":382} ]; productData[2340] = [{3: 35, 1: 216}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":382} ]; productData[2341] = [{3: 36, 1: 216}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":382} ]; productData[2342] = [{3: 37, 1: 216}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":382} ]; productData[2343] = [{3: 39, 1: 216}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":382} ]; productData[2344] = [{1: 216, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":382} ]; productData[2346] = [{1: 216, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":382} ]; productData[2347] = [{1: 216, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":382} ]; productData[2348] = [{3: 34, 1: 217}, {"price":59.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":59.00, "stock":0, "imageId":392} ]; productData[2349] = [{3: 35, 1: 217}, {"price":77.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":77.00, "stock":0, "imageId":392} ]; productData[2350] = [{3: 36, 1: 217}, {"price":96.65, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":96.65, "stock":0, "imageId":392} ]; productData[2351] = [{3: 37, 1: 217}, {"price":114.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":114.00, "stock":0, "imageId":392} ]; productData[2352] = [{3: 39, 1: 217}, {"price":79.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":79.00, "stock":0, "imageId":392} ]; productData[2353] = [{1: 217, 3: 222}, {"price":72.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":72.00, "stock":0, "imageId":392} ]; productData[2355] = [{1: 217, 3: 224}, {"price":139.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":139.00, "stock":0, "imageId":392} ]; productData[2356] = [{1: 217, 3: 225}, {"price":173.00, "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":173.00, "stock":0, "imageId":392} ]; var attribSets = [1, 3]; // Find the variant selected. function findVariant() { found = false; // Found flag. variantIndex = 0; // The index of the found variant element. // This just scans for a match and if found it sets the flags and breaks. // If one mismatch is detected it just breaks the loop. for (variant in productData) // Loop through the variant array, called 'productData'. { for (set in attribSets) // Now loop through the sets. { // Get a refference to a attribute set select box. attrib = document.getElementById("attributes"+attribSets[set]); // Check to see if the value of that attribute select box is in the productData attribute array. if (productData[variant][0][attribSets[set]]==attrib.value) { found = true; } else { found = false; break; } } if (found==true) { variantIndex = variant; break; } } if (variantIndex!=0) { var data = productData[variantIndex][1]; data["var_id"] = variantIndex; return data; } else { return false; } } // This enables and disables the submit button. function submitButtonEnable(enabled) { if(enabled==false) { document.getElementById("submitButton").style.display="none"; // document.getElementById("submitButton").disabled = true; } else { document.getElementById("submitButton").style.display="block"; // document.getElementById("submitButton").disabled = false; } } function specialRowEnabled(enable) { var browserName=navigator.appName; if (enable==false) { document.getElementById("specialRow").style.display="none"; } else { // Use block for IE because table-row doesn't work if (browserName=="Microsoft Internet Explorer") { document.getElementById("specialRow").style.display="block"; } else { document.getElementById("specialRow").style.display="table-row"; } } } // This is the function that gets called when the user changes the selection. function changeVariant() { // Get the selected variant. variant = findVariant(); // Sort out the stock //displayStock(); // Check if it is an exception. if (variant["exception"]=="FALSE") { // See if it is on special. if (variant["isSpecial"]=="TRUE") { // Display the special price with the old price with strike through font. document.getElementById("price").innerHTML = "AU$" + variant["price"].toFixed(2) + ""; document.getElementById("specialPrice").innerHTML = "AU$" + variant["specialPrice"].toFixed(2); specialRowEnabled(true); } // Just show the normal price. else { if(variant["price"] == 0) { document.getElementById("price").innerHTML = "POA"; specialRowEnabled(false); } else { document.getElementById("price").innerHTML = "AU$" + variant["price"].toFixed(2); specialRowEnabled(false); } } if (variant["imageId"]!=0) { swapImage(variant["imageId"]); } submitButtonEnable(true); // Enable the submit button. } else { // Variant must be an exception so display some text and disable the submit button. document.getElementById("price").innerHTML = "Product combination is not available"; submitButtonEnable(false); specialRowEnabled(false); } } function swapImage(image) { document.prodImageMain.src = productImages[image].src; }