function DeviceProductIdHaveMarker(device_product_id) { device_product_id = parseInt(device_product_id); switch (device_product_id) { case 1: case 2: case 3: case 4: case 5: case 6: case 8: case 9: case 10: case 16: case 21: return true; break; } return false; } function DeviceProductIdHaveTracer(device_product_id) { device_product_id = parseInt(device_product_id); switch (device_product_id) { case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 14: case 15: case 17: case 20: case 21: case 36: case 37: return true; break; } return false; } function DeviceProductIdHaveKali(device_product_id) { device_product_id = parseInt(device_product_id); switch (device_product_id) { case 24: case 25: case 26: case 27: case 32: case 33: case 34: case 35: case 36: case 37: case 45: case 46: return true; break; } return false; } function DeviceProductIdHaveDongle(device_product_id) { device_product_id = parseInt(device_product_id); switch (device_product_id) { case 48: return true; break; } return false; }