function scr_debug() { if (global.debug == 1) return 1; }