/*
* noVNC: HTML5 VNC client
* Copyright (C) 2010 Joel Martin
* Licensed under LGPL-3 (see LICENSE.LGPL-3)
*
* See README.md for usage and integration instructions.
*/
"use strict";
/*jslint white: false, bitwise: false */
/*global window, console, $, Util */
var Canvas, Canvas_native;
(function () {
var pre, start = "