llscreen").onclick = function (e) {
		Module.toggleFullscreen();
	}; */

	if ({{DEFOLD_HAS_FACEBOOK_APP_ID}}) {
		// Load Facebook API
		var fb = document.createElement('script');
		fb.type = 'text/javascript';
		fb.src = '//connect.facebook.net/en_US/sdk.js';
		fb.onload = load_engine;
		document.head.appendChild(fb);
	} else {
		load_engine();
	}

    /* Custom Code*/
    function resize_game_canvas() {
        var dpi=window.devicePixelRatio || 1
        //var dpi =1
        var width=window.innerWidth;
