//Data dictionary, nosql eat your heart out var data=['sample','test']; data[0]=new Array("edison","lola montes","i",1,10.5,17.5,"ocs"); data[1]=new Array("edison","lola montes","i",3.5,34.85,17.5,"ocs"); data[2]=new Array("edison","city lights","i",1,10.5,17.5,"ocs"); data[3]=new Array("edison","city lights","i",3.5,34.85,17.5,"ocs"); data[4]=new Array("edison","casablanca","i",1,10.5,17.5,"ocs"); data[5]=new Array("edison","casablanca","i",3.5,34.85,17.5,"ocs"); data[6]=new Array("lbs","moonbeam","i",1,11.85,21,"ocs"); data[7]=new Array("lbs","moonbeam","i",3.5,39.4,21,"ocs"); data[8]=new Array("haven st","no 402 blueberry kush","i",1,12.1,15,"ocs"); data[9]=new Array("haven st","no 402 blueberry kush","i",3.5,40.3,15,"ocs"); data[10]=new Array("haven st","no 402 blueberry kush","i",7,76.55,15,"ocs"); data[11]=new Array("aurora","mk ultra","i",1,12.85,20.5,"ocs"); data[12]=new Array("aurora","mk ultra","i",3.5,39.95,20.5,"ocs"); data[13]=new Array("altavie","airplane mode","i",1,14,15,"ocs"); data[14]=new Array("altavie","airplane mode","i",3.5,46.1,15,"ocs"); data[15]=new Array("altavie","airplane mode","i",7,91.85,15,"ocs"); data[16]=new Array("dna genetics","kosher kush","i",1,13.25,20.5,"ocs"); data[17]=new Array("dna genetics","kosher kush","i",3.5,44.15,20.5,"ocs"); data[18]=new Array("royal high","great white shark","i",1,16.15,14.5,"ocs"); data[19]=new Array("royal high","great white shark","i",3.5,53.75,14.5,"ocs"); data[20]=new Array("acreage farms","sensi star","i",1,15.35,17.5,"ocs"); data[21]=new Array("acreage farms","sensi star","i",3.5,51.05,17.5,"ocs"); data[22]=new Array("acreage farms","sensi star","i",7,96.95,17.5,"ocs"); data[23]=new Array("royal high","super skunk","i",1,16.15,16,"ocs"); data[24]=new Array("royal high","super skunk","i",3.5,53.75,16,"ocs"); data[25]=new Array("royal high","serious kush","i",1,16.15,16.5,"ocs"); data[26]=new Array("royal high","serious kush","i",3.5,53.75,16.5,"ocs"); data[27]=new Array("royal high","northern lights","i",1,16.15,12,"ocs"); data[28]=new Array("royal high","northern lights","i",3.5,53.75,12,"ocs"); data[29]=new Array("redecan","charlees","i",3.5,33.5,17,"ocs"); data[30]=new Array("canaca","white widow","i",3.5,34.1,19,"ocs"); data[31]=new Array("canaca","alien dawg","i",3.5,34.1,15.5,"ocs"); data[32]=new Array("canaca","mango","i",3.5,34.1,17,"ocs"); data[33]=new Array("symbl","dreamweaver","i",3.5,34.1,13,"ocs"); data[34]=new Array("northern green canada","polar kish","i",3.5,34.65,17.5,"ocs"); data[35]=new Array("aurora","la confidential","i",7,67.9,16.5,"ocs"); data[36]=new Array("aurora","la confidential","i",3.5,35,16.5,"ocs"); data[37]=new Array("tweed","argyle","i",3.5,35.15,6,"ocs"); data[38]=new Array("tweed","argyle","i",7,66.7,6,"ocs"); data[39]=new Array("emerald","hash plant","i",7,67.9,14.5,"ocs"); data[40]=new Array("emerald","hash plant","i",3.5,35.75,14.5,"ocs"); data[41]=new Array("tokyo smoke","pause","i",3.5,36.95,20,"ocs"); data[42]=new Array("tokyo smoke","pause","i",7,69.95,20,"ocs"); data[43]=new Array("tokyo smoke","equalize","i",3.5,36.95,9.5,"ocs"); data[44]=new Array("tokyo smoke","equalize","i",7,69.95,9.5,"ocs"); data[45]=new Array("lbs","palm tree cbd","i",3.5,39.4,8,"ocs"); data[46]=new Array("lbs","palm tree cbd","i",15,151.85,8,"ocs"); data[47]=new Array("vertical","shiskaberry","i",3.5,40.8,16,"ocs"); data[48]=new Array("vertical","shiskaberry","i",7,77.45,16,"ocs"); data[49]=new Array("sundial","zen berry","i",3.5,40.95,17.5,"ocs"); data[50]=new Array("sundial","zen berry","i",7,77.8,17.5,"ocs"); data[51]=new Array("san rafael '71","pink kush","i",3.5,41.45,20,"ocs"); data[52]=new Array("woodstock","purple chitral","i",3.5,44.25,19.5,"ocs"); data[53]=new Array("up","grace","i",3.5,43.15,19,"ocs"); data[54]=new Array("seven oaks","ultra sour","i",3.5,44.6,16.5,"ocs"); data[55]=new Array("flowr","bc sensi star","i",3.5,45.6,14,"ocs"); data[56]=new Array("flowr","bc sensi star","i",7,86.65,14,"ocs"); data[57]=new Array("houseplant","indica","i",3.5,47.65,20,"ocs"); data[58]=new Array("broken coast","quadra","i",3.5,48,18,"ocs"); data[59]=new Array("royal high","great white shark","i",3.5,53.75,18,"ocs"); data[60]=new Array("flowr","bc pink kush","i",3.5,54.75,17.75,"ocs"); data[61]=new Array("flowr","bc pink kush","i",7,104.05,17.75,"ocs"); data[62]=new Array("canna farms","pink kush","i",3.5,56.5,21.5,"ocs"); data[63]=new Array("canna farms","gsc","i",3.5,56.5,21.5,"ocs"); data[64]=new Array("qwest","spirit qwest","i",3.5,66.95,18,"ocs"); data[65]=new Array("qwest","ice qwest","i",3.5,66.95,19.5,"ocs"); data[66]=new Array("whistler cannabis co.","bubba kush","i",3.5,79.3,22,"ocs"); data[67]=new Array("whistler cannabis co.","cbd shark","i",3.5,79.3,7.5,"ocs"); data[68]=new Array("edison reserve","casablanca reserve","i",7,95.75,19,"ocs"); data[69]=new Array("edison reserve","lola montes reserve","i",7,95.75,17.5,"ocs"); data[70]=new Array("aurora","blue dream","s",1,10.5,20,"ocs"); data[71]=new Array("edison","rio bravo","s",1,10.5,17.5,"ocs"); data[72]=new Array("edison","rio bravo","s",3.5,34.85,17.5,"ocs"); data[73]=new Array("san rafael '71","tangerine dream","s",1,13.55,14.5,"ocs"); data[74]=new Array("san rafael '71","tangerine dream","s",3.5,41.45,14.5,"ocs"); data[75]=new Array("san rafael '71","tangerine dream","s",7,82.9,14.5,"ocs"); data[76]=new Array("altavie","harmonic","s",1,14,9.3,"ocs"); data[77]=new Array("altavie","harmonic","s",3.5,46.1,9.3,"ocs"); data[78]=new Array("spinach","dancehall","s",3.5,34.45,6,"ocs"); data[79]=new Array("spinach","dancehall","s",7,65.45,6,"ocs"); data[80]=new Array("redecan","long weekend","s",3.5,32.4,13.5,"ocs"); data[81]=new Array("redecan","long weekend","s",7,61.5,13.5,"ocs"); data[82]=new Array("color cannabis","mango haze","s",3.5,35.65,7.5,"ocs"); data[83]=new Array("tokyo smoke","rise","s",3.5,36.95,15,"ocs"); data[84]=new Array("tokyo smoke","rise","s",7,69.95,15,"ocs"); data[85]=new Array("hexo","horizon","s",3.5,39.9,15,"ocs"); data[86]=new Array("tokyo smoke","ease","s",3.5,36.95,8.5,"ocs"); data[87]=new Array("lbs","ocrean view","s",3.5,39.95,14,"ocs"); data[88]=new Array("san rafael '71","great white shark","s",3.5,41.45,5,"ocs"); data[89]=new Array("san rafael '71","great white shark","s",7,82.9,5,"ocs"); data[90]=new Array("dna genetics","chocolate fondue","s",3.5,44.15,21,"ocs"); data[91]=new Array("flowr","bc diesel","s",3.5,45.6,12.25,"ocs"); data[92]=new Array("altavie","north star cbd","s",3.5,46.1,0.5,"ocs"); data[93]=new Array("ace valley","ace valley sativa","s",3.5,45.6,12,"ocs"); data[94]=new Array("ace valley","ace valley sativa","s",7,86.65,12,"ocs"); data[95]=new Array("altavie","cabaret","s",3.5,46.1,20,"ocs"); data[96]=new Array("up","meridian","s",3.5,46.45,22,"ocs"); data[97]=new Array("canna farms","blue dream","s",3.5,56.5,20,"ocs"); data[98]=new Array("flowr","bc delahaze","s",3.5,54.75,13,"ocs"); data[99]=new Array("flowr","bc delahaze","s",7,104.05,13,"ocs"); data[100] = new Array("canna farms","critical super silver haze","s",3.5,56.5,19,"ocs"); data[101] = new Array("edison","la strada","s",7,66.2,17.5,"ocs"); data[102] = new Array("edison","la strada reserve","s",7,95.75,19,"ocs"); data[103] = new Array("solei","balance","h",1,9.55,6.5,"ocs"); data[104] = new Array("solei","balance","h",3.5,31.7,6.5,"ocs"); data[105] = new Array("aurora","banana split","h",1,12.85,11.5,"ocs"); data[106] = new Array("aurora","banana split","h",3.5,39.95,11.5,"ocs"); data[107] = new Array("aurora","banana split","h",7,77.75,11.5,"ocs"); data[108] = new Array("royal high","cbd tonic","h",1,16.15,6.5,"ocs"); data[109] = new Array("royal high","cbd tonic","h",3.5,53.75,6.5,"ocs"); data[110] = new Array("altavie","campfire","h",1,14,4.5,"ocs"); data[111] = new Array("altavie","campfire","h",3.5,46.1,4.5,"ocs"); data[112] = new Array("altavie","campfire","h",7,91.85,4.5,"ocs"); data[113] = new Array("aurora","summer fling","h",3.5,28.95,10,"ocs"); data[114] = new Array("trailblazer","glow hybrid bud","h",3.5,28.95,11.5,"ocs"); data[115] = new Array("canaca","jean guy","h",3.5,34.1,17,"ocs"); data[116] = new Array("redecan","cbd shark shock","h",3.5,32.4,3.5,"ocs"); data[117] = new Array("redecan","cbd shark shock","h",7,61.5,3.5,"ocs"); data[118] = new Array("redecan","cbd shark shock","h",15,131.8,3.5,"ocs"); data[119] = new Array("seven oaks","shiskaberry","h",3.5,35.2,13.5,"ocs"); data[120] = new Array("up","50 kush","h",3.5,39.8,14,"ocs"); data[121] = new Array("up","gems","h",3.5,39.8,14,"ocs"); data[122] = new Array("aurora","temple","h",3.5,39.95,1,"ocs"); data[123] = new Array("aurora","temple","h",7,77.74,1,"ocs"); data[124] = new Array("ace valley","ace valley cbd","h",3.5,40.55,5.25,"ocs"); data[125] = new Array("ace valley","ace valley cbd","h",7,77,5.25,"ocs"); data[126] = new Array("haven st","no 302 warlock","h",3.5,41.8,10,"ocs"); data[127] = new Array("haven st","no 301 napali cbd","h",3.5,41.25,6,"ocs"); data[128] = new Array("haven st","no 502 white light","h",3.5,41.8,18,"ocs"); data[129] = new Array("acreage farms","all kush","h",3.5,41.95,17.5,"ocs"); data[130] = new Array("acreage farms","all kush","h",7,79.55,17.5,"ocs"); data[131] = new Array("fireside","black","h",3.5,43.75,18,"ocs"); data[132] = new Array("up","moon","h",3.5,43.15,6,"ocs"); data[133] = new Array("fireside","red","h",3.5,43.75,14.5,"ocs"); data[134] = new Array("cove","reflect reserve","h",3.5,43.95,20,"ocs"); data[135] = new Array("cove","revive reserve","h",3.5,43.95,19,"ocs"); data[136] = new Array("cove","revive reserve","h",7,83.45,19,"ocs"); data[137] = new Array("7acres","jean guy","h",3.5,45.6,17.25,"ocs"); data[138] = new Array("houseplant","hybrid","h",3.5,47.65,15,"ocs"); data[139] = new Array("flowr","bc og sour diesel","h",3.5,54.75,16.25,"ocs"); data[140] = new Array("flowr","bc og sour diesel","h",7,104.05,16.25,"ocs"); data[141] = new Array("broken coast","keats","h",3.5,48,18.5,"ocs"); data[142] = new Array("broken coast","keats","h",7,91.2,18.5,"ocs"); data[143] = new Array("dna genetics","lemon skunk","h",3.5,44.15,17.5,"ocs"); data[144] = new Array("dna genetics","lemon skunk","h",7,83.9,17.5,"ocs"); data[145] = new Array("seven oaks","cold creek kush","h",3.5,44.6,14,"ocs"); data[146] = new Array("canna farms","tangerine dream","h",3.5,56.5,17,"ocs"); data[147] = new Array("ace valley","ace valley cbd","h",3.5,45.01,14,"hc"); data[148] = new Array("ace valley","ace valley sativa","s",3.5,50.00,18.89,"hc"); data[149] = new Array("acreage pharms","seni star","i",7,105.00,18,"hc"); data[150] = new Array("altavie","airplane mode","i",7,90.00,16,"hc"); data[151] = new Array("altavie","airplane mode","i",3.5,50.05,16,"hc"); data[152] = new Array("altavie","cabaret","s",3.5,50.05,17.6,"hc"); data[153] = new Array("altavie","campfire","i",1,15.50,6.3,"hc"); data[154] = new Array("altavie","campfire","i",3.5,51.25,6.3,"hc"); data[155] = new Array("altavie","harmonic","s",3.5,53.89,9,"hc"); data[156] = new Array("altavie","harmonic","s",1,18.07,9,"hc"); data[157] = new Array("altavie","north star cbd","s",3.5,55.02,14.7,"hc"); data[158] = new Array("altvavie","airplane mode","i",1,14.50,16,"hc"); data[159] = new Array("aurora","banana split","h",3.5,44.50,15,"hc"); data[160] = new Array("aurora","blue dream","s",3.5,40.10,15.7,"hc"); data[161] = new Array("aurora","la confidential","i",3.5,42.00,16.3,"hc"); data[162] = new Array("aurora","la confidential","i",7,75.50,16.3,"hc"); data[163] = new Array("aurora","mk ultra","i",3.5,42.02,20.6,"hc"); data[164] = new Array("auroroa","mk ultra","i",1,15.00,16,"hc"); data[165] = new Array("beleave","san fernando valley","i",3.5,49.51,13.76,"hc"); data[166] = new Array("broken coast","galiano","s",3.5,53.51,18.5,"hc"); data[167] = new Array("broken coast","galiano","s",7,99.00,18.5,"hc"); data[168] = new Array("broken coast","galiano","s",7,99.00,18.5,"hc"); data[169] = new Array("broken coast","keats","i",3.5,53.51,21.6,"hc"); data[170] = new Array("broken coast","keats","s",7,99.00,21.6,"hc"); data[171] = new Array("broken coast","quadra","i",3.5,53.51,18.2,"hc"); data[172] = new Array("broken coast","quadra","i",7.5,99.00,18.2,"hc"); data[173] = new Array("broken coast","ruxton","i",3.5,53.51,19.2,"hc"); data[174] = new Array("canaca","alien dawg","i",3.5,39.99,18,"hc"); data[175] = new Array("canaca","jean guy","h",3.5,39.99,17,"hc"); data[176] = new Array("canaca","white widow","i",3.5,39.99,19.1,"hc"); data[177] = new Array("canaca","white widow","i",3.5,39.99,19.1,"hc"); data[178] = new Array("canaca","white widow","i",3.5,39.99,19.1,"hc"); data[179] = new Array("canna farms","critical super silver haze","s",3.5,64.96,18,"hc"); data[180] = new Array("canna farms","gsc","i",3.5,59.88,20.2,"hc"); data[181] = new Array("canna farms","gsc","i",3.5,59.88,20.2,"hc"); data[182] = new Array("canna farms","tangerine dream","h",3.5,64.96,19.6,"hc"); data[183] = new Array("color cannabis","mango haze","s",3.5,40.00,7,"hc"); data[184] = new Array("cove","reflect reserve","h",7,89.82,17.1,"hc"); data[185] = new Array("cove","reflect reserve","h",3.5,47.00,17.1,"hc"); data[186] = new Array("cove","revive reserve","s",3.5,47.00,17.1,"hc"); data[187] = new Array("cove","rise reserve","s",7,92.00,17.1,"hc"); data[188] = new Array("dna genetics","chocolate fondue","s",3.5,50.00,23,"hc"); data[189] = new Array("dna genetics","chocolate fondue","s",7,93.00,23,"hc"); data[190] = new Array("dna genetics","kosher kush","i",3.5,49.71,17.7,"hc"); data[191] = new Array("dna genetics","lemon skunk","h",3.5,49.00,14.6,"hc"); data[192] = new Array("edison","casablanca","i",1,10.99,17,"hc"); data[193] = new Array("edison reserve","casablanca reserve","i",7,60.00,16.9,"hc"); data[194] = new Array("edison","city lights","i",3.5,36.50,17,"hc"); data[195] = new Array("edison","city lights","i",1,10.99,17,"hc"); data[196] = new Array("edison","rio bravo","s",1,10.99,16,"hc"); data[197] = new Array("emerald","hash plant","i",3.5,40.14,12,"hc"); data[198] = new Array("fireside","black","h",3.5,48.50,21,"hc"); data[199] = new Array("fireside","red","h",3.5,48.50,15.5,"hc"); data[200] = new Array("flowr","bc delahaze","s",3.5,60.00,18.7,"hc"); data[201] = new Array("flowr","bc delahaze","s",7,115.25,18.7,"hc"); data[202] = new Array("flowr","bc og sour diesel","i",3.5,60.00,16,"hc"); data[203] = new Array("flowr","bc pink kush","i",7,115.50,24,"hc"); data[204] = new Array("flowr","bc pink kush","i",3.5,58.87,24,"hc"); data[205] = new Array("flowr","bc sensi star","i",3.5,50.75,19,"hc"); data[206] = new Array("flowr","bc sensi star","i",7,96.25,19,"hc"); data[207] = new Array("flowr","pink kush","i",3.5,60.00,24.1,"hc"); data[208] = new Array("haven st","no 301 napali cbd","h",3.5,44.75,10,"hc"); data[209] = new Array("haven st","no 402 blueberry kush","i",3.5,45.19,18,"hc"); data[210] = new Array("haven st","no 402 blueberry kush","i",7,87.26,18,"hc"); data[211] = new Array("haven st","no 402 blueberry kush","i",3.5,45.19,18,"hc"); data[212] = new Array("haven st","no 502 white light","i",3.5,47.14,18.5,"hc"); data[213] = new Array("haven st "," no 402 blueberry kush","i",1,12.70,18,"hc"); data[214] = new Array("houseplant","hybrid","h",3.5,53.00,23,"hc"); data[215] = new Array("houseplant","indica","i",3.5,53.00,21,"hc"); data[216] = new Array("houseplant","sativa","s",7,100.01,24.3,"hc"); data[217] = new Array("houseplant","sativa","s",3.5,53.00,24.3,"hc"); data[218] = new Array("lbs"," palm tree cbd","i",3.5,50.05,14,"hc"); data[219] = new Array("lbs","moonbeam","i",1,13.25,14.4,"hc"); data[220] = new Array("lbs","moonbeam","i",3.5,43.51,14.4,"hc"); data[221] = new Array("lbs","moonbeam","i",7,83.00,14.4,"hc"); data[222] = new Array("lbs","ocean view","s",3.5,44.50,13,"hc"); data[223] = new Array("northern green canada","polar kish","i",15,148.00,15.4,"hc"); data[224] = new Array("northern green canada","polar kish","i",3.5,37.05,15.4,"hc"); data[225] = new Array("qwest","spirit qwest","h",3.5,74.00,18.28,"hc"); data[226] = new Array("redecan","carlees","i",3.5,37.50,17.1,"hc"); data[227] = new Array("redecan","cbd shark shock","h",3.5,39.99,8,"hc"); data[228] = new Array("redecan","cbd shark shock","h",7,64.58,8,"hc"); data[229] = new Array("redecan","cbd shark shock","h",1,10.99,8,"hc"); data[230] = new Array("redecan","long weekend","s",3.5,35.02,12.5,"hc"); data[231] = new Array("redecan","long weekend","s",3.5,35.02,12.5,"hc"); data[232] = new Array("royal high","cbd tonic","h",3.5,60.00,9,"hc"); data[233] = new Array("royal high","great white shark","i",1,18.00,16,"hc"); data[234] = new Array("royal high","northern lights","i",1,18.00,12.4,"hc"); data[235] = new Array("royal high","northern lights","i",3.5,58.75,12.4,"hc"); data[236] = new Array("royal high","serious kush","i",3.5,59.49,16.8,"hc"); data[237] = new Array("royal high","serious kush","i",3.5,59.49,16.8,"hc"); data[238] = new Array("royal high","super skunk","i",1,18.00,16.2,"hc"); data[239] = new Array("royal high","super skunk","i",3.5,58.75,16.2,"hc"); data[240] = new Array("san rafael 71","tangerine dream","s",7,92.00,13.7,"hc"); data[241] = new Array("san rafael 71","tangerine dream","s",3.5,47.75,13.7,"hc"); data[242] = new Array("san rafael 71","great white shark","s",3.5,47.51,13.9,"hc"); data[243] = new Array("san rafael 71","great white shark","s",7,92.00,13.9,"hc"); data[244] = new Array("san rafael 71","pink kush","i",3.5,45.08,24.5,"hc"); data[245] = new Array("seven oaks","cold creek kush","h",3.5,45.00,19.48,"hc"); data[246] = new Array("seven oaks","shiskaberry","h",3.5,45.00,14,"hc"); data[247] = new Array("seven oaks","ultra sour","i",3.5,45.00,18,"hc"); data[248] = new Array("solei","balance","i",3.5,35.01,8,"hc"); data[249] = new Array("solei","gather","s",1,10.99,15.23,"hc"); data[250] = new Array("spinach","dancehall","s",7,72.50,6,"hc"); data[251] = new Array("spinach","white widow","s",7,72.50,19.5,"hc"); data[252] = new Array("sundial","zen berry","i",7,86.00,15,"hc"); data[253] = new Array("symbl","dreamweaver","i",3.5,38.00,16,"hc"); data[254] = new Array("synr.g","fantasy island","i",3.5,35.02,15,"hc"); data[255] = new Array("tokyo smoke","go","s",3.5,41.01,20,"hc"); data[256] = new Array("tokyo smoke","pause","i",3.5,41.01,18,"hc"); data[257] = new Array("tokyo smoke","pause","i",7,77.76,18,"hc"); data[258] = new Array("tokyo smoke","rise","s",3.5,41.01,12.8,"hc"); data[259] = new Array("tokyo smoke","rise","s",7,77.76,12.8,"hc"); data[260] = new Array("trailblazer","glow hybrid bud","h",3.5,32.50,13.8,"hc"); data[261] = new Array("tweed","balmoral","h",3.5,40.00,19.7,"hc"); data[262] = new Array("tweed","penelope","h",3.5,40.00,7.8,"hc"); data[263] = new Array("up","50","h",3.5,44.50,15,"hc"); data[264] = new Array("up","gems","h",3.5,44.25,16,"hc"); data[265] = new Array("up","grace","i",3.5,44.00,16,"hc"); data[266] = new Array("up","meridian","s",7,98.00,10,"hc"); data[267] = new Array("up","meridian","s",3.5,50.84,10,"hc"); data[268] = new Array("up","moon","h",3.5,47.90,6,"hc"); data[269] = new Array("vertical","shiskaberry","i",3.5,45.00,16.68,"hc"); data[270] = new Array("vertical","shiskaberry","i",7,86.00,16,"hc"); data[271] = new Array("whistler cannabis co","chocolope","s",3.5,84.74,15.1,"hc"); data[272] = new Array("woodstock","purple chitral","i",3.5,48.58,16.33,"hc") data[273] = new Array("dna genetics","chocolate fondue","s",3.5,50.00,21,"gika"); data[273] = new Array("dna genetics","kosher kush","s",3.5,50,20.5,"gika"); data[274] = new Array("solei","balance","h",1,12,6.5,"gika"); data[275] = new Array("seven oaks","ultra sour","s",3.5,50,18,"gika"); data[276] = new Array("whistler cannabis co","bubba kush","i",7,85,22,"gika"); data[277] = new Array("flowr","bc delahaze","s",3.5,60,13,"gika"); data[278] = new Array("flowr","bc delahaze","s",7,115,13,"gika"); data[279]=new Array("flowr","bc pink kush","i",3.5,60,24,"gika"); data[280]=new Array("woodstock","purple chitral","i",3.5,50.00,16.33,"gika"); data[281]=new Array("flowr","bc pink kush","i",7,115,24,"gika"); data[282]=new Array("canaca","white widow","i",3.5,40,19,"gika"); data[283]=new Array("edison","casablanca","i",1,12,17.5,"gika"); data[284]=new Array("edison","casablanca","i",3.5,40,17.5,"gika"); data[285]=new Array("aurora","mk ultra","i",3.5,45,20.5,"gika"); data[286]=new Array("houseplant","hybrid","h",3.5,55,15,"gika"); data[287]=new Array("aurora","blue dream","s",1,12,20,"gika"); data[288]=new Array("aurora","blue dream","s",3.5,40,20,"gika"); data[289]=new Array("qwest","spirit qwest","i",3.5,75,18,"gika"); data[290]=new Array("altavie","cabaret","s",3.5,50,20,"gika"); data[291]=new Array("canaca","jean guy","h",3.5,40,17,"gika"); data[292]=new Array("aurora","banana split","h",3.5,45,15,"gika"); data[293]=new Array("houseplant","sativa","s",3.5,55,24.3,"gika"); data[294]=new Array("edison","rio bravo","s",3.5,40,17.5,"gika"); data[295]=new Array("edison","rio bravo","s",1,12,17.5,"gika"); data[296]=new Array("riff","sunday special","s",3.5,31.86,15.1,"hc"); function chatroulette() { title("rando"); data.sort(function(a, b){return 0.5 - Math.random()}); a.innerHTML+="<div id='row'><div id='left'>" +data[0][1] +"</div><div id='middle'>" +data[0][0].toUpperCase()+"</div><div id='middle'>" +data[0][3]+"g</div>" +"<div id='middle' ><b>$" +data[0][4]+"</b></div><div id='middle'>" +convert_letter_to_type(data[0][2])+"</div><div id='middle'>" +data[0][5]+"% THC</div><div id='middle'>"+data[0][6]+"</div><div id='right'>"+Math.round(data[0][5] / data[0][4] * data[0][3]/2 * 1000)/10+"% value</div>"; b.innerHTML=disclaimer(); } function wrestlingfiguring() { title("below $"+frenchtaco.value); for(var i = 0; i < data.length; i++) { data.sort(function(a,b) { return (b[5] / b[4] * b[3]) - (a[5] / a[4] * a[3]); }); if (data[i][4]<=parseFloat(document.getElementById("frenchtaco").value)) { a.innerHTML+="<div id='row'><div id='left'>" +data[i][1] +"</div><div id='middle'>" +data[i][0].toUpperCase()+"</div><div id='middle'>" +data[i][3]+"g</div>" +"<div id='middle' ><b>$" +data[i][4]+"</b></div><div id='middle'>" +convert_letter_to_type(data[i][2])+"</div><div id='middle'>" +data[i][5]+"% THC</div><div id='middle'>"+data[i][6]+"</div><div id='right'>"+Math.round(data[i][5] / data[i][4] * data[i][3]/2 * 1000)/10+"% value</div>"; } } b.innerHTML=disclaimer(); } function onionbacon() { if (frenchtaco.value.length>1) { wrestlingfiguring(); } } function do_everything(title,sort_type,quant) { a.innerHTML="<h3>"+title+"</h3>"; for(var i = 0; i < data.length; i++) { data.sort(function(a, b) { var textA = a[1]; var textB = b[1]; if (sort_type=="strain") return (textA < textB) ? -1 : (textA > textB) ? 1 : 0; else if (sort_type=="grower") return (textA < textB) ? -1 : (textA > textB) ? 1 : 0; else if (sort_type=="cheap") return a[4] -b[4]; else if (sort_type=="weakest") return a[5] - b[5]; else if (sort_type=="potent") return b[5] -a[5]; else if (sort_type="best") return (b[5] / b[4] * b[3]) - (a[5] / a[4] * a[3]); else return "fuck you"; }); if (quant=="q") { if (data[i][3]==7) { a.innerHTML+="<div id='row'><div id='left'>"+data[i][1]+"</div><div id='middle'>"+data[i][0].toUpperCase()+"</div><div id='middle'>"+data[i][3]+"g</div>"+"<div id='middle' ><b>$"+data[i][4]+"</b></div><div id='middle'>"+convert_letter_to_type(data[i][2])+"</div><div id='middle'>"+data[i][5]+"% THC</div><div id='middle'>"+data[i][6]+"</div><div id='right'>"+Math.round(data[i][5] / data[i][4] * data[i][3]/2 * 1000)/10+"% value</div>"; } }; if (quant=="all") { a.innerHTML+="<div id='row'><div id='left'>"+data[i][1]+"</div><div id='middle'>"+data[i][0].toUpperCase()+"</div><div id='middle'>"+data[i][3]+"g</div>"+"<div id='middle' ><b>$"+data[i][4]+"</b></div><div id='middle'>"+convert_letter_to_type(data[i][2])+"</div><div id='middle'>"+data[i][5]+"% THC</div><div id='middle'>"+data[i][6]+"</div><div id='right'>"+Math.round(data[i][5] / data[i][4] * data[i][3]/2 * 1000)/10+"% value</div>"; } else if (quant=="hq"){ if (data[i][3]==3.5) { a.innerHTML+="<div id='row'><div id='left'>"+data[i][1]+"</div><div id='middle'>"+data[i][0].toUpperCase()+"</div><div id='middle'>"+data[i][3]+"g</div>"+"<div id='middle' ><b>$"+data[i][4]+"</b></div><div id='middle'>"+convert_letter_to_type(data[i][2])+"</div><div id='middle'>"+data[i][5]+"% THC</div><div id='middle'>"+data[i][6]+"</div><div id='right'>"+Math.round(data[i][5] / data[i][4] * data[i][3]/2 * 1000)/10+"% value</div>"; } } else if (quant=="g"){ if (data[i][3]==1) { a.innerHTML+="<div id='row'><div id='left'>"+data[i][1]+"</div><div id='middle'>"+data[i][0].toUpperCase()+"</div><div id='middle'>"+data[i][3]+"g</div>"+"<div id='middle' ><b>$"+data[i][4]+"</b></div><div id='middle'>"+convert_letter_to_type(data[i][2])+"</div><div id='middle'>"+data[i][5]+"% THC</div><div id='middle'>"+data[i][6]+"</div><div id='right'>"+Math.round(data[i][5] / data[i][4] * data[i][3]/2 * 1000)/10+"% value</div>"; } } } //end for each b.innerHTML=disclaimer(); } function convert_letter_to_type(alphagetti) { if (alphagetti=='i') return 'indica'; else if (alphagetti=='s') return 'sativa'; else if (alphagetti=='h') return 'hybrid'; } function disclaimer() { return "<p><b>Important</b>: Dollar amounts are including tax, THC % is approximate based on previous supply and/or based on the average of the two values high and low provided on the ocs website. Prices and thc not guaranteed. I am not affiliated with any businesses listed herein." } function title(frean) { a.innerHTML="<h3>"+frean+"</h3>"; }

!