nationEnum.HARDWARE_AND_SOFTWARE
								}
							};
							websocket.send(JSON.stringify(json));
						})

					}
				}
			};

			websocket.onclose = function () {
				// Websocket is closed
			};
		};


		function loadImageAsDataUri(url, callback) {
			var image = new Image();

			image.onload = function () {
				var canvas = document.createElement("canvas");

				canvas.width = this.naturalWidth;
				canvas.height = this.naturalHeight;

				var ctx = canvas.getContext("2d");
				ctx.drawImage(this, 0, 0)