#!/usr/bin/perl

#
# LiveCounter Classic 97B
# Copyright (C) 1996-1998, by Chaminda Wickremasinghe (72223.10@compuserve.com)
# http://www.chami.com/
#
# This copy is not registered for business use.
#


# BGN:GIFDATA

$g_sHeader0  =   "\x47\x49\x46\x38\x37\x61\x0f\x00\x14\x00\xe7\x00\x00";
$g_sColorMap =	 "\x5d\x5d\x5d\x65\x65\x65\x68\x68\x68\x73\x73\x73\x58\x58"
		."\x58\x4b\x4b\x4b\x3a\x3a\x3a\x26\x26\x26\x1b\x1b\x1b\x1a"
		."\x1a\x1a\x18\x18\x18\x1c\x1c\x1c\x29\x29\x29\x2e\x2e\x2e"
		."\x66\x66\x66\x19\x19\x19\x1e\x1e\x1e\x20\x20\x20\x21\x21"
		."\x21\x22\x22\x22\x0f\x0f\x0f\x37\x37\x37\x62\x62\x62\x23"
		."\x23\x23\x14\x14\x14\x50\x50\x50\x24\x24\x24\x3f\x3f\x3f"
		."\x84\x84\x84\x92\x92\x92\x77\x77\x77\x33\x33\x33\x25\x25"
		."\x25\x78\x78\x78\xff\xff\xff\xf2\xf2\xf2\x38\x38\x38\x46"
		."\x46\x46\x27\x27\x27\x2a\x2a\x2a\xca\xca\xca\x94\x94\x94"
		."\xe4\xe4\xe4\xe3\xe3\xe3\x16\x16\x16\x11\x11\x11\x4a\x4a"
		."\x4a\x2c\x2c\x2c\xa2\xa2\xa2\x5e\x5e\x5e\x12\x12\x12\x39"
		."\x39\x39\x40\x40\x40\xc8\xc8\xc8\xa9\xa9\xa9\x15\x15\x15"
		."\xe2\xe2\xe2\x8a\x8a\x8a\xf1\xf1\xf1\xc4\xc4\xc4\xb5\xb5"
		."\xb5\x10\x10\x10\x0d\x0d\x0d\xc3\xc3\xc3\x0a\x0a\x0a\x0b"
		."\x0b\x0b\xf0\xf0\xf0\x89\x89\x89\xb1\xb1\xb1\x06\x06\x06"
		."\x04\x04\x04\x03\x03\x03\xc1\xc1\xc1\x07\x07\x07\x05\x05"
		."\x05\xdf\xdf\xdf\x80\x80\x80\x01\x01\x01\x00\x00\x00\x8f"
		."\x8f\x8f\xbf\xbf\xbf\x36\x36\x36\x60\x60\x60\xef\xef\xef"
		."\x30\x30\x30\x35\x35\x35\x70\x70\x70\x34\x34\x34\x32\x32"
		."\x32\x42\x42\x42\x41\x41\x41\x3e\x3e\x3e\x3d\x3d\x3d\x3c"
		."\x3c\x3c\x28\x28\x28\xbc\xbc\xbc\x2b\x2b\x2b\x7b\x7b\x7b"
		."\x1f\x1f\x1f\x95\x95\x95\xfe\xfe\xfe\x86\x86\x86\xf5\xf5"
		."\xf5\xf7\xf7\xf7\x13\x13\x13\x7c\x7c\x7c\xe6\xe6\xe6\xe7"
		."\xe7\xe7\x08\x08\x08\x72\x72\x72\xdb\xdb\xdb\x02\x02\x02"
		."\x6e\x6e\x6e\xda\xda\xda\x6d\x6d\x6d\x52\x52\x52\xa3\xa3"
		."\xa3\x9f\x9f\x9f\x4f\x4f\x4f\xd7\xd7\xd7\xe5\xe5\xe5\x6c"
		."\x6c\x6c\xd6\xd6\xd6\xc7\xc7\xc7\x45\x45\x45\xa7\xa7\xa7"
		."\x7a\x7a\x7a\xfd\xfd\xfd\xa0\xa0\xa0\xce\xce\xce\x2d\x2d"
		."\x2d\xc2\xc2\xc2\xea\xea\xea\xeb\xeb\xeb\xa6\xa6\xa6\xd5"
		."\xd5\xd5\x59\x59\x59\xdc\xdc\xdc\xbd\xbd\xbd\xbb\xbb\xbb"
		."\xd3\xd3\xd3\x53\x53\x53\xfc\xfc\xfc\xfa\xfa\xfa\x4d\x4d"
		."\x4d\x67\x67\x67\xf3\xf3\xf3\x44\x44\x44\xf4\xf4\xf4\x3b"
		."\x3b\x3b\xe8\xe8\xe8\xd8\xd8\xd8\x0e\x0e\x0e\xb7\xb7\xb7"
		."\xe1\xe1\xe1\x61\x61\x61\x54\x54\x54\x79\x79\x79\xc9\xc9"
		."\xc9\xab\xab\xab\x8b\x8b\x8b\x31\x31\x31\x6b\x6b\x6b\x87"
		."\x87\x87\x83\x83\x83\x7f\x7f\x7f\x64\x64\x64\xed\xed\xed"
		."\xb0\xb0\xb0\xae\xae\xae\xad\xad\xad\xe0\xe0\xe0\xaa\xaa"
		."\xaa\x93\x93\x93\x90\x90\x90\x8e\x8e\x8e\x8d\x8d\x8d\x69"
		."\x69\x69\xa8\xa8\xa8\xf8\xf8\xf8\x91\x91\x91\xba\xba\xba"
		."\x9e\x9e\x9e\x56\x56\x56\xa5\xa5\xa5\xe9\xe9\xe9\xde\xde"
		."\xde\x1d\x1d\x1d\x6f\x6f\x6f\xd9\xd9\xd9\xd2\xd2\xd2\xd1"
		."\xd1\xd1\xb6\xb6\xb6\xd0\xd0\xd0\x5c\x5c\x5c\x74\x74\x74"
		."\xcf\xcf\xcf\x9d\x9d\x9d\xc6\xc6\xc6\xc5\xc5\xc5\xfb\xfb"
		."\xfb\xb8\xb8\xb8\x48\x48\x48\x5f\x5f\x5f\x76\x76\x76\x9c"
		."\x9c\x9c\xdd\xdd\xdd\x88\x88\x88\x96\x96\x96\x9a\x9a\x9a"
		."\xee\xee\xee\x7e\x7e\x7e\xcd\xcd\xcd\x4c\x4c\x4c\xb4\xb4"
		."\xb4\xaf\xaf\xaf\xb3\xb3\xb3\xbe\xbe\xbe\x75\x75\x75\x49"
		."\x49\x49\xcc\xcc\xcc\xa1\xa1\xa1\xf6\xf6\xf6\x63\x63\x63"
		."\x6a\x6a\x6a\x51\x51\x51\xf9\xf9\xf9\x4e\x4e\x4e\x57\x57"
		."\x57\xc0\xc0\xc0\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
		."\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
		."\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
		."\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
		."\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
		."\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd";
$g_sHeader1  =	 "\x2c\x00\x00\x00\x00\x0f\x00\x14\x00\x00\x08";
$g_sPixels[0]=	 "\xfe\x00\x01\x04\x10\x30\x80\x40\x01\x03\x07\x10\x24\x50"
		."\xa0\x60\x01\x83\x06\x0e\x1e\x40\x88\x20\xa1\xa2\x84\x09"
		."\x18\x25\x2c\xa0\x50\xc1\x02\x04\x09\x17\x42\x8a\x14\x29"
		."\x01\x43\x85\x0c\x10\x26\x68\xd0\xb0\x81\x43\x07\x0f\x1f"
		."\x0e\x1c\x88\x60\x32\x43\x04\x10\x07\x42\x88\xd8\x29\x62"
		."\x44\x86\x0b\x08\x28\x90\x28\x61\xe2\x44\x89\x9d\x28\x52"
		."\xa8\x10\xb1\xe2\x01\x8b\x16\x24\x5c\xbc\x78\x01\x43\x84"
		."\x8a\x08\x0b\x2a\xec\x8c\x81\x41\xc6\x0c\x1a\x07\x4c\xd4"
		."\x10\x61\x83\xc5\x8d\x1b\x38\x44\xe4\xe8\x4a\xe2\x03\x02"
		."\x04\x3a\xd4\x62\x98\xbb\x43\x04\x0f\x0c\x3d\x48\x9c\x38"
		."\xbb\x73\x2d\x5d\x11\x3b\x64\xf8\x68\x2b\x03\x43\xdf\xb9"
		."\x18\xea\xfe\xf0\x01\x64\xc6\x87\x20\x14\x84\x88\x18\x22"
		."\xa3\x47\x8f\x1f\x22\x88\x14\x31\x42\xa2\xc2\x91\x22\x48"
		."\x44\xc0\x48\x92\x44\xc9\x12\x11\x4c\x9a\x34\x21\x31\xc3"
		."\x49\x93\x27\x22\x96\xa8\x96\xb0\x33\x83\x13\x27\x15\x5a"
		."\x3b\x89\xb0\x13\x0a\x93\xd3\x4b\x6e\x3b\x89\x12\x45\xb8"
		."\x14\x9e\x22\xa6\x50\x11\x5e\x25\x82\xf0\xdd\x56\x98\x48"
		."\xe9\xf1\xfc\xca\x84\xe7\xd8\x9f\x63\x39\x90\xbd\x3b\x08"
		."\x13\x33\xb2\x0f\x68\xd9\xc2\xa5\x4b\x17\x03\x15\xa2\x60"
		."\x79\x31\xe1\x46\x40";
$g_sPixels[1]=	 "\xf5\x00\x01\x04\x10\x30\x80\x40\x01\x03\x07\x10\x24\x50"
		."\xa0\x60\x01\x83\x06\x0e\x1e\x40\x88\x20\xa1\xa2\x84\x09"
		."\x18\x25\x2c\xa0\x50\xc1\x02\x04\x09\x17\x42\x8a\x14\x29"
		."\x01\x43\x85\x0c\x10\x26\x68\x58\xa9\x61\x83\x08\x11\x07"
		."\x0e\x44\x30\x99\x21\x02\x88\x03\x26\xbc\x54\xf9\xf2\xd2"
		."\xcb\x05\x04\x14\x48\x94\x30\x71\x02\x4c\x18\x14\x2f\x5f"
		."\x8a\x79\xc0\xa2\x05\x09\x17\x2f\xa2\x8e\x49\xfa\x92\xc5"
		."\x0d\x0c\x32\x66\xd0\xc0\x09\x42\x4c\x02\x16\x39\x5e\x62"
		."\x18\x2b\x83\xc4\x07\x04\x08\x98\x5e\x0d\x2b\x62\x2c\x86"
		."\x1e\x24\x4e\xdc\x98\xeb\x76\x08\x19\x32\x64\x7d\x98\x95"
		."\xe1\x76\x6c\x19\x33\x67\xd0\xb4\xf0\x01\x64\xc6\x87\x20"
		."\x14\x64\x28\x96\x91\x46\xcd\x9a\x20\x49\x8a\x18\x21\x51"
		."\xe1\x48\x91\x24\x6c\x92\x24\x69\xe3\xc6\xcd\x9b\x26\xa0"
		."\x49\xcc\x70\x02\xba\x34\x9c\x38\x71\x9c\xa8\x76\x52\x61"
		."\xf4\x6a\xd5\x72\x50\xbf\x8e\x12\xe5\xb5\xea\x39\x74\xe8"
		."\xbc\xae\x12\xc1\xb6\x6f\xd5\x57\x26\xfc\xf6\x8d\xe5\xc0"
		."\x70\xdb\x20\x4c\xcc\xc8\xa2\x65\x0b\x97\x2e\x5d\x0c\x54"
		."\x88\x82\xe5\xc5\x84\x1b\x01\x01";
$g_sPixels[2]=	 "\xfe\x00\x01\x04\x10\x30\x80\x40\x01\x03\x07\x10\x24\x50"
		."\xa0\x60\x01\x83\x06\x0e\x1e\x40\x88\x20\xa1\xa2\x84\x09"
		."\x18\x25\x2c\xa0\x50\xc1\x02\x04\x09\x17\x42\x8a\x14\x29"
		."\x01\x43\x85\x0c\x10\x26\x68\xd8\x50\xa7\x46\x8d\x0e\x34"
		."\x0e\x1c\x88\x60\x32\x43\x04\x10\x76\x74\x88\xd8\x29\x62"
		."\x44\x86\x0b\x08\x28\x90\x28\x61\xe2\xc4\x1d\x11\x78\xe0"
		."\xe4\xd1\x23\x62\xc5\x03\x16\x2d\x48\xb8\x78\x51\x62\x67"
		."\x88\x08\x0b\x2c\xec\xd4\x82\x41\xc6\x8c\x98\x19\x6a\xec"
		."\xe1\xc3\xe2\x46\x86\x9d\x76\xba\x92\xf8\x80\x00\xc1\xd3"
		."\x1b\x18\x30\xf4\xd9\x79\x01\x43\x0f\x12\x27\x6e\xe8\x8d"
		."\x8b\xc1\xcf\x1f\x32\x7d\xba\xfa\x58\x2b\x83\xef\x04\x40"
		."\x66\xce\x04\x9a\xd0\xc2\x07\x90\x19\x1f\x82\x50\x90\x21"
		."\x68\x10\xa1\x42\x86\x16\x04\x49\x52\xc4\x08\x89\x0a\x47"
		."\x8a\xdc\x38\x84\x03\x07\x22\x25\x46\xde\x34\x59\x4d\x62"
		."\x86\x93\x26\x86\x12\x25\x3a\xb1\xda\x89\x6d\xdb\x15\x5c"
		."\x23\x88\xc3\xbb\x37\xef\x0a\xb6\xa3\x44\x71\x52\xc1\xb7"
		."\x6f\xe0\x4e\xaa\x44\xb8\xcd\xbc\xb9\x93\x2b\x13\x9c\x4b"
		."\xc7\x72\x40\xba\x73\x10\x26\x66\x64\xd1\xb2\x85\x4b\x97"
		."\x2e\x06\x2a\x07\x44\xc1\xf2\x62\xc2\x8d\x80";
$g_sPixels[3]=	 "\xfe\x00\x01\x04\x10\x30\x80\x40\x01\x03\x07\x10\x24\x50"
		."\xa0\x60\x01\x83\x06\x0e\x1e\x40\x88\x20\xa1\xa2\x84\x09"
		."\x18\x25\x2c\xa0\x50\xc1\x02\x04\x09\x17\x42\x8a\x14\x29"
		."\x01\x43\x85\x0c\x10\x26\x68\x58\xb9\x12\x04\x88\x03\x07"
		."\x22\x98\xcc\x10\xe1\x25\x80\x2f\x22\x44\xdc\x91\xe3\xe5"
		."\x02\x02\x0a\x24\x4a\x98\x38\x21\x25\xa7\x51\x11\x01\x1e"
		."\xb0\x68\x41\xc2\xc5\x8b\x17\x8a\x44\x2c\x6a\x70\x02\x87"
		."\x08\x46\x37\x30\xc8\x98\x41\xe3\x80\x89\x9c\x8d\x58\xdc"
		."\xc8\x91\x13\x83\x56\x12\x1f\x10\x20\x68\x94\x41\x83\xd9"
		."\x3e\x57\xcd\xf6\x20\x71\xe2\x86\x5d\xb3\x39\x0c\x91\x99"
		."\x62\x47\xab\x0f\xb4\x32\xcc\x9a\x25\xe3\xe8\x51\xa2\x2d"
		."\x2d\x7c\x00\x99\xf1\x21\x08\x05\x19\x90\x21\x45\xba\x23"
		."\x49\x4f\x92\x22\x46\x48\x54\x38\xc2\x62\x12\x1f\x16\x49"
		."\x92\xd8\x11\x22\x84\x4b\x93\x26\x24\x66\x38\xd9\x40\x49"
		."\x47\x97\xd3\x95\x2c\x15\xaa\xe4\xc4\x49\x05\xd5\x4e\x2e"
		."\xad\xb0\x81\x09\x53\x26\x4d\x77\x6a\x3b\x89\x12\xa5\xf6"
		."\xa6\x44\x6e\x92\xbb\x49\xc4\x49\x78\x95\x08\xc2\x27\xd1"
		."\x89\x13\x87\xce\x24\xe1\x4e\xae\x4c\xc0\xce\x1d\x3b\x96"
		."\x03\xdd\xc3\x14\x83\x30\x31\x23\x8b\x96\x2d\x5c\xba\x74"
		."\x31\x50\x21\x0a\x96\x17\x13\x6e\x04\x04";
$g_sPixels[4]=	 "\xfe\x00\x01\x04\x10\x30\x80\x40\x01\x03\x07\x10\x24\x50"
		."\xa0\x60\x01\x83\x06\x0e\x1e\x40\x88\x20\xa1\xa2\x84\x09"
		."\x18\x25\x2c\xa0\x50\xc1\x02\x04\x09\x17\x42\x8a\x14\x29"
		."\x01\x43\x85\x0c\x10\x26\x68\x58\xb9\x12\x04\x88\x03\x07"
		."\x22\x98\xcc\x10\xe1\xa5\x09\x2f\x5e\x3a\x79\x42\xd1\xe9"
		."\x02\x02\x0a\x24\x4a\x98\x38\x01\xe6\xc5\x0b\x12\x23\x44"
		."\x88\x78\xf2\x80\x45\x0b\x12\x2e\x8c\xbe\x00\x63\xe2\x93"
		."\x52\x11\xa0\x6e\x60\x90\x31\x83\xc6\x01\x13\x20\xc4\xf0"
		."\x11\xd1\x47\x69\x0e\x0c\x5b\x49\x7c\x40\x80\xa0\xe9\x8e"
		."\x29\xa1\xc8\x90\x19\x82\xb6\x07\x89\x13\x37\xf2\x8a\x7a"
		."\x34\x0a\xc3\x23\xbe\x5b\x7d\xa8\x95\x81\x61\xc2\x9d\x3b"
		."\x13\x30\x8c\x18\x41\xaa\x85\x0f\x20\x33\x3e\x04\xa1\x50"
		."\xaa\x90\x29\x19\x3d\x4e\x9d\x4a\x93\xa4\x88\x11\x12\x15"
		."\x8e\x14\x41\xb5\x26\x55\x2a\x55\x6b\xd6\xa0\x20\xd5\xa4"
		."\x09\x89\x19\x4e\x9a\xa8\xc2\x83\x43\xd3\xaa\x55\x9a\x34"
		."\xb1\x72\xe2\xa4\x02\x6c\x27\x60\x40\x57\xa8\x10\xc7\xcd"
		."\x90\x13\xbc\xa3\x44\xe1\xcd\x9c\x77\x9c\x38\x72\x98\x57"
		."\x89\xd0\x9c\xf9\xf3\xe8\xbc\xaf\x4c\xa8\xce\x9d\x37\x96"
		."\x03\xdd\xb9\x14\x83\x30\x31\x23\x8b\x96\x2d\x5c\xba\x74"
		."\x31\x50\x21\x0a\x96\x17\x13\x6e\x04\x04";
$g_sPixels[5]=	 "\xfe\x00\x01\x04\x10\x30\x80\x40\x01\x03\x07\x10\x24\x50"
		."\xa0\x60\x01\x83\x06\x0e\x1e\x40\x88\x20\xa1\xa2\x84\x09"
		."\x18\x25\x2c\xa0\x50\xc1\x02\x04\x09\x17\x42\x8a\x14\x29"
		."\x01\x43\x85\x0c\x10\x26\x68\x58\xb9\x12\x04\x88\x03\x07"
		."\x22\x98\xcc\x10\xe1\x65\xab\x14\x38\x53\x8c\xe9\x74\x01"
		."\x01\x05\x12\x25\x4c\x9c\x20\x21\xa2\xa8\xd1\x3d\x0f\x58"
		."\xb4\x20\xe1\xe2\xc5\x8b\x4d\x22\x54\xb8\x7a\x05\x0b\x14"
		."\x9c\x1b\x18\x64\xcc\xa0\x71\xc0\x44\x2c\x32\xb2\x58\xdc"
		."\xc0\x8a\xa1\xac\x0c\x12\x1f\x10\x20\x18\x32\x6b\x54\x28"
		."\x48\xa1\xca\x96\xed\x41\xe2\xc4\x58\x5a\x92\xee\x48\xda"
		."\x9b\x6a\x42\x56\x1f\x68\x65\x60\xa8\xa5\x43\xc7\x9e\x3d"
		."\x42\x84\xd8\x6a\xe1\x03\xc8\x8c\x0f\x41\x28\x98\x2a\x75"
		."\x4b\x46\x0f\x5c\xb9\x08\xdd\x28\x62\x84\x44\x85\x23\x45"
		."\x92\xb0\x49\x42\xba\x92\xae\x25\x33\x9a\x34\x21\x31\xc3"
		."\xc9\x2e\x5e\xbc\x16\xa8\xae\xd0\xab\x17\x03\x27\x4e\x2a"
		."\xb4\xc6\xd4\xeb\x4e\x1e\xdc\x1d\x0e\x79\xc2\xed\x24\x4a"
		."\x14\xdc\x1e\x7c\xfd\xb2\x01\x2c\x58\x30\x61\xc4\xab\x44"
		."\xc0\xed\x63\x18\xb1\xeb\x83\x04\x10\x77\x72\x65\xc2\x76"
		."\x1f\x57\xae\x1c\x6c\xc7\x8d\xe5\xc0\xf8\xf3\xb8\x41\x98"
		."\x98\x91\x45\xcb\x16\x2e\x5d\xba\x18\xa8\x10\x05\xcb\x8b"
		."\x09\x37\x02\x02";
$g_sPixels[6]=	 "\xfe\x00\x01\x04\x10\x30\x80\x40\x01\x03\x07\x10\x24\x50"
		."\xa0\x60\x01\x83\x06\x0e\x1e\x40\x88\x20\xa1\xa2\x84\x09"
		."\x18\x25\x2c\xa0\x50\xc1\x02\x04\x09\x17\x42\x8a\x14\x29"
		."\x01\x43\x85\x0c\x10\x26\x68\x58\xb9\x12\x04\x88\x03\x07"
		."\x22\x98\xcc\x10\xe1\xa5\x89\x14\x2a\x44\xa8\x18\x53\xe5"
		."\x02\x02\x0a\x24\x4a\x98\x38\x01\x46\x91\x88\xa3\x47\x8b"
		."\x3d\x60\xd1\x82\x84\x8b\x17\x2f\x36\x1d\x1d\xb6\x00\xd6"
		."\x51\x0d\x18\x64\xcc\xa0\x71\xc0\x84\x2a\x11\xc6\x58\xdc"
		."\xd0\x60\xc7\xce\x85\xac\x24\x3e\x20\x40\x70\x4c\x44\x0e"
		."\x3b\x39\xc2\x84\xc2\x40\xb7\x07\x89\x13\x37\x6e\x38\x72"
		."\x74\x0a\x99\xdf\x53\xa2\xb2\xfa\x48\x2b\x03\x83\x99\xc3"
		."\xa9\x38\xa8\xa1\xa4\x46\x8c\x0f\x20\x33\x3e\x04\xa1\xa0"
		."\x43\x47\x32\x19\x3d\x94\x09\x11\xb2\xac\x88\x11\x12\x15"
		."\x8e\x14\x09\x44\xa8\x53\x92\x24\x4a\x72\x15\x62\xd6\xa4"
		."\x09\x89\x19\x4e\x9a\x34\xc3\x51\xaa\x35\x05\x1c\x2b\x6e"
		."\x39\x71\x52\x01\xb6\x93\x46\x89\x02\x55\x70\x32\x24\x91"
		."\xb3\x05\xbb\xa3\x44\xd9\xed\x84\x48\x9c\xe7\x71\xdc\x84"
		."\x61\x5e\x25\x02\x73\x4c\xcf\xa0\xc4\x81\x22\x85\xb9\x93"
		."\x2b\x13\xbc\x1b\x8b\xf7\x8e\xe5\xc0\xf8\xf3\x20\x4c\xcc"
		."\xc8\xa2\x65\x0b\x97\x2e\x5d\x0c\x54\x88\x82\xe5\xc5\x84"
		."\x1b\x01\x01";
$g_sPixels[7]=	 "\xfe\x00\x01\x04\x10\x30\x80\x40\x01\x03\x07\x10\x24\x50"
		."\xa0\x60\x01\x83\x06\x0e\x1e\x40\x88\x20\xa1\xa2\x84\x09"
		."\x18\x25\x2c\xa0\x50\xc1\x02\x04\x09\x17\x42\x8a\x14\x29"
		."\x01\x43\x85\x0c\x10\x26\x68\x58\xb9\x12\x04\x88\x03\x07"
		."\x22\x98\xcc\x10\x01\x44\xab\x56\x29\x72\xa6\x18\x93\x82"
		."\x19\x02\x0a\x24\x4a\x98\x38\x21\xa2\xa8\xd1\xa2\xc7\x58"
		."\xb4\x20\xe1\xe2\xc5\x0b\x68\x63\x5a\xb9\x7a\x15\xad\x68"
		."\x0e\x0c\x32\x66\xd0\x38\x60\x02\x84\x98\x04\x2c\x6e\x00"
		."\x13\xc1\x03\x03\x56\x12\x1f\x10\x20\x78\x10\x16\x83\x28"
		."\x64\xd2\x2e\x98\xed\x41\xe2\xc4\x8d\xbb\x66\x27\xac\x9a"
		."\x22\xc0\xac\x0c\x1f\x68\x65\x98\x35\x3b\x4d\x0d\x35\x0c"
		."\x68\x5a\xf8\x00\x32\xe3\x43\x10\x0a\x32\x22\xf7\x52\x03"
		."\x07\x53\x90\x24\x45\x8c\x90\xa8\x70\xa4\x48\x12\x36\xd5"
		."\x54\xa8\x40\x63\xe4\x4d\x93\xd3\x24\x66\x38\x39\xdd\x04"
		."\x94\x33\x6b\x4d\x9c\xc8\x96\x5d\x41\xf5\x6c\x28\x71\xe4"
		."\xcc\x9e\x1d\x25\xca\xee\x38\x71\xe6\xec\x96\x5d\x25\xc2"
		."\xec\x0a\xc0\x2b\x0c\x77\x72\x65\xc2\xf2\xe7\x58\x0e\x3c"
		."\x5f\x0e\xc2\xc4\x8c\x2c\x5a\xb6\x70\xe9\xd2\xc5\x40\x85"
		."\x28\x58\x5e\x04\x4c\xb8\x11\x10";
$g_sPixels[8]=	 "\xfe\x00\x01\x04\x10\x30\x80\x40\x01\x03\x07\x10\x24\x50"
		."\xa0\x60\x01\x83\x06\x0e\x1e\x40\x88\x20\xa1\xa2\x84\x09"
		."\x18\x25\x2c\xa0\x50\xc1\x02\x04\x09\x17\x42\x8a\x14\x29"
		."\x01\x43\x85\x0c\x10\x26\x68\x80\x54\x4b\x84\x08\x3d\xb1"
		."\x0e\x1c\x88\x60\x32\x43\x04\x10\x76\x74\xb8\xdc\x59\xe6"
		."\x02\x02\x0a\x24\x4a\x98\x38\x71\x4d\xc4\x9d\x12\x0c\x52"
		."\x89\x58\xf1\x80\x45\x0b\x12\x2e\x5e\xbc\x40\x21\xa2\x55"
		."\x84\x05\x8d\x5c\xde\xc0\x20\x63\x06\x8d\x03\x26\x68\xfd"
		."\xd1\xf4\xe1\x86\x21\x47\xd8\x30\x70\x25\xf1\x01\x01\x02"
		."\x13\x8a\xcc\x98\xa1\x44\xe9\xce\x16\xb5\x3d\x48\x9c\xb8"
		."\x71\xa3\x80\xae\x42\x84\x02\x13\x8a\xc6\xd5\x07\x5b\x19"
		."\x18\xe2\xe0\xc9\x56\x12\x1a\x1e\x35\x33\x7c\x00\x99\xf1"
		."\x21\xc8\x24\x4d\x4b\xf8\xc8\xe8\xb1\x6b\x95\x26\x6d\x45"
		."\x8c\x90\xa8\x70\xa4\x92\x9b\x38\xdb\x92\x24\x91\xe1\xc6"
		."\xcd\xa6\x26\x4d\x48\xcc\x70\xd2\x84\x5b\x1c\x22\x14\x28"
		."\x3c\x8b\x13\x07\x81\x13\x27\x15\x66\x3b\x99\xc3\xbb\x78"
		."\x1c\x3f\xbf\x9d\x44\x89\x92\x9c\x0f\x1d\xde\x44\xe6\x24"
		."\x77\x52\x25\xc2\xf4\xeb\xd3\xaf\x4c\xc0\xce\x1d\xcb\x01"
		."\xee\xd8\x41\x13\x98\x98\x91\x45\xcb\x16\x2e\x5d\xba\x18"
		."\xa8\x10\x05\xcb\x8b\x09\x37\x02\x02";
$g_sPixels[9]=	 "\xfe\x00\x01\x04\x10\x30\x80\x40\x01\x03\x07\x10\x24\x50"
		."\xa0\x60\x01\x83\x06\x0e\x1e\x40\x88\x20\xa1\xa2\x84\x09"
		."\x18\x25\x2c\xa0\x50\xc1\x02\x04\x09\x17\x42\x8a\x14\x29"
		."\x01\x43\x85\x0c\x10\x26\x68\x58\xb9\x12\x04\x88\x03\x07"
		."\x22\x98\xcc\x10\xe1\x65\x96\x6e\x9e\x3c\x8d\xaa\xe0\xe5"
		."\x02\x02\x0a\x24\x4a\x98\x38\xd1\x48\xc8\x9f\x3f\x64\xc8"
		."\xe8\x11\xf4\x80\x45\x0b\x12\x2e\x5e\xbc\xf8\xe1\x2d\xd1"
		."\xb7\x4d\xd2\xc8\x80\xba\x81\x41\xc6\x0c\x1a\x07\x68\x8c"
		."\x18\x11\x83\xc5\x0d\x70\x7f\x70\x60\xe8\x4a\xe2\x03\x82"
		."\x70\x63\xab\xad\xad\xf6\xe8\xcf\x05\x0c\x3d\x48\x9c\xb8"
		."\xb1\x61\xac\x80\xb5\x02\xcc\x88\x1b\x27\xc3\x47\x5b\x19"
		."\x18\xf4\x8c\xd0\x83\x08\xd1\x2a\x69\x53\xb6\xf9\x00\x32"
		."\xe3\x43\x10\x0a\x04\xa6\x48\x2b\x64\x69\x8d\x25\x4b\x34"
		."\x8a\x18\x21\x51\xe1\x48\x91\x24\xa1\x5c\x7d\x7a\x45\x6e"
		."\x15\x8e\x5d\x4d\x9a\x90\x98\xe1\x24\xb6\xed\x26\x8d\xdc"
		."\x10\x73\xc2\xbb\x02\x6d\x27\xe5\xdc\x3c\x73\x82\x89\x48"
		."\x9c\x21\xbc\x9d\x44\x89\xc2\x5b\x4e\x9c\x38\x44\xa0\xc4"
		."\xe1\x86\x20\x79\x95\x08\xc9\xc3\x3c\x8f\x03\x85\x41\x72"
		."\x27\x57\x26\x1f\x7c\xc7\xa4\xf7\x3b\x6f\x2c\x07\xcc\xab"
		."\xe7\x0d\xc2\xc4\x8c\x2c\x5a\xb6\x70\xe9\xd2\xc5\x40\x85"
		."\x28\x58\x5e\x4c\xb8\x11\x10";

# END:GIFDATA

{
    local( $bVer )      = ( $ARGV[0] eq "v" );
    local( $bRedirect ) = ( $ARGV[0] eq "u" );

    if( !$bRedirect && !$bVer )
    {
        print "Content-type: image/gif";
        if( !$bVer && ( 0 == $ARGV[0] ))
        {
            print "\nPragma: no-cache";
            print "\nExpires: Mon, 28 Apr 1997 00:01:00 -0500";
        }
        print "\n\n";
    }

    local( $nCount )            = 0;
    local( $__COUNTER_DAT)      = "livecntr.dat";
    local( $Temp );

    if( $ARGV[2] && ($ARGV[2] ne "0") && ($ARGV[2] ne "livecntr.dat") )
    {
        $__COUNTER_DAT = $ARGV[2] . "\.lcd";
    }

    if( -w "$__COUNTER_DAT" )
    {
        open( F, "+<$__COUNTER_DAT" );

        flock( F, 2 );
        seek( F, 0, 0 );

        ( $Temp, $nCount ) = split( /\s/, <F> );

        if( $bRedirect || ( !$bVer && ( 0 == $ARGV[0] )) )
        {
            seek( F, 0, 0 );
            ++$nCount;
            print F "Total: $nCount\n";
        }
        flock( F, 8 );
        close( F );
    }
    elsif( !( -e "$__COUNTER_DAT" ) )
    {
        open( F, ">$__COUNTER_DAT" );
        print F "Total: 0\n";
        close( F );
    }

    if( $bRedirect )
    {
        local( $n, $Temp, $sURL );

        $sURL = "";
        $n    = 0;
        foreach $Temp (@ARGV)
        {
            if( $n > 2 )
            {
                $sURL .= (($n>3)?"+":"") . $Temp;
            }
            ++$n;
        }
        $sURL =~ s/\\\~/\~/g;
        print "Location: $sURL\n\n";
    }
    elsif( $bVer )
    {
        print "Content-type: text/plain\n\n";
        print "c0=$nCount\nvr=97BX\n";
    }
    else
    {
        local( $i, $s1, $n1 );

        $s1 = $nCount;
        for( $i = length( $nCount ); $i < $ARGV[1]; $i++ )
        {
            $s1 = "0".$s1;
        }

        $n1 = substr( $s1, $ARGV[0], 1 );

        binmode( *STDOUT );
        print STDOUT $g_sHeader0 . $g_sColorMap . $g_sHeader1 .
                     $g_sPixels[ $n1 ]
                     ."\x00;";
        close( STDOUT );
    }
}
