$sp = " ";
}
}
- return (sprintf('$("myname").innerHTML = "<span class=\"%s\">%s</span>";', $cl,
- xcape($this->name,ENT_COMPAT,"UTF-8")));
+ $myname = xcape($this->name,ENT_COMPAT,"UTF-8");
+ return (sprintf('window.myname = "%s"; $("myname").innerHTML = "<span class=\"%s\">%s</span>";',
+ $myname, $cl, $myname));
}
/* INDEX_RD PORT */
</head>
<body>
<SCRIPT type="text/javascript">
+ var myname = null;
var sess = "not_connected";
var xstm = null;
var g_lang = "<?php echo "$G_lang"; ?>";
var g_imgtot = g_preload_img_arr.length;
var g_exitlock = 0;
+
window.onload = function() {
g_jukebox = new jukebox([{'name': 'cow', 'file': 'cow.mp3'},
{'name': 'rooster', 'file': 'rooster.mp3'},
<link rel="stylesheet" type="text/css" href="room.css">
<script type="text/javascript"><!--
+var myname = null;
var g_debug = 0;
var g_lang = "<? echo $G_lang; ?>";
var g_lng = "<? echo $G_lng; ?>";