diff --git a/html5/index.htm b/html5/index.htm
index 67145ac..1b8936a 100644
--- a/html5/index.htm
+++ b/html5/index.htm
@@ -37,15 +37,19 @@ var zoom_mode = 0;
function toggle_2x_mode()
{
zoom_mode = (~zoom_mode) & 0x01;
+
var brdr = document.getElementById("cdg_border");
var cnvs = document.getElementById("cdg_canvas");
var audi = document.getElementById("cdg_audio");
+
+ audi.style.width = (zoom_mode) ? 648 + "px" : 324 + "px";
+
brdr.style.width = (zoom_mode) ? 648 + "px" : 324 + "px";
- cnvs.style.width = (zoom_mode) ? 576 + "px" : 288 + "px";
brdr.style.height = (zoom_mode) ? 432 + "px" : 216 + "px";
+
+ cnvs.style.width = (zoom_mode) ? 576 + "px" : 288 + "px";
cnvs.style.height = (zoom_mode) ? 384 + "px" : 192 + "px";
cnvs.style.padding= (zoom_mode) ? 24 + "px" : 12 + "px";
- audi.style.width = (zoom_mode) ? 648 + "px" : 324 + "px";
};