	var wsUri = "ws://localhost:8084/";
	var output;

		function $name_Create(){
			$name = new WebSocket(wsUri);
			$name.onopen = function(evt) { $name_onOpen(evt) };
			$name.onclose = function(evt) { $name_onClose(evt) };
			$name.onmessage = function(evt) { $name_onMessage(evt) };
			$name.onerror = function(evt) { $name_onError(evt) };
		}


		function $name_onOpen(evt){



		}


		function $name_onClose(evt){



		}


		function $name_onMessage(evt){



		}


		function $name_Close(){
			$name.close();
		}


		function $name_onError(evt){
			//console.log("$name SOCKET ERROR: " + evt.data);


		}


		function $name_Send(message){
			$name.send(message);
		}
