// JavaScript Document

boba_tea = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00002", "00600", "00003", "00601", "00004", "00604", "00005", "00006", "00007", "00011", "00015", "00016", "00017"],

"Cd": ["7", "5", "4", "2", "1", "3", "8", "5", "2", "9", "7", "4", "1"],

"Description": ["Tea, Jasmine Syrup", "Tea, Jasmine Syrup", "Tea, Assam Black Tea Syrup", "Tea, Assam Black Tea Syrup", "Thai Tea", "Thai Tea", "Tea, Black Tea Leaves (600 gm loose)", "Tea, Green Powder Latte", "Tea, Milk Powder Latte", "Leaf, Green Tea", "Tea, Assam Black Tea Filter Bag", "Tea, Koffee Black Tea Bag", "Tea, Green Tea Jasmine Tea Bag"],

"????": ["?????", "?????", "????????", "????????", "???", "???", "???? ", "??????", "????", "???? (??)", "????,???", "????, ???", "????,???"],

"Packing": ["1/3.5 kg", "6/3.5 kg", "1/3.5 kg", "6/3.5 kg", "1 pkg/Lbs", "30 pkg/Lbs", "1/600 gm", "1/2 Lbs", "1/2 Lbs", "2.2 Lbs", "1 Bag/15", "1 Bag/15", "1 Bag/15"],

"Weight": ["7.7 Lbs", "51 Lbs", "7.7 Lbs", "51 Lbs", "2.2 Lbs", "33 Lbs", "600 gm", "2 Lbs", "2 Lbs", "2.2 Lbs", "1 Lb", "1 Lb", "1 Lb"],

"Dimension": ["", "19” x 13” x 8”", "", "19” x 13” x 8”", "", "16” x 12” x 16”", "", "", "", "", "", "", ""],

"Wholesale": ["18", "108", "18", "108", "2.5", "75", "10", "13.5", "13.5", "29", "8.5", "8.5", "10"]

}





canned_bean = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00158", "00668", "00160", "00670"],

"Cd": ["1", "5", "4", "8"],

"Description": ["Bean, Green Sweet", "Bean, Green Sweet", "Bean, Red Sweet", "Bean, Red Sweet"],

"????": ["???", "???", "???", "???"],

"Packing": ["1/3.5 Kg", "6/3.5 Kg", "1/3.5 Kg", "6/3.5 Kg"],

"Weight": ["7.7 Lbs", "47 Lbs", "7.7 Lbs", "47 Lbs"],

"Dimension": ["", "19” x 13” x 7”", "", "19” x 13” x 7”"],

"Wholesale": ["11", "66", "11", "66"]

}




coconut_jelly = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00183", "00690", "00170", "00680", "00171", "00681", "00172", "00682", "00173", "00683", "00174", "00684", "00175", "00685", "00176", "00686", "00177", "00178", "00179", "00180", "00687", "00181", "00688", "00182", "00689", "00185", "00692", "00720", "00721", "00722", "00723", "00724", "00725", "00726", "00820", "00821", "00822", "00823", "00825", "00826"],

"Cd": ["3", "6", "3", "7", "0", "4", "7", "1", "4", "8", "1", "5", "8", "2", "5", "9", "2", "9", "6", "2", "6", "9", "3", "6", "0", "0", "3", "0", "7", "4", "1", "8", "5", "2", "7", "4", "1", "8", "2", "9"],

"Description": ["Coconut Jelly, Strawberry", "Coconut Jelly, Strawberry", "Coconut Jelly, Mango", "Coconut Jelly, Mango", "Coconut Jelly, Grape", "Coconut Jelly, Grape", "Coconut Jelly, Green Apple", "Coconut Jelly, Green Apple", "Coconut Jelly, Lemon", "Coconut Jelly, Lemon", "Coconut Jelly, Lychee", "Coconut Jelly, Lychee", "Coconut Jelly, Pineapple", "Coconut Jelly, Pineapple", "Coconut Jelly, Colorful", "Coconut Jelly, Colorful", "Jello Powder (Coffee)", "Jello Powder (Green Tea/Jasmine)", "Jello Powder (Strawberry)", "Jelly, Green Tea Crystal", "Jelly, Green Tea Crystal", "Jelly, Magic Coffee Crystal ", "Jelly, Magic Coffee Crystal", "Jelly, Rainbow Crystal", "Jelly, Rainbow Crystal", "Jelly, Yogurt", "Jelly, Yogurt", "Coconut Jelly, Green Apple (small bottle)", "Coconut Jelly, Lychee (small bottle)", "Coconut Jelly, Mango (small bottle)", "Coconut Jelly, Pineapple (small bottle)", "Coconut Jelly, Coffee Crystal (small bottle)", "Coconut Jelly, Rainbow Crystal (small bottle)", "Coconut Jelly, Strawberry (small bottle)", "Coconut Jelly, Green Apple (small bottle)", "Coconut Jelly, Lychee (small bottle)", "Coconut Jelly, Mango (small bottle)", "Coconut Jelly, Pineapple (small bottle)", "Coconut Jelly, Rainbow Crystal (small bottle)", "Coconut Jelly, Strawberry (small bottle)"],

"????": ["????", "????", "????", "????", "????", "????", "?????", "?????", "????", "????", "????", "????", "????", "????", "????", "????", "?????", "?????", "?????", "???(??)", "???(??)", "???? (??)", "???? (??)", "????(??)", "????(??)", "?????", "?????", "???????", "??????", "??????", "??????", "????? (??)", "?????(??)", "??????", "???????", "??????", "??????", "??????", "?????(??)", "??????"],

"Packing": ["1/4Kg", "4/4Kg", "1/4Kg", "4/4Kg", "1/4 Kg", "4/4 Kg", "1/4 Kg", "4/4 Kg", "1/4 Kg", "4/4 Kg", "1/4 Kg", "4/4 Kg", "1/4 Kg", "4/4 Kg", "1/4 Kg", "4/4 Kg", "1/1 Kg", "1/1 Kg", "1/1 Kg", "1/7.25 Lbs", "4/7.25 Lbs", "1/7.25 Lbs", "4/7.25 Lbs", "1/7.25 Lbs", "4/7.25 Lbs", "1/4 Kgs", "4/4 Kg", "1/1.25Lbs", "1/1.25Lbs", "1/1.25Lbs", "1/1.25Lbs", "1/1.25Lbs", "1/1.25Lbs", "1/1.25Lbs", "24/1.25Lbs", "24/1.25Lbs", "24/1.25Lbs", "24/1.25Lbs", "24/1.25Lbs", "24/1.25Lbs"],

"Weight": ["8.8Lbs", "38Lbs", "8.8Lbs", "38Lbs", "8.8 Lbs", "38 Lbs", "8.8 Lbs", "38 Lbs", "8.8 Lbs", "38 Lbs", "8.8 Lbs", "38 Lbs", "8.8 Lbs", "38 Lbs", "8.8 Lbs", "38 Lbs", "2.2 Lbs", "2.2 Lbs", "2.2 Lbs", "7.25 Lbs", "30 Lbs", "7.25 Lbs", "30 Lbs", "7.25 Lbs", "30 Lbs", "7.25 Lbs", "30 Lbs", "1.25Lbs", "1.25Lbs", "1.25Lbs", "1.25Lbs", "1.25Lbs", "1.25Lbs", "1.25Lbs", "30Lbs", "30Lbs", "30Lbs", "30Lbs", "30Lbs", "30Lbs"],

"Dimension": ["", "12'' x 12'' x 10''", "", "12'' x 12'' x 10''", "", "12'' x 12'' x 10''", "", "12'' x 12'' x 10''", "", "12'' x 12'' x 10''", "", "12'' x 12'' x 10''", "", "12'' x 12'' x 10''", "", "12'' x 12'' x 10''", "", "", "", "", "15'' x 15'' x 8''", "", "15'' x 15'' x 8''", "", "15'' x 15'' x 8''", "", "15'' x 15'' x 8''", "", "", "", "", "", "", "", "15'' x 12'' x 9''", "15'' x 12'' x 9''", "15'' x 12'' x 9''", "15'' x 12'' x 9''", "15'' x 12'' x 9''", "15'' x 12'' x 9''"],

"Wholesale": ["13.5", "54", "13.5", "54", "13.5", "54", "13.5", "54", "13.5", "54", "13.5", "54", "13.5", "54", "13.5", "54", "9", "9", "9", "14", "56", "14", "56", "14", "56", "14", "56", "3", "3", "3", "3", "3", "3", "3", "45", "45", "45", "45", "45", "45"]

}






coffee = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00027", "00028", "00029", "00030", "00031", "00032", "00033", "00034"],

"Cd": ["0", "7", "4", "0", "7", "4", "1", "8"],

"Description": ["Coffee Syrup, French Vanilla", "Coffee Syrup, Hazelnut", "Coffee Syrup, Irish Cream", "Coffee Syrup, Chocolate", "Coffee Syrup, Chocolate Mint", "Coffee Syrup, Caramel", "Coffee Syrup, Raspberry", "Coffee Syrup, Amaretto"],

"????": ["??? (??)", "??? (??)", "??? (???)", "???(???)", "??? (?????)", "???(??)", "???(??)", "???(?????)"],

"Packing": ["1/24 Oz", "1/24 Oz", "1/24 Oz", "1/24 Oz", "1/24 Oz", "1/24 Oz", "1/24 Oz", "1/24 Oz"],

"Weight": ["24 Oz", "24 Oz", "24 Oz", "24 Oz", "24 Oz", "24 Oz", "24 Oz", "24 Oz"],

"Dimension": ["", "", "", "", "", "", "", ""],

"Wholesale": ["5.5", "5.5", "5.5", "5.5", "5.5", "5.5", "5.5", "5.5"]

}





containers = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00366", "00367", "00368", "00369", "00370", "00371", "00372", "00373", "00374", "00375", "00376", "00377", "00378", "00379", "00380", "00381", "00382", "00383", "00384", "00385", "00386", "00387", "00388", "00395", "00396", "00397", "00398", "00399", "00402", "00403", "00404", "00405", "00407"],

"Cd": ["0", "7", "4", "1", "7", "4", "1", "8", "5", "2", "9", "6", "3", "0", "6", "3", "0", "7", "4", "1", "8", "5", "2", "0", "7", "4", "1", "8", "5", "2", "9", "6", "3"],

"Description": ["Straw, Small-Slant Cut (20cm, One Color)", "Straw, Jumbo-Slant Cut (Individual Wrapped)", "Straw, Jumbo-Slant Cut (Individual Wrapped)", "Straw, Jumbo-Slant Cut (20cm, One Color)", "Cup, AO 360cc-PP Plastic Cup (12oz)", "Cup, AO 500cc-PP Plastic Cup (16oz)", "Cup, AO 700cc-PP Plastic Cup (20oz)", "Cup, Clear Y500", "Cup, Dome Lid (C95B) ", "Cup, Flat Lid 500 & 700 CC-PP (A-5)", "Straw, Jumbo-Slant Cut (20cm, One Color)", "Straw, Jumbo-Slant Cut (20cm, Stripe)", "Straw, Jumbo-Slant Cut (22cm, Stripe)", "Straw, Small-Slant Cut (20cm, One Color)", "Sealer Roll, PP 500 M ", "Cup, Cheers 20 Oz CH20", "Honor 16oz Cup, Flat Lids", "Honor 16oz Cup, Dome Lids", "Cup, Solid Clear Cup (24oz)", "Cup, Solid Clear Cup (16oz)", "Cup, Lid (C5B) Dome Lids", "Cup, Lid (C5) Flat Lids", "Cup, AO 500cc-PP PICTURE CUP (16 oz)", "Cup Holder (4 cups Cup Tray)", "Plastic Bag (One Cup)", "Plastic Bag (Two Cups)", "Plastic Bag (Three Cups)", "Sealer Roll, PP 340 M ", "HTP  12oz Honor Cup", "HTP  16oz Honor Cup", "HTP  20oz Honor Cup", "HTP  24oz Honor Cup", "Honor 10oz Flat Lids"],

"????": ["??7??????(22cm)", "??7??????(22cm)", "??7??????(22cm)", "7??????", "12 oz ?????", "16 oz ?????", "20 oz ?????", "16 oz ?????", "???", "16/20 oz ?????", "??7??????(20cm)", "??7??????(20cm)", "??8??????(22cm)", "??7??????(20cm)", "????", "20 Oz ?????", "??????", "???", "?????", "?????", "???", "???????", "16 oz ?????", "??", "???? (??)", "???? (??)", "???? (??)", "????", "12 oz ?????", "16 oz ?????", "20 oz ?????", "24 oz ?????", "??????"],

"Packing": ["1/85 Pcs", "1/45 Pcs", "4000 Pcs", "1/45 Pcs", "2000 Pcs", "2000 Pcs", "1000 Pcs", "2000 Pcs", "2000 Pcs", "2000 Pcs", "4500 Pcs", "4500 Pcs", "4000 Pcs", "8500 Pcs", "1 Roll", "1000 Pcs", "1000 Pcs", "1000 Pcs", "500 Pcs", "1000 Pcs", "2000 Pcs", "2000 Pcs", "2000 Pcs", "300 Pcs", "1/820", "1/620", "1/480", "1 Roll", "1000 Pcs", "1000 Pcs", "1000 Pcs", "600 Pcs", "1000 Pcs"],

"Weight": ["0.3 Lbs", "0.3 Lbs", "27 Lbs", "0.3 Lbs", "34 Lbs", "39 Lbs", "23 Lbs", "36 Lbs", "11 Lbs", "8 Lbs", "25 Lbs", "25 Lbs", "25 Lbs", "18 Lbs", "", "29 Lbs", "8 Lbs", "9 Lbs", "29 Lbs", "35 Lbs", "11 Lbs", "8 Lbs", "39 Lbs", "", "", "", "", "", "", "", "", "", ""],

"Dimension": ["", "", "28” x 20” x 16”", "", "19” x 16” x 27”", "19” x 16” x 27”", "20” x 16” x 26”", "19” x 15” x 24”", "20” x 19” x 17”", "13” x 15” x 19”", "26” x 20” x 16”", "26” x 20” x 16”", "26” x 20” x 16”", "19” x 18” x 12”", "", "", "", "", "19'' x 16'' x 18''", "19'' x 16'' x 15''", "19” x 19” x 16”", "17” x 15” x 19”", "19” x 16” x 27”", "26'' x 18'' x 19''", "", "", "", "", "", "", "", "", ""],

"Wholesale": ["1", "2", "75", "1", "76", "76", "62", "110", "66", "39", "48", "48", "48", "48", "39", "79", "33", "52", "48", "65", "66", "39", "75", "40", "8", "8", "8", "25", "69", "92", "108", "72", "32"]

}







equipment = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00300", "00301", "00302", "00303", "00304", "00305", "00306", "00307", "00308", "00309", "00310", "00311", "00320", "00322", "00323", "00324", "00325", "00336", "00337", "00338", "00339", "00340", "00341", "00342", "00343", "00344", "00345", "00346", "00348"],

"Cd": ["4", "1", "8", "5", "2", "9", "6", "3", "0", "7", "3", "0", "2", "6", "3", "0", "7", "3", "0", "7", "4", "0", "7", "4", "1", "8", "5", "2", "6"],

"Description": ["Cup, Shake/Stainless 18 Oz", "Cup, Shake/Stainless 22 Oz", "Kitchen Ware, Powder Spoon", "Container Pour, Juice Jar", "Ice Scoop (Stainless Steel)", "Sugar Scoop", "Pitcher Container ", "Measuring Cup", "Cooking Pot (Aluminum 24 quarts)", "Colander (Strainer, Stainless Steel)", "West Bent Coffee Maker (55 cups)", "Powder Container Canister", "Sealing Machine w/ Cover TSM 140", "Sealing Machine EASY 168", "Sealing Machine ET39H", "Shave Ice Machine PD-22", "Shave Ice Machine PD-OV", "Blender Machine, VITA-MIX #748", "Blender Machine, VITA-MIX #1230", "Portion Blending System (PBS)", "Blender (Top) Jar w/ Lid & Blade (48oz)", "Blender (Top) Jar w/ Lid & Blade (64oz)", "Blender (Top) Jar (48oz)", "Blender (Top) Jar (64oz)", "Rubber Lid and Plug (48oz)", "Rubber Lid and Plug (64oz)", "Ice Blade Assembly", "Blender Repair Tools Kit (Box Included)", "Blender Container Rinser"],

"????": ["??????", "??????", "??", "???", "?????", "??", "????", "??", "???", "??", "?????", "??????", "???????(?)", "???", "???", "???", "???", "???", "???", "???", "?????", "?????", "?????", "?????", "????", "????", "?????", "??????", "???????"],

"Packing": ["1 Set", "1 Set", "1 Pc", "1 Set", "1 Set", "1 Pc", "1 Set", "1 Set", "1 Pc", "1 Set", "1 Set", "1 Set", "1 Set", "1 Set", "1 Set", "1 Set", "1 Set", "1 Set", "1 Set", "1 Set", "1 Pc", "1 Pc", "1 Pc", "1 Pc", "1 Set", "1 Set", "1 Unit", "1 Set", "1 Set"],

"Weight": ["", "", "", "", "", "", "", "", "", "", "", "2 Lbs", "84 Lbs", "78 Lbs", "72Lbs", "60 Lbs", "", "", "", "", "", "", "", "", "", "", "", "3 Lbs", ""],

"Dimension": ["", "", "", "", "", "", "½ Galloon ", "", "", "", "", "", "20” x 18” x 25”", "18” x 14” x 27”", "17” x 14” x 26”", "18” x 14” x 20”", "", "", "", "", "", "", "", "", "", "", "", "", ""],

"Wholesale": ["12.5", "14.5", "1.5", "6", "9", "8", "13", "9", "65", "25", "98", "9", "2800", "1800", "695", "950", "850", "415", "465", "2650", "118", "148", "39", "45", "35", "39", "89", "68", "185"]

}






jam = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00166", "00676", "00167", "00677"],

"Cd": ["6", "0", "3", "7"],

"Description": ["Jam, Green Mango", "Jam, Green Mango", "Jam, Strawberry (particle)", "Jam, Strawberry (particle)"],

"????": ["????", "????", "??????", "??????"],

"Packing": ["1/4 Kg", "6/4 Kg", "1/4 Kg", "6/4 Kg"],

"Weight": ["8.8 Lbs", "56 Lbs", "8.8 Lbs", "56 Lbs"],

"Dimension": ["", "20” x 14” x 10”", "", "22” x 14” x 10”"],

"Wholesale": ["16", "96", "16", "96"]

}








juice = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908", "9  73908", "10  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00105", "00630", "00106", "00631", "00632", "00633", "00107", "00632", "00108", "00633", "00109", "00634", "00110", "00635", "00111", "00636", "00112", "00637", "00113", "00638", "00114", "00639", "00115", "00640", "00116", "00641", "00117", "00642", "00118", "00643", "00119", "00644", "00120", "00645", "00121", "00646", "00122", "00647", "00123", "00648", "00124", "00649", "00125", "00650", "00126", "00651", "00127", "00652", "00128", "00653", "00129", "00654", "00130", "00655", "00131", "00656", "00132", "00657", "00133", "00658", "00135", "00660", "00151", "00152"],

"Cd": ["5", "2", "2", "9", "10", "11", "9", "6", "6", "3", "3", "0", "9", "7", "6", "4", "3", "1", "0", "8", "7", "5", "4", "1", "1", "8", "8", "5", "5", "2", "2", "9", "8", "6", "5", "3", "2", "0", "9", "7", "6", "4", "3", "0", "0", "7", "7", "4", "4", "1", "1", "8", "7", "5", "4", "2", "1", "9", "0", "9", "7", "6", "2", "9"],

"Description": ["Juice, Blueberry", "Juice, Blueberry", "Juice, Grape", "Juice, Grape", "Juice, Grape", "Juice, Grape", "Juice, Ginger", "Juice, Ginger", "Juice, Grass", "Juice, Grass", "Juice, Green Apple", "Juice, Green Apple", "Juice, Cantaloupe", "Juice, Cantaloupe", "Juice, Kiwi", "Juice, Kiwi", "Juice, Kumquat (Tangerine)", "Juice, Kumquat (Tangerine)", "Juice, Lemon", "Juice, Lemon", "Juice, Longan", "Juice, Longan", "Juice, Lychee", "Juice, Lychee", "Juice, Grapefruit", "Juice, Grapefruit", "Juice, Mango", "Juice, Mango", "Juice, Peppermint Syrup", "Juice, Peppermint Syrup", "Juice, Mulberry", "Juice, Mulberry", "Juice, Orange", "Juice, Orange", "Juice, Passion Fruit", "Juice, Passion Fruit", "Juice, Peach", "Juice, Peach", "Juice, Pineapple", "Juice, Pineapple", "Juice, Plum (Red)", "Juice, Plum (Red)", "Juice, Plum (Ume)", "Juice, Plum (Ume)", "Juice, Red Apple", "Juice, Red Apple", "Juice, Strawberry", "Juice, Strawberry", "Juice, Star Fruit", "Juice, Star Fruit", "Juice, Yoghurt Extra", "Juice, Yoghurt Extra", "Juice, Curacao (Blue)", "Juice, Curacao (Blue)", "Juice, Wintermelon", "Juice, Wintermelon", "Juice, Grenadine", "Juice, Grenadine", "Juice, Green Honeydew", "Juice, Green Honeydew", "Juice, Raspberry", "Juice, Raspberry", "Fructose", "Fructose"],

"????": ["??????", "??????", "??????", "??????", "??????", "??????", "??????", "??????", "???", "???", "???????", "???????", "???????", "???????", "???????", "???????", "??????", "??????", "??????", "??????", "?????", "?????", "??????", "??????", "????????", "????????", "??????", "??????", "??????", "??????", "??????", "??????", "??????", "??????", "???????", "???????", "???????", "???????", "??????", "??????", "??????", "??????", "??????", "??????", "????????", "????????", "??????", "??????", "??????", "??????", "?????", "?????", "?????????", "?????????", "???????", "???????", "?????", "?????", "????????", "????????", "?????", "?????", "??", "??"],

"Packing": ["1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "6/5 Lbs", "6/5 Lbs", "1/2.86 Lbs", "12/2.86 Lbs", "1/3.5 Lbs", "6/3.5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/2.9 Lbs", "12/2.9 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/5 Lbs", "6/5 Lbs", "1/2.9 Lbs", "12/2.9 Lbs", "55 Lbs", "11 Lbs"],

"Weight": ["5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "36 Lbs", "37 Lbs", "2.86 Lbs", "37 Lbs", "3.5 Lbs", "45 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "2.9 Lbs", "37 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "5 Lbs", "35 Lbs", "", "", "55 Lbs", "11 Lbs"],

"Dimension": ["", "15” x 10” x 11”", "", "15” x 10” x 11”", "15” x 10” x 11”", "15” x 10” x 11”", "", "14” x 10” x 10”", "", "19” x 13” x 8”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "14” x 10” x 10”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "15” x 10” x 11”", "", "", "Drum", ""],

"Wholesale": ["12", "72", "9.5", "57", "46", "47", "9.5", "114", "8.5", "51", "9.5", "57", "9.5", "57", "9.5", "57", "10.5", "63", "9.5", "57", "9.5", "114", "9.5", "57", "12.5", "75", "9.5", "57", "12.5", "75", "9.5", "57", "9.5", "57", "9.5", "57", "9.5", "57", "9.5", "57", "9.5", "57", "9.5", "57", "10.5", "63", "9.5", "57", "9.5", "57", "12", "72", "10.5", "63", "10.5", "63", "11.5", "70", "9.5", "57", "11.5", "138", "38", "13"]

}




powder = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00050", "00051", "00052", "00053", "00054", "00055", "00056", "00057", "00058", "00059", "00060", "00061", "00062", "00064", "00065", "00066", "00068", "00069", "00070", "00071", "00072", "00073", "00074", "00075", "00616", "00076", "00617", "00077", "00618", "00078", "00619", "00081", "00614", "00082", "00083", "00084", "00085", "00086", "00088", "00089", "00090"],

"Cd": ["8", "5", "2", "9", "6", "3", "0", "7", "4", "1", "7", "4", "1", "5", "2", "9", "3", "0", "6", "3", "0", "7", "4", "1", "6", "8", "3", "5", "0", "2", "7", "6", "8", "9", "6", "3", "0", "7", "1", "8", "4"],

"Description": ["Powder, Green Bean", "Powder, Champagne", "Powder, Green Apple", "Powder, Mango", "Powder, Coffee Mix", "Powder, Honeydew", "Powder, Coconut", "Powder, Durian", "Powder, Almond", "Powder, Red Bean", "Powder, Papaya", "Powder, Peanut", "Powder, Sesame", "Powder, Watermelon", "Powder, Strawberry", "Powder, Taro", "Powder, Avocado", "Powder, Jackfruit", "Powder, Banana", "Powder, Soursop", "Powder, Pink Guava", "Powder, Lychee", "Powder, Peach", "Powder, Vanilla Smoothie (Big Train)", "Powder, Vanilla Smoothie (Big Train)", "Powder, Vanilla Latte (Big Train)", "Powder, Vanilla Latte (Big Train)", "Powder, Mocha (Big Train)", "Powder, Mocha (Big Train)", "Powder, Cookies & Cream (Big Train)", "Powder, Cookies & Cream (Big Train)", "Powder, Green Tea (Big Train)", "Powder, Green Tea (Big Train)", "Powder, Nondairy Creamer", "Powder, Nondairy Creamer", "Powder, Cappuccino", "Powder, Pineapple", "Powder, Jasmine Tea", "Powder, Vanila", "Powder, Green Coconut", "Powder, Ginger"],

"????": ["????", "?????", "??????", "?????", "??????", "?????", "???", "???", "????2?1?", "????", "???", "?????", "?????", "?????", "?????", "?????", "????", "????", "???", "?????", "?????", "???", "????", "???", "???", "?????", "?????", "???", "???", "?????", "?????", "???", "???", "???", "???", "???????", "???", "?????", "???", "????", "????"],

"Packing": ["1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/3.5 Lbs", "5/3.5 Lbs", "1/3.5 Lbs", "5/3.5 Lbs", "1/3.5 Lbs", "5/3.5 Lbs", "1/3.5 Lbs", "5/3.5 Lbs", "1/3.5 Lbs", "5/3.5 Lbs", "1/2.2 Lbs", "1/1 Lb", "1/2 Lbs", "1/2 Lbs", "1/2 Lbs", "1/2.2 Lbs", "1/2. Lbs", "1/2 Lbs"],

"Weight": ["2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "3.5 Lbs", "17.5 Lbs", "3.5 Lbs", "17.5 Lbs", "3.5 Lbs", "17.5 Lbs", "3.5 Lbs", "17.5 Lbs", "3.5 Lbs", "17.5 Lbs", "2.2 Lbs", "1 Lb", "2 Lbs", "2 Lbs", "2 Lbs", "2.2 Lbs", "2 Lbs", "2 Lbs"],

"Dimension": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "12'' x 10'' x 8''", "", "12'' x 10'' x 8''", "", "12'' x 10'' x 8''", "", "12'' x 10'' x 8''", "", "12'' x 10'' x 8''", "", "", "", "", "", "", "", ""],

"Wholesale": ["10.5", "10.5", "10.5", "10.5", "11.5", "10.5", "11.5", "11.5", "10.5", "10.5", "10.5", "10.5", "10.5", "10.5", "10.5", "10.5", "11.5", "11.5", "11.5", "11.5", "11.5", "10.5", "10.5", "19", "95", "19", "95", "19", "95", "19", "95", "19", "95", "4", "2.5", "11.5", "10.5", "11.5", "11.5", "11.5", "11.5"]

}





pudding = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00094", "00095", "00096", "00097", "00098", "00099"],

"Cd": ["2", "9", "6", "3", "0", "2"],

"Description": ["Powder, Almond Pudding", "Powder, Taro Pudding", "Powder, Egg Pudding", "Powder, Strawberry Pudding", "Powder, Mango Pudding", "Powder, Chocolate Pudding"],

"????": ["???????", "???????", "???????", "???????", "???????", "????????"],

"Packing": ["1/ 2 Lbs", "1/ 2 Lbs", "1/ 2 Lbs", "1/ 2 Lbs", "1/ 2 Lbs", "1/ 2 Lbs"],

"Weight": ["2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs", "2 Lbs"],

"Dimension": ["", "", "", "", "", ""],

"Wholesale": ["12", "12", "12", "12", "12", "12"]

}






tapioca_ball = {

"Co_Code": ["8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908", "8  73908"],

"Item": ["00036", "00038", "00039", "00041", "00043", "00044", "00045", "00046", "00047"],

"Cd": ["", "6", "3", "6", "0", "7", "4", "1", "8"],

"Description": ["Tapioca Ball (2.5mm), Color", "Tapioca Ball (1.2mm), Mini Tapioca", "Tapioca Ball (2.5mm)", "Tapioca Ball (2.5 mm)", "Tapioca Ball (1.2 mm), Mini Tapioca", "Tapioca Ball (2.5 mm)", "Tapioca Starch", "Tapioca Ball (2.5 mm), Color", "Tapioca Ball (2.5mm)"],

"????": ["????????,?", "???????,?", "???????,?", "???????,?", "???????,?", "???????,   ?", "???", "????????,?", "???????,   ?"],

"Packing": ["1/6.6 Lbs", "1/6.6 Lbs", "6/6.6 Lbs", "1/6.6 Lbs", "6/6.6 Lbs", "1/300 gm", "1/10 Kg", "6/6.6 Lbs", "96/300 gm"],

"Weight": ["6.6 Lbs", "6.6 Lbs", "41 Lbs", "6.6 Lbs", "41 Lbs", "300 gm", "22 Lbs", "41 Lbs", "64 Lbs"],

"Dimension": ["", "", "18” x 12” x 9”", "", "18” x 12” x 9”", "", "", "18” x 12” x 9”", "18” x 12” x 14”"],

"Wholesale": ["", "7.5", "42", "7.5", "42", "1", "12", "", "82"]

}





selections = new Array("boba_tea", "coffee", "tapioca_ball", "pudding", "powder", "juice", "jam", "equipment", "containers", "coconut_jelly", "canned_bean");

_c = document.getElementById("content");
_sc = document.getElementById("subcontent");

function populateMenu(){
	for(var x=0;selections[x];x++){
		_sc.innerHTML += "<a href='Javascript:loadData(" + selections[x] + ", \"" + selections[x].replace(/_/ig, " ") + "\");'>" + selections[x].replace(/_/ig, " ");
		_sc.innerHTML += "</a><br>";
	}	
}


function loadData(source, heading){
	header = heading;
	current_source = source;
	current_item = 0;
	last_item = source['Description'].length;
	setCurrentItem();
}

function nextItem(){
	if(current_item >= last_item - 1) current_item = 0;
	else current_item++;
	setCurrentItem();
}

function prevItem(){
	if(current_item <= 0) current_item = last_item - 1;
	else current_item--;
	setCurrentItem();
}

function gotoItem(which){
	current_item = which;
	setCurrentItem();
}

function setCurrentItem(){
	var thisData = "";
	var quickLinks = "";
	for(var x=0;x<=last_item-1;x++){
			if(x!=current_item)quickLinks += "<a href='javascript:gotoItem("+x+");' class=unselected> " + (x+1) + "</a>";
			else quickLinks += "<a href='javascript:gotoItem("+x+");' class=selected> " + (x+1) + "</a>";			
	}
	var price = parseInt(current_source['Wholesale'][current_item]).toFixed(2);
	
	
	thisData += "<div id='header'>" + header + "</div>";
	thisData += "<div id='qlinks'>" + quickLinks + "</div>";
	thisData += "<div id='description'>" + current_source['Description'][current_item] + "</div>";
	thisData += "<div id='dimension'>" + current_source['Dimension'][current_item] + "</div>";
	thisData += "<div id='weight'>" + current_source['Weight'][current_item] + "</div>";
	thisData += "<div id='packing'>" + current_source['Packing'][current_item] + "</div>";
	document.getElementById("imageholder").innerHTML = "<img src='products/" + current_source['Item'][current_item] + ".jpg' class='prodImg' id='prdImg'>";
	//thisData += "<img src='products/" + current_source['Item'][current_item] + ".gif' class='prodImg'>";
	
	if(!isNaN(price))thisData += "<div id='wholesale'>Wholesale Price: <span id='price'>$" + price + "</span></div>";
	
	thisData += "<div id='nav'><a href='javascript:prevItem();'><img src='arrow-left.gif'></a> &nbsp;&nbsp;&nbsp;<a href='javascript:nextItem();'><img src='arrow-right.gif'></a></div>";
	
	_c.innerHTML = thisData;	
	
	setTimeout(hideBrokenImage, 1000);
}


function IsImageOk(img) {
    // During the onload event, IE correctly identifies any images that
    // weren't downloaded as not complete. Others should too. Gecko-based
    // browsers act like NS4 in that they report this incorrectly.
    if (!img.complete) {
        return false;
    }

    // However, they do have two very useful properties: naturalWidth and
    // naturalHeight. These give the true size of the image. If it failed
    // to load, either of these should be zero.
    if (typeof img.naturalWidth != "undefined" && img.naturalWidth == 0) {
        return false;
    }

    // No other way of checking: assume it's ok.
    return true;
}

function hideBrokenImage(){
	var myImg = document.getElementById("prdImg");
	if(!IsImageOk(myImg)){
		myImg.style.display = "none";
	}else{
		myImg.style.display = "inline";
	}
}

populateMenu();
//loadData(boba_tea);
