// alert("xhr_wr: "+xhr_wr+" is_conn: "+is_conn);
xhr_wr.open('GET', 'index_wr.php?'+(is_conn ? 'sess='+sess+'&' : '')+'mesg='+mesg, (is_conn ? true : false));
xhr_wr.onreadystatechange = function() { return; };
- if (typeof(console) == 'object') {
- if (typeof(console.log) == 'function') {
+ console.log(typeof(g_debug));
+ if (typeof(g_debug) == 'number' && g_debug > 0
+ && typeof(console) == 'object' && typeof(console.log) == 'function') {
var ldate = new Date();
console.log(ldate.getTime()+':MESG:'+mesg);
- }
}
xhr_wr.send(null);
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="img/brisk_ico.png">
<script type="text/javascript" src="commons.js"></script>
-<script type="text/javascript" src="myconsole.js"></script>
+<!--<script type="text/javascript" src="myconsole.js"></script> -->
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript" src="heartbit.js"></script>
<script type="text/javascript" src="xynt-http-streaming.js"></script>
<link rel="stylesheet" type="text/css" href="room.css">
<SCRIPT type="text/javascript"><!--
+ var g_debug = 0;
var g_lang = "<? echo $G_lang; ?>";
var g_lng = "<? echo $G_lng; ?>";
var g_tables_n = <? echo TABLES_N; ?>;
var g_tables_auth_n = <? echo TABLES_AUTH_N; ?>;
var g_listen;
var g_withflash = false;
- var g_is_spawn = 0;
+ var g_is_spawn = 0;
var gst = new globst();
var topbanner_sfx, topbanner_dx;
var g_brow = null;
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="img/brisk_ico.png">
<script type="text/javascript" src="commons.js"></script>
-<script type="text/javascript" src="myconsole.js"></script>
+ <!-- <script type="text/javascript" src="myconsole.js"></script> -->
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript" src="ticker.js"></script>
<script type="text/javascript" src="heartbit.js"></script>
<link rel="stylesheet" type="text/css" href="room.css">
<SCRIPT type="text/javascript"><!--
var sess = "not_connected";
+ var g_debug = 0;
var g_lang = "<? echo $G_lang; ?>";
var g_lng = "<? echo $G_lng; ?>";
var g_tables_n = <? echo TABLES_N; ?>;