var productImages = [];
// Preloaded image. ID = 1336
productImages[1336] = new Image();
productImages[1336].src="/image/product/medium/fonda01royal_purple-a-1.jpg";
productImages[1336].alt = "Fonda Convertible Bikini shown in Royale Purple - Converted to a bandeau bikini top";
// Preloaded image. ID = 1337
productImages[1337] = new Image();
productImages[1337].src="/image/product/medium/fonda01royal_purple.jpg";
productImages[1337].alt = "Fonda Convertible Bikini shown in Royale Purple - Converted to a bandeau bikini top";
// Preloaded image. ID = 1338
productImages[1338] = new Image();
productImages[1338].src="/image/product/medium/fonda06royal_purple_l.jpg";
productImages[1338].alt = "Fonda Convertible Bikini shown in Royale Purple - Converted to a bandeau bikini top";
// Preloaded image. ID = 1339
productImages[1339] = new Image();
productImages[1339].src="/image/product/medium/fonda02royal_purple.jpg";
productImages[1339].alt = "Fonda Convertible Bikini shown in Royale Purple - Converted to a bandeau bikini top";
// Preloaded image. ID = 1340
productImages[1340] = new Image();
productImages[1340].src="/image/product/medium/fonda04royal_blue.jpg";
productImages[1340].alt = "Fonda Convertible Bikini shown in Royale Blue - Converted to a bandeau bikini top";
// Preloaded image. ID = 1341
productImages[1341] = new Image();
productImages[1341].src="/image/product/medium/fonda05sky_blue.jpg";
productImages[1341].alt = "Fonda Convertible Bikini shown in Powder Blue - Converted to a u-shaped bikini top";
// Preloaded image. ID = 1342
productImages[1342] = new Image();
productImages[1342].src="/image/product/medium/fonda03variation_lilac.jpg";
productImages[1342].alt = "Fonda Convertible Bikini shown in Lilac - Converted to a halterneck bikini top";
var productData = [];
productData[2470] = [{1: 4, 13: 99, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2471] = [{1: 4, 13: 100, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2472] = [{1: 4, 13: 101, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2473] = [{1: 4, 13: 102, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2474] = [{1: 4, 13: 103, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2475] = [{1: 4, 13: 99, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2476] = [{1: 4, 13: 100, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2477] = [{1: 4, 13: 101, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2478] = [{1: 4, 13: 102, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2479] = [{1: 4, 13: 103, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2480] = [{1: 4, 13: 99, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2481] = [{1: 4, 13: 100, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2482] = [{1: 4, 13: 101, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2483] = [{1: 4, 13: 102, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2484] = [{1: 4, 13: 103, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2485] = [{1: 4, 13: 99, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2486] = [{1: 4, 13: 100, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2487] = [{1: 4, 13: 101, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2488] = [{1: 4, 13: 102, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2489] = [{1: 4, 13: 103, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2490] = [{1: 1, 13: 99, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2491] = [{1: 1, 13: 100, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2492] = [{1: 1, 13: 101, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2493] = [{1: 1, 13: 102, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2494] = [{1: 1, 13: 103, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2495] = [{1: 1, 13: 99, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2496] = [{1: 1, 13: 100, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2497] = [{1: 1, 13: 101, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2498] = [{1: 1, 13: 102, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2499] = [{1: 1, 13: 103, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2500] = [{1: 1, 13: 99, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2501] = [{1: 1, 13: 100, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2502] = [{1: 1, 13: 101, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2503] = [{1: 1, 13: 102, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2504] = [{1: 1, 13: 103, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2505] = [{1: 1, 13: 99, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2506] = [{1: 1, 13: 100, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2507] = [{1: 1, 13: 101, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2508] = [{1: 1, 13: 102, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2509] = [{1: 1, 13: 103, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2510] = [{1: 2, 13: 99, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2511] = [{1: 2, 13: 100, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2512] = [{1: 2, 13: 101, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2513] = [{1: 2, 13: 102, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2514] = [{1: 2, 13: 103, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2515] = [{1: 2, 13: 99, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2516] = [{1: 2, 13: 100, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2517] = [{1: 2, 13: 101, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2518] = [{1: 2, 13: 102, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2519] = [{1: 2, 13: 103, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2520] = [{1: 2, 13: 99, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2521] = [{1: 2, 13: 100, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2522] = [{1: 2, 13: 101, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2523] = [{1: 2, 13: 102, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2524] = [{1: 2, 13: 103, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2525] = [{1: 2, 13: 99, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2526] = [{1: 2, 13: 100, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2527] = [{1: 2, 13: 101, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2528] = [{1: 2, 13: 102, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2529] = [{1: 2, 13: 103, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2530] = [{1: 3, 13: 99, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2531] = [{1: 3, 13: 100, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2532] = [{1: 3, 13: 101, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2533] = [{1: 3, 13: 102, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2534] = [{1: 3, 13: 103, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2535] = [{1: 3, 13: 99, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2536] = [{1: 3, 13: 100, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2537] = [{1: 3, 13: 101, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2538] = [{1: 3, 13: 102, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2539] = [{1: 3, 13: 103, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2540] = [{1: 3, 13: 99, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2541] = [{1: 3, 13: 100, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2542] = [{1: 3, 13: 101, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2543] = [{1: 3, 13: 102, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2544] = [{1: 3, 13: 103, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2545] = [{1: 3, 13: 99, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2546] = [{1: 3, 13: 100, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2547] = [{1: 3, 13: 101, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2548] = [{1: 3, 13: 102, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2549] = [{1: 3, 13: 103, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2550] = [{1: 5, 13: 99, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2551] = [{1: 5, 13: 100, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2552] = [{1: 5, 13: 101, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2553] = [{1: 5, 13: 102, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2554] = [{1: 5, 13: 103, 8: 89}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2555] = [{1: 5, 13: 99, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2556] = [{1: 5, 13: 100, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2557] = [{1: 5, 13: 101, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2558] = [{1: 5, 13: 102, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2559] = [{1: 5, 13: 103, 8: 90}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2560] = [{1: 5, 13: 99, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2561] = [{1: 5, 13: 100, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2562] = [{1: 5, 13: 101, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2563] = [{1: 5, 13: 102, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2564] = [{1: 5, 13: 103, 8: 91}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2565] = [{1: 5, 13: 99, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2566] = [{1: 5, 13: 100, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2567] = [{1: 5, 13: 101, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2568] = [{1: 5, 13: 102, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
productData[2569] = [{1: 5, 13: 103, 8: 92}, {"price":'AU$135.00 ($123.05 USD?)', "exception":'FALSE', "isSpecial":'FALSE', "specialPrice":'AU$135.00 ($123.05 USD?)', "stock":-1, "imageId":0} ];
var attribSets = [1, 13, 8];
// 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";
}
}
}
// Display stock indicator
function displayStock()
{
// DON'T SWAP STOCK for Zakoda
return true;
// Get the selected variant.
variant = findVariant();
// Check if it is an exception. and display a custom message
if (variant["exception"]=="TRUE") { // See if it is on special.
stockString = "Not Available"
}
else if (variant["stock"] < 0) {
stockString = "Approximately 2 weeks";
}
else if (variant["stock"] == 0) {
stockString = 'Contact us for availability';
}
else if (variant["stock"] > 0) {
stockString = "IN STOCK. SHIPS WITHIN 1 - 3 DAYS";
}
document.getElementById("stock").innerHTML = stockString;
}
// 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 = "" + variant["price"] + "";
document.getElementById("specialPrice").innerHTML = variant["specialPrice"];
specialRowEnabled(true);
} // Just show the normal price.
else
{
document.getElementById("price").innerHTML = variant["price"];
specialRowEnabled(false);
}
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 = "Item Not Available";
submitButtonEnable(false);
specialRowEnabled(false);
}
}