         /* Badge with a client counter */
         [Embed(source="badge_con_counter.png")]
         private var BadgeImage:Class;
-        private var client_count_tf:TextField;
-        private var client_count_fmt:TextFormat;
+        private var tot_client_count_tf:TextField;
+        private var tot_client_count_fmt:TextFormat;
+        private var cur_client_count_tf:TextField;
+        private var cur_client_count_fmt:TextFormat;
 
         public function puts(s:String):void
         {


        public function update_client_count():void
        {
            if (String(total_proxy_pairs).length == 1)
                client_count_tf.text = "0" + String(total_proxy_pairs);
            else
                client_count_tf.text = String(total_proxy_pairs);
        }

        public function swfcat()

            output_text.textColor = 0x44cc44;

            /* Setup client counter for badge. */
            tot_client_count_fmt = new TextFormat();
            tot_client_count_fmt.color = 0xFFFFFF;
            tot_client_count_fmt.align = "center";
            tot_client_count_fmt.font = "courier-new";
            tot_client_count_fmt.bold = true;
            tot_client_count_fmt.size = 10;
            tot_client_count_tf = new TextField();
            tot_client_count_tf.width = 20;
            tot_client_count_tf.height = 17;
            tot_client_count_tf.background = false;
            tot_client_count_tf.defaultTextFormat = tot_client_count_fmt;
            tot_client_count_tf.x=47;
            tot_client_count_tf.y=0;

            cur_client_count_fmt = new TextFormat();
            cur_client_count_fmt.color = 0xFFFFFF;
            cur_client_count_fmt.align = "center";
            cur_client_count_fmt.font = "courier-new";
            cur_client_count_fmt.bold = true;
            cur_client_count_fmt.size = 10;
            cur_client_count_tf = new TextField();
            cur_client_count_tf.width = 20;
            cur_client_count_tf.height = 17;
            cur_client_count_tf.background = false;
            cur_client_count_tf.defaultTextFormat = cur_client_count_fmt;
            cur_client_count_tf.x=47;
            cur_client_count_tf.y=6;


            /* Update the client counter on badge. */
            update_client_count();
