<?php
$BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
if (!isset ($BEAUT_PATH)) return;
require_once("$BEAUT_PATH/Beautifier/HFile.php");
  class HFile_mapbasic extends HFile{
   function HFile_mapbasic(){
     $this->HFile();	
/*************************************/
// Beautifier Highlighting Configuration File 
// MapBasic
/*************************************/
// Flags

$this->nocase            	= "1";
$this->notrim            	= "0";
$this->perl              	= "0";

// Colours

$this->colours        	= array("blue", "gray", "purple", "brown", "blue");
$this->quotecolour       	= "blue";
$this->blockcommentcolour	= "green";
$this->linecommentcolour 	= "green";

// Indent Strings

$this->indent            	= array();
$this->unindent          	= array();

// String characters and delimiters

$this->stringchars       	= array();
$this->delimiters        	= array();
$this->escchar           	= "";

// Comment settings

$this->linecommenton     	= array("'");
$this->blockcommenton    	= array("");
$this->blockcommentoff   	= array("");

// Keywords (keyword mapping to colour number)

$this->keywords          	= array(
			"Active" => "1", 
			"Add" => "1", 
			"Alter" => "1", 
			"Append" => "1", 
			"Application" => "1", 
			"As" => "1", 
			"Auto" => "1", 
			"All" => "1", 
			"Browse" => "1", 
			"BrushPicker" => "1", 
			"Button" => "1", 
			"ButtonPad" => "1", 
			"By" => "1", 
			"ByVal" => "1", 
			"Bounds" => "1", 
			"Call" => "1", 
			"Calling" => "1", 
			"CancelButton" => "1", 
			"Case" => "1", 
			"Char" => "1", 
			"Charset" => "1", 
			"Check" => "1", 
			"CheckBox" => "1", 
			"Close" => "1", 
			"Col" => "1", 
			"Color" => "1", 
			"Command" => "1", 
			"Commit" => "1", 
			"Control" => "1", 
			"CoordSys" => "1", 
			"Create" => "1", 
			"Cursor" => "1", 
			"Center" => "1", 
			"Data" => "1", 
			"DDE" => "1", 
			"DDEExecute" => "1", 
			"DDEPoke" => "1", 
			"DDETerminate" => "1", 
			"DDETerminateAll" => "1", 
			"Declare" => "1", 
			"Define" => "1", 
			"Delete" => "1", 
			"Dialog" => "1", 
			"Dim" => "1", 
			"Disable" => "1", 
			"Do" => "1", 
			"Document" => "1", 
			"Drop" => "1", 
			"DrawMode" => "1", 
			"Display" => "1", 
			"Disconnect" => "1", 
			"Earth" => "1", 
			"Editable" => "1", 
			"EditText" => "1", 
			"Else" => "1", 
			"ElseIf" => "1", 
			"Enable" => "1", 
			"End" => "1", 
			"Error" => "1", 
			"Event" => "1", 
			"Exit" => "1", 
			"Export" => "1", 
			"Extents" => "1", 
			"Fetch" => "1", 
			"File" => "1", 
			"Find" => "1", 
			"First" => "1", 
			"FontPicker" => "1", 
			"For" => "1", 
			"Format" => "1", 
			"From" => "1", 
			"Function" => "1", 
			"Fixed" => "1", 
			"Front" => "1", 
			"Fit" => "1", 
			"FillFrame" => "1", 
			"Frame" => "1", 
			"FastEdit" => "1", 
			"Get" => "1", 
			"Global" => "1", 
			"Goto" => "1", 
			"Graph" => "1", 
			"Graphic" => "1", 
			"Group" => "1", 
			"GroupBox" => "1", 
			"Height" => "1", 
			"Hide" => "1", 
			"HelpMsg" => "1", 
			"ID" => "1", 
			"If" => "1", 
			"Include" => "1", 
			"Input" => "1", 
			"Into" => "1", 
			"In" => "1", 
			"Import" => "1", 
			"Insert" => "1", 
			"Index" => "1", 
			"Icon" => "1", 
			"Info" => "1", 
			"Interactive" => "1", 
			"Justify" => "1", 
			"Kill" => "1", 
			"Last" => "1", 
			"Layer" => "1", 
			"Layout" => "1", 
			"Lib" => "1", 
			"LINK" => "1", 
			"ListBox" => "1", 
			"Loop" => "1", 
			"Line" => "1", 
			"Map" => "1", 
			"Menu" => "1", 
			"Message" => "1", 
			"Merge" => "1", 
			"Module" => "1", 
			"MultiListBox" => "1", 
			"MapInfo" => "1", 
			"NATIVE" => "1", 
			"Next" => "1", 
			"Noselect" => "1", 
			"Note" => "1", 
			"Number" => "1", 
			"Node" => "1", 
			"Obj" => "1", 
			"Objects" => "1", 
			"Off" => "1", 
			"OKButton" => "1", 
			"On" => "1", 
			"Open" => "1", 
			"Order" => "1", 
			"Output" => "1", 
			"OnError" => "1", 
			"Overwrite" => "1", 
			"Pack" => "1", 
			"PenPicker" => "1", 
			"PopupMenu" => "1", 
			"Position" => "1", 
			"Prev" => "1", 
			"Print" => "1", 
			"PrintWin" => "1", 
			"Processing" => "1", 
			"Projection" => "1", 
			"Program" => "1", 
			"ProgressBar" => "1", 
			"ProgressBars" => "1", 
			"Put" => "1", 
			"PushButton" => "1", 
			"Point" => "1", 
			"RadioGroup" => "1", 
			"Range" => "1", 
			"Rec" => "1", 
			"ReDim" => "1", 
			"Register" => "1", 
			"Reload" => "1", 
			"Remove" => "1", 
			"Rename" => "1", 
			"Restore" => "1", 
			"ReadOnly" => "1", 
			"Resume" => "1", 
			"Rollback" => "1", 
			"Run" => "1", 
			"Rect" => "1", 
			"Redraw" => "1", 
			"Save" => "1", 
			"Seek" => "3", 
			"Select" => "1", 
			"Selectable" => "1", 
			"Set" => "1", 
			"Server" => "1", 
			"Step" => "1", 
			"Shade" => "1", 
			"Show" => "1", 
			"StaticText" => "1", 
			"StatusBar" => "1", 
			"Stop" => "1", 
			"Style" => "1", 
			"Styles" => "1", 
			"Sub" => "1", 
			"SymbolPicker" => "1", 
			"SysMenuClose" => "1", 
			"Separator" => "1", 
			"Table" => "1", 
			"Then" => "1", 
			"Title" => "1", 
			"To" => "1", 
			"Type" => "1", 
			"ToolButton" => "1", 
			"ToggleButton" => "1", 
			"Text" => "1", 
			"Union" => "1", 
			"Units" => "1", 
			"Update" => "1", 
			"Until" => "1", 
			"Undo" => "1", 
			"Using" => "1", 
			"Uncheck" => "1", 
			"UserRemoveMap" => "1", 
			"Value" => "1", 
			"Values" => "1", 
			"Variable" => "1", 
			"Vary" => "1", 
			"Where" => "1", 
			"While" => "1", 
			"Width" => "1", 
			"Window" => "1", 
			"Zoom" => "1", 
			"Alias" => "2", 
			"Brush" => "2", 
			"Date" => "2", 
			"Float" => "2", 
			"Font" => "2", 
			"Integer" => "2", 
			"Logical" => "2", 
			"Object" => "2", 
			"Pen" => "2", 
			"SmallInt" => "2", 
			"String" => "2", 
			"Symbol" => "2", 
			"Abs" => "3", 
			"Acos" => "3", 
			"Any" => "3", 
			"ApplicationDirectory$" => "3", 
			"Area" => "3", 
			"AreaOverlap" => "3", 
			"Asc" => "3", 
			"Ask" => "3", 
			"Asin" => "3", 
			"Atn" => "3", 
			"Avg" => "3", 
			"ButtonPadInfo" => "3", 
			"Buffer" => "3", 
			"CentroidX" => "3", 
			"CentroidY" => "3", 
			"Chr$" => "3", 
			"ColumnInfo" => "3", 
			"CommandInfo" => "3", 
			"Combine" => "3", 
			"Cos" => "3", 
			"Count" => "3", 
			"CurDate" => "3", 
			"CreateLine" => "3", 
			"CreateCircle" => "3", 
			"CreatePoint" => "3", 
			"CurrentBrush" => "3", 
			"CurrentFont" => "3", 
			"CurrentPen" => "3", 
			"CurrentSymbol" => "3", 
			"ConvertToPline" => "3", 
			"ConvertToRegion" => "3", 
			"Day" => "3", 
			"DeformatNumber$" => "3", 
			"Distance" => "3", 
			"EOT" => "3", 
			"EOF" => "3", 
			"Exp" => "3", 
			"EndHandler" => "3", 
			"Erase" => "3", 
			"Error$" => "3", 
			"Err" => "3", 
			"FileAttr" => "3", 
			"FileExists" => "3", 
			"Fix" => "3", 
			"FrontWindow" => "3", 
			"Format$" => "3", 
			"FormatDate$" => "3", 
			"FormatNumber$" => "3", 
			"FileOpenDlg" => "3", 
			"FileSaveAsDlg" => "3", 
			"ForegroundTaskSwitchHandler" => "3", 
			"HomeDirectory$" => "3", 
			"InStr" => "3", 
			"Int" => "3", 
			"IntersectNodes" => "3", 
			"LabelInfo" => "3", 
			"LayerInfo" => "3", 
			"LCase$" => "3", 
			"Left$" => "3", 
			"Len" => "3", 
			"Like" => "3", 
			"LOF" => "3", 
			"Log" => "3", 
			"LTrim$" => "3", 
			"MakeBrush" => "3", 
			"MakeCustomSymbol" => "3", 
			"MakeFont" => "3", 
			"MakeFontSymbol" => "3", 
			"MakePen" => "3", 
			"MakeSymbol" => "3", 
			"MapperInfo" => "3", 
			"Max" => "3", 
			"Maximum" => "3", 
			"MBR" => "3", 
			"MenuItemInfoByHandler" => "3", 
			"MenuItemInfoByID" => "3", 
			"Mid$" => "3", 
			"MidByte$" => "3", 
			"Min" => "3", 
			"Minimum" => "3", 
			"Month" => "3", 
			"NumberToDate" => "3", 
			"NumCols" => "3", 
			"NumTables" => "3", 
			"NumWindows" => "3", 
			"ObjectGeography" => "3", 
			"ObjectInfo" => "3", 
			"ObjectLen" => "3", 
			"OverlayNodes" => "3", 
			"ObjectNodeX" => "3", 
			"ObjectNodeY" => "3", 
			"Perimeter" => "3", 
			"Proper$" => "3", 
			"PathToDirectory$" => "3", 
			"PathToTableName$" => "3", 
			"PathToFileName$" => "3", 
			"ProgramDirectory$" => "3", 
			"Randomize" => "3", 
			"ReadControlValue" => "3", 
			"RGB" => "3", 
			"Right$" => "3", 
			"Rnd" => "3", 
			"Round" => "3", 
			"RTrim$" => "3", 
			"RemoteMsgHandler" => "3", 
			"RemoteQueryHandler" => "3", 
			"SearchInfo" => "3", 
			"SelectionInfo" => "3", 
			"Sgn" => "3", 
			"Sin" => "3", 
			"Space$" => "3", 
			"Sqr" => "3", 
			"Str$" => "3", 
			"String$" => "3", 
			"StringCompare" => "3", 
			"StringCompareIntl" => "3", 
			"StringToDate" => "3", 
			"StyleAttr" => "3", 
			"Sum" => "3", 
			"SystemInfo" => "3", 
			"Server_NumDrivers" => "3", 
			"SelChangedHandler" => "3", 
			"Server_Execute" => "3", 
			"Server_Connect" => "3", 
			"Server_ColumnInfo" => "3", 
			"Server_DriverInfo" => "3", 
			"Server_EOT" => "3", 
			"Server_NumCols" => "3", 
			"TableInfo" => "3", 
			"Tan" => "3", 
			"Time" => "3", 
			"Timer" => "3", 
			"TriggerControl" => "3", 
			"TempFileName$" => "3", 
			"TrueFileName$" => "3", 
			"UBound" => "3", 
			"UCase$" => "3", 
			"UnitAbbr$" => "3", 
			"UnitName$" => "3", 
			"Val" => "3", 
			"Weekday" => "3", 
			"WindowInfo" => "3", 
			"WtAvg" => "3", 
			"WinChangedHandler" => "3", 
			"WinClosedHandler" => "3", 
			"WindowID" => "3", 
			"WinFocusChangedHandler" => "3", 
			"Year" => "3", 
			"BLACK" => "4", 
			"BLUE" => "4", 
			"BRUSH_BACKCOLOR" => "4", 
			"BRUSH_FORECOLOR" => "4", 
			"BRUSH_PATTERN" => "4", 
			"BTNPAD_INFO_FLOATING" => "4", 
			"BTNPAD_INFO_NBTNS" => "4", 
			"BTNPAD_INFO_WIDTH" => "4", 
			"BTNPAD_INFO_WINID" => "4", 
			"BTNPAD_INFO_X" => "4", 
			"BTNPAD_INFO_Y" => "4", 
			"CLS" => "4", 
			"CYAN" => "4", 
			"CMD_INFO_CTRL" => "4", 
			"CMD_INFO_CUSTOM_OBJ" => "4", 
			"CMD_INFO_DLG_DBL" => "4", 
			"CMD_INFO_DLG_OK" => "4", 
			"CMD_INFO_FIND_RC" => "4", 
			"CMD_INFO_FIND_ROWID" => "4", 
			"CMD_INFO_INTERRUPT" => "4", 
			"CMD_INFO_MENUITEM" => "4", 
			"CMD_INFO_MSG" => "4", 
			"CMD_INFO_ROWID" => "4", 
			"CMD_INFO_SELTYPE" => "4", 
			"CMD_INFO_SHIFT" => "4", 
			"CMD_INFO_STATUS" => "4", 
			"CMD_INFO_TASK_SWITCH" => "4", 
			"CMD_INFO_TOOLBTN" => "4", 
			"CMD_INFO_WIN" => "4", 
			"CMD_INFO_X" => "4", 
			"CMD_INFO_X2" => "4", 
			"CMD_INFO_XCMD" => "4", 
			"CMD_INFO_Y" => "4", 
			"CMD_INFO_Y2" => "4", 
			"COL_INFO_DECPLACES" => "4", 
			"COL_INFO_EDITABLE" => "4", 
			"COL_INFO_INDEXED" => "4", 
			"COL_INFO_NAME" => "4", 
			"COL_INFO_NUM" => "4", 
			"COL_INFO_TYPE" => "4", 
			"COL_INFO_WIDTH" => "4", 
			"COL_TYPE_CHAR" => "4", 
			"COL_TYPE_DATE" => "4", 
			"COL_TYPE_DECIMAL" => "4", 
			"COL_TYPE_FLOAT" => "4", 
			"COL_TYPE_GRAPHIC" => "4", 
			"COL_TYPE_INTEGER" => "4", 
			"COL_TYPE_LOGICAL" => "4", 
			"COL_TYPE_SMALLINT" => "4", 
			"DEG_2_RAD" => "4", 
			"DM_CUSTOM_CIRCLE" => "4", 
			"DM_CUSTOM_ELLIPSE" => "4", 
			"DM_CUSTOM_RECT" => "4", 
			"DM_CUSTOM_LINE" => "4", 
			"DM_CUSTOM_POINT" => "4", 
			"DM_CUSTOM_POLYGON" => "4", 
			"DM_CUSTOM_POLYLINE" => "4", 
			"ERR_BAD_WINDOW" => "4", 
			"ERR_BAD_WINDOW_NUM" => "4", 
			"ERR_CANT_ACCESS_FILE" => "4", 
			"ERR_CANT_INITIATE_LINK" => "4", 
			"ERR_CMD_NOT_SUPPORTED" => "4", 
			"ERR_FCN_ARG_RANGE" => "4", 
			"ERR_FCN_INVALID_FMT" => "4", 
			"ERR_FCN_OBJ_FETCH_FAILED" => "4", 
			"ERR_FILEMGR_NOTOPEN" => "4", 
			"ERR_FP_MATH_LIB_DOMAIN" => "4", 
			"ERR_FP_MATH_LIB_RANGE" => "4", 
			"ERR_INVALID_CHANNEL" => "4", 
			"ERR_INVALID_READ_CONTROL" => "4", 
			"ERR_INVALID_TRIG_CONTROL" => "4", 
			"ERR_NO_FIELD" => "4", 
			"ERR_NO_RESPONSE_FROM_APP" => "4", 
			"ERR_NULL_SELECTION" => "4", 
			"ERR_PROCESS_FAILED_IN_APP" => "4", 
			"ERR_TABLE_NOT_FOUND" => "4", 
			"ERR_WANT_MAPPER_WIN" => "4", 
			"FALSE" => "4", 
			"FILE_ATTR_FILESIZE" => "4", 
			"FILE_ATTR_MODE" => "4", 
			"FONT_BACKCOLOR" => "4", 
			"FONT_FORECOLOR" => "4", 
			"FONT_NAME" => "4", 
			"FONT_POINTSIZE" => "4", 
			"FONT_STYLE" => "4", 
			"GREEN" => "4", 
			"INCL_ALL" => "4", 
			"INCL_COMMON" => "4", 
			"INCL_CROSSINGS" => "4", 
			"LAYER_INFO_ARROWS" => "4", 
			"LAYER_INFO_CENTROIDS" => "4", 
			"LAYER_INFO_COSMETIC" => "4", 
			"LAYER_INFO_DISPLAY" => "4", 
			"LAYER_INFO_DISPLAY_GLOBAL" => "4", 
			"LAYER_INFO_DISPLAY_GRAPHIC" => "4", 
			"LAYER_INFO_DISPLAY_OFF" => "4", 
			"LAYER_INFO_DISPLAY_VALUE" => "4", 
			"LAYER_INFO_EDITABLE" => "4", 
			"LAYER_INFO_LBL_AUTODISPLAY" => "4", 
			"LAYER_INFO_LBL_CURFONT" => "4", 
			"LAYER_INFO_LBL_DUPLICATES" => "4", 
			"LAYER_INFO_LBL_EXPR" => "4", 
			"LAYER_INFO_LBL_FONT" => "4", 
			"LAYER_INFO_LBL_LT" => "4", 
			"LAYER_INFO_LBL_LT_ARROW" => "4", 
			"LAYER_INFO_LBL_LT_NONE" => "4", 
			"LAYER_INFO_LBL_LT_SIMPLE" => "4", 
			"LAYER_INFO_LBL_MAX" => "4", 
			"LAYER_INFO_LBL_OFFSET" => "4", 
			"LAYER_INFO_LBL_OVERLAP" => "4", 
			"LAYER_INFO_LBL_PARALLEL" => "4", 
			"LAYER_INFO_LBL_POS" => "4", 
			"LAYER_INFO_LBL_POS_BC" => "4", 
			"LAYER_INFO_LBL_POS_BL" => "4", 
			"LAYER_INFO_LBL_POS_BR" => "4", 
			"LAYER_INFO_LBL_POS_CC" => "4", 
			"LAYER_INFO_LBL_POS_CL" => "4", 
			"LAYER_INFO_LBL_POS_CR" => "4", 
			"LAYER_INFO_LBL_POS_TC" => "4", 
			"LAYER_INFO_LBL_POS_TL" => "4", 
			"LAYER_INFO_LBL_POS_TR" => "4", 
			"LAYER_INFO_LBL_VISIBILITY" => "4", 
			"LAYER_INFO_LBL_VIS_OFF" => "4", 
			"LAYER_INFO_LBL_VIS_ON" => "4", 
			"LAYER_INFO_LBL_VIS_ZOOM" => "4", 
			"LAYER_INFO_LBL_ZOOM_MAX" => "4", 
			"LAYER_INFO_LBL_ZOOM_MIN" => "4", 
			"LAYER_INFO_NAME" => "4", 
			"LAYER_INFO_NODES" => "4", 
			"LAYER_INFO_OVR_BRUSH" => "4", 
			"LAYER_INFO_OVR_FONT" => "4", 
			"LAYER_INFO_OVR_LINE" => "4", 
			"LAYER_INFO_OVR_PEN" => "4", 
			"LAYER_INFO_OVR_SYMBOL" => "4", 
			"LAYER_INFO_PATH" => "4", 
			"LAYER_INFO_SELECTABLE" => "4", 
			"LAYER_INFO_TYPE" => "4", 
			"LAYER_INFO_TYPE_COSMETIC" => "4", 
			"LAYER_INFO_TYPE_IMAGE" => "4", 
			"LAYER_INFO_TYPE_NORMAL" => "4", 
			"LAYER_INFO_TYPE_THEMATIC" => "4", 
			"LAYER_INFO_ZOOM_LAYERED" => "4", 
			"LAYER_INFO_ZOOM_MAX" => "4", 
			"LAYER_INFO_ZOOM_MIN" => "4", 
			"MAGENTA" => "4", 
			"MAPPER_INFO_MAXX" => "4", 
			"MAPPER_INFO_MAXY" => "4", 
			"MAPPER_INFO_MINX" => "4", 
			"MAPPER_INFO_MINY" => "4", 
			"MAPPER_INFO_NUM_THEMATIC" => "4", 
			"MAPPER_INFO_AREAUNITS" => "4", 
			"MAPPER_INFO_CENTERX" => "4", 
			"MAPPER_INFO_CENTERY" => "4", 
			"MAPPER_INFO_COORDSYS_CLAUSE" => "4", 
			"MAPPER_INFO_COORDSYS_NAME" => "4", 
			"MAPPER_INFO_DISPLAY" => "4", 
			"MAPPER_INFO_DISPLAY_POSITION" => "4", 
			"MAPPER_INFO_DISPLAY_SCALE" => "4", 
			"MAPPER_INFO_DISPLAY_ZOOM" => "4", 
			"MAPPER_INFO_DISTUNITS" => "4", 
			"MAPPER_INFO_EDIT_LAYER" => "4", 
			"MAPPER_INFO_LAYERS" => "4", 
			"MAPPER_INFO_SCALE" => "4", 
			"MAPPER_INFO_SCROLLBARS" => "4", 
			"MAPPER_INFO_XYUNITS" => "4", 
			"MAPPER_INFO_ZOOM" => "4", 
			"MENUITEM_INFO_ACCELERATOR" => "4", 
			"MENUITEM_INFO_CHECKABLE" => "4", 
			"MENUITEM_INFO_CHECKED" => "4", 
			"MENUITEM_INFO_ENABLED" => "4", 
			"MENUITEM_INFO_HANDLER" => "4", 
			"MENUITEM_INFO_HELPMSG" => "4", 
			"MENUITEM_INFO_ID" => "4", 
			"MENUITEM_INFO_SHOWHIDEABLE" => "4", 
			"MENUITEM_INFO_TEXT" => "4", 
			"MIPLATFORM_HP" => "4", 
			"MIPLATFORM_MAC68K" => "4", 
			"MIPLATFORM_POWERMAC" => "4", 
			"MIPLATFORM_SPECIAL" => "4", 
			"MIPLATFORM_SUN" => "4", 
			"MIPLATFORM_WIN16" => "4", 
			"MIPLATFORM_WIN32" => "4", 
			"MODE_APPEND" => "4", 
			"MODE_BINARY" => "4", 
			"MODE_INPUT" => "4", 
			"MODE_OUTPUT" => "4", 
			"MODE_RANDOM" => "4", 
			"MI_CURSOR_ARROW" => "4", 
			"MI_CURSOR_IBEAM" => "4", 
			"MI_CURSOR_FINGER_LEFT" => "4", 
			"MI_CURSOR_ZOOM_IN" => "4", 
			"MI_CURSOR_ZOOM_OUT" => "4", 
			"MI_CURSOR_DRAG_OBJ" => "4", 
			"MI_CURSOR_GRABBER" => "4", 
			"MI_CURSOR_CHANGE_WIDTH" => "4", 
			"MI_CURSOR_FINGER_UP" => "4", 
			"MI_CURSOR_IBEAM_CROSS" => "4", 
			"MI_CURSOR_CROSSHAIR" => "4", 
			"MI_ICON_ADD_NODE" => "4", 
			"MI_ICON_ARC" => "4", 
			"MI_ICON_ARROW" => "4", 
			"MI_ICON_CLIP_MODE" => "4", 
			"MI_ICON_CLIP_REGION" => "4", 
			"MI_ICON_COPY" => "4", 
			"MI_ICON_CROSSHAIR" => "4", 
			"MI_ICON_CUT" => "4", 
			"MI_ICON_DISTRICT_MANY" => "4", 
			"MI_ICON_DISTRICT_SAME" => "4", 
			"MI_ICON_DRAG_HANDLE" => "4", 
			"MI_ICON_ELLIPSE" => "4", 
			"MI_ICON_GRABBER" => "4", 
			"MI_ICON_HELP" => "4", 
			"MI_ICON_INFO" => "4", 
			"MI_ICON_LABEL" => "4", 
			"MI_ICON_LAYERS" => "4", 
			"MI_ICON_LEGEND" => "4", 
			"MI_ICON_LINE" => "4", 
			"MI_ICON_LINE_STYLE" => "4", 
			"MI_ICON_NEW_DOC" => "4", 
			"MI_ICON_OPEN_FILE" => "4", 
			"MI_ICON_PASTE" => "4", 
			"MI_ICON_POLYGON" => "4", 
			"MI_ICON_POLYLINE" => "4", 
			"MI_ICON_PRINT" => "4", 
			"MI_ICON_RECT" => "4", 
			"MI_ICON_REGION_STYLE" => "4", 
			"MI_ICON_RESHAPE" => "4", 
			"MI_ICON_ROUND_RECT" => "4", 
			"MI_ICON_RULER" => "4", 
			"MI_ICON_RUN" => "4", 
			"MI_ICON_SAVE_FILE" => "4", 
			"MI_ICON_SEARCH_BDY" => "4", 
			"MI_ICON_SEARCH_RADIUS" => "4", 
			"MI_ICON_SEARCH_RECT" => "4", 
			"MI_ICON_STATISTICS" => "4", 
			"MI_ICON_SYMBOL" => "4", 
			"MI_ICON_SYMBOL_STYLE" => "4", 
			"MI_ICON_TEXT" => "4", 
			"MI_ICON_TEXT_STYLE" => "4", 
			"MI_ICON_UNDO" => "4", 
			"MI_ICON_WINDOW_FRAME" => "4", 
			"MI_ICON_WRENCH" => "4", 
			"MI_ICON_ZOOM_IN" => "4", 
			"MI_ICON_ZOOM_OUT" => "4", 
			"MI_ICON_ZOOM_QUESTION" => "4", 
			"M_ANALYZE_CALC_STATISTICS" => "4", 
			"M_ANALYZE_FIND" => "4", 
			"M_ANALYZE_FIND_SELECTION" => "4", 
			"M_ANALYZE_SELECT" => "4", 
			"M_ANALYZE_SELECTALL" => "4", 
			"M_ANALYZE_SQLQUERY" => "4", 
			"M_ANALYZE_UNSELECT" => "4", 
			"M_BROWSE_OPTIONS" => "4", 
			"M_BROWSE_PICK_FIELDS" => "4", 
			"M_EDIT_CLEAR" => "4", 
			"M_EDIT_CLEAROBJ" => "4", 
			"M_EDIT_COPY" => "4", 
			"M_EDIT_CUT" => "4", 
			"M_EDIT_GETINFO" => "4", 
			"M_EDIT_NEW_ROW" => "4", 
			"M_EDIT_PASTE" => "4", 
			"M_EDIT_PREFERENCES" => "4", 
			"M_EDIT_PREFERENCES_COUNTRY" => "4", 
			"M_EDIT_PREFERENCES_FILE" => "4", 
			"M_EDIT_PREFERENCES_MAP" => "4", 
			"M_EDIT_PREFERENCES_PATH" => "4", 
			"M_EDIT_PREFERENCES_SYSTEM" => "4", 
			"M_EDIT_RESHAPE" => "4", 
			"M_EDIT_UNDO" => "4", 
			"M_FILE_ADD_WORKSPACE" => "4", 
			"M_FILE_CLOSE" => "4", 
			"M_FILE_CLOSE_ALL" => "4", 
			"M_FILE_EXIT" => "4", 
			"M_FILE_NEW" => "4", 
			"M_FILE_OPEN" => "4", 
			"M_FILE_OPEN_ODBC" => "4", 
			"M_FILE_PAGE_SETUP" => "4", 
			"M_FILE_PRINT" => "4", 
			"M_FILE_REVERT" => "4", 
			"M_FILE_RUN" => "4", 
			"M_FILE_SAVE" => "4", 
			"M_FILE_SAVE_COPY_AS" => "4", 
			"M_FILE_SAVE_WINDOW_AS" => "4", 
			"M_FILE_SAVE_WORKSPACE" => "4", 
			"M_FORMAT_CUSTOM_COLORS" => "4", 
			"M_FORMAT_PICK_FILL" => "4", 
			"M_FORMAT_PICK_FONT" => "4", 
			"M_FORMAT_PICK_LINE" => "4", 
			"M_FORMAT_PICK_SYMBOL" => "4", 
			"M_GRAPH_LABEL_AXIS" => "4", 
			"M_GRAPH_SERIES" => "4", 
			"M_GRAPH_TYPE" => "4", 
			"M_GRAPH_VALUE_AXIS" => "4", 
			"M_HELP_ABOUT" => "4", 
			"M_HELP_CONNECT_MIFORUM" => "4", 
			"M_HELP_CONTENTS" => "4", 
			"M_HELP_CONTEXTSENSITIVE" => "4", 
			"M_HELP_HELPMODE" => "4", 
			"M_HELP_SEARCH" => "4", 
			"M_HELP_TECHSUPPORT" => "4", 
			"M_HELP_USE_HELP" => "4", 
			"M_LAYOUT_ACTUAL" => "4", 
			"M_LAYOUT_ALIGN" => "4", 
			"M_LAYOUT_BRING2FRONT" => "4", 
			"M_LAYOUT_CHANGE_VIEW" => "4", 
			"M_LAYOUT_DISPLAYOPTIONS" => "4", 
			"M_LAYOUT_DROBeautifierADOWS" => "4", 
			"M_LAYOUT_ENTIRE" => "4", 
			"M_LAYOUT_PREVIOUS" => "4", 
			"M_LAYOUT_SEND2BACK" => "4", 
			"M_MAPBASIC_CLEAR" => "4", 
			"M_MAPBASIC_SAVECONTENTS" => "4", 
			"M_MAP_CHANGE_VIEW" => "4", 
			"M_MAP_CLEAR_COSMETIC" => "4", 
			"M_MAP_CLEAR_CUSTOM_LABELS" => "4", 
			"M_MAP_CLIP_REGION_ONOFF" => "4", 
			"M_MAP_CLONE_MAPPER" => "4", 
			"M_MAP_ENTIRE_LAYER" => "4", 
			"M_MAP_LAYER_CONTROL" => "4", 
			"M_MAP_MODIFY_THEMATIC" => "4", 
			"M_MAP_OPTIONS" => "4", 
			"M_MAP_PREVIOUS" => "4", 
			"M_MAP_SAVE_COSMETIC" => "4", 
			"M_MAP_SETUPDIGITIZER" => "4", 
			"M_MAP_SET_CLIP_REGION" => "4", 
			"M_MAP_THEMATIC" => "4", 
			"M_OBJECTS_BUFFER" => "4", 
			"M_OBJECTS_CLEAR_TARGET" => "4", 
			"M_OBJECTS_COMBINE" => "4", 
			"M_OBJECTS_CVT_PGON" => "4", 
			"M_OBJECTS_CVT_PLINE" => "4", 
			"M_OBJECTS_ERASE" => "4", 
			"M_OBJECTS_ERASE_OUT" => "4", 
			"M_OBJECTS_OVERLAY" => "4", 
			"M_OBJECTS_SET_TARGET" => "4", 
			"M_OBJECTS_SMOOTH" => "4", 
			"M_OBJECTS_SPLIT" => "4", 
			"M_OBJECTS_UNSMOOTH" => "4", 
			"M_QUERY_CALC_STATISTICS" => "4", 
			"M_QUERY_FIND" => "4", 
			"M_QUERY_FIND_SELECTION" => "4", 
			"M_QUERY_SELECT" => "4", 
			"M_QUERY_SELECTALL" => "4", 
			"M_QUERY_SQLQUERY" => "4", 
			"M_QUERY_UNSELECT" => "4", 
			"M_REDISTRICT_ADD" => "4", 
			"M_REDISTRICT_ASSIGN" => "4", 
			"M_REDISTRICT_DELETE" => "4", 
			"M_REDISTRICT_OPTIONS" => "4", 
			"M_REDISTRICT_TARGET" => "4", 
			"M_SENDMAIL_CURRENTWINDOW" => "4", 
			"M_SENDMAIL_WORKSPACE" => "4", 
			"M_TABLE_APPEND" => "4", 
			"M_TABLE_CHANGESYMBOL" => "4", 
			"M_TABLE_CREATE_POINTS" => "4", 
			"M_TABLE_DELETE" => "4", 
			"M_TABLE_EXPORT" => "4", 
			"M_TABLE_GEOCODE" => "4", 
			"M_TABLE_IMPORT" => "4", 
			"M_TABLE_MAKEMAPPABLE" => "4", 
			"M_TABLE_MERGE_USING_COLUMN" => "4", 
			"M_TABLE_MODIFY_STRUCTURE" => "4", 
			"M_TABLE_PACK" => "4", 
			"M_TABLE_RASTER_REG" => "4", 
			"M_TABLE_RASTER_STYLE" => "4", 
			"M_TABLE_REFRESH" => "4", 
			"M_TABLE_RENAME" => "4", 
			"M_TABLE_UNLINK" => "4", 
			"M_TABLE_UPDATE_COLUMN" => "4", 
			"M_TOOLS_ADD_NODE" => "4", 
			"M_TOOLS_ARC" => "4", 
			"M_TOOLS_DRAGWINDOW" => "4", 
			"M_TOOLS_ELLIPSE" => "4", 
			"M_TOOLS_EXPAND" => "4", 
			"M_TOOLS_FRAME" => "4", 
			"M_TOOLS_LABELER" => "4", 
			"M_TOOLS_LINE" => "4", 
			"M_TOOLS_MAPBASIC" => "4", 
			"M_TOOLS_PNT_QUERY" => "4", 
			"M_TOOLS_POINT" => "4", 
			"M_TOOLS_POLYGON" => "4", 
			"M_TOOLS_POLYLINE" => "4", 
			"M_TOOLS_RASTER_REG" => "4", 
			"M_TOOLS_RECENTER" => "4", 
			"M_TOOLS_RECTANGLE" => "4", 
			"M_TOOLS_ROUNDEDRECT" => "4", 
			"M_TOOLS_RULER" => "4", 
			"M_TOOLS_SEARCH_BOUNDARY" => "4", 
			"M_TOOLS_SEARCH_POLYGON" => "4", 
			"M_TOOLS_SEARCH_RADIUS" => "4", 
			"M_TOOLS_SEARCH_RECT" => "4", 
			"M_TOOLS_SELECTOR" => "4", 
			"M_TOOLS_SHRINK" => "4", 
			"M_TOOLS_TEXT" => "4", 
			"M_WINDOW_ARRANGEICONS" => "4", 
			"M_WINDOW_BROWSE" => "4", 
			"M_WINDOW_BUTTONPAD" => "4", 
			"M_WINDOW_CASCADE" => "4", 
			"M_WINDOW_FIRST" => "4", 
			"M_WINDOW_GRAPH" => "4", 
			"M_WINDOW_LAYOUT" => "4", 
			"M_WINDOW_LEGEND" => "4", 
			"M_WINDOW_MAP" => "4", 
			"M_WINDOW_MAPBASIC" => "4", 
			"M_WINDOW_MORE" => "4", 
			"M_WINDOW_REDISTRICT" => "4", 
			"M_WINDOW_REDRAW" => "4", 
			"M_WINDOW_STATISTICS" => "4", 
			"M_WINDOW_STATUSBAR" => "4", 
			"M_WINDOW_TILE" => "4", 
			"OBJ_GEO_ARCBEGANGLE" => "4", 
			"OBJ_GEO_ARCENDANGLE" => "4", 
			"OBJ_GEO_LINEBEGX" => "4", 
			"OBJ_GEO_LINEBEGY" => "4", 
			"OBJ_GEO_LINEENDX" => "4", 
			"OBJ_GEO_LINEENDY" => "4", 
			"OBJ_GEO_MAXX" => "4", 
			"OBJ_GEO_MAXY" => "4", 
			"OBJ_GEO_MINX" => "4", 
			"OBJ_GEO_MINY" => "4", 
			"OBJ_GEO_POINTX" => "4", 
			"OBJ_GEO_POINTY" => "4", 
			"OBJ_GEO_ROUNDRADIUS" => "4", 
			"OBJ_GEO_TEXTANGLE" => "4", 
			"OBJ_GEO_TEXTLINEX" => "4", 
			"OBJ_GEO_TEXTLINEY" => "4", 
			"OBJ_INFO_BRUSH" => "4", 
			"OBJ_INFO_FILLFRAME" => "4", 
			"OBJ_INFO_FRAMETITLE" => "4", 
			"OBJ_INFO_FRAMEWIN" => "4", 
			"OBJ_INFO_NPNTS" => "4", 
			"OBJ_INFO_NPOLYGONS" => "4", 
			"OBJ_INFO_PEN" => "4", 
			"OBJ_INFO_SMOOTH" => "4", 
			"OBJ_INFO_SYMBOL" => "4", 
			"OBJ_INFO_TEXTARROW" => "4", 
			"OBJ_INFO_TEXTFONT" => "4", 
			"OBJ_INFO_TEXTJUSTIFY" => "4", 
			"OBJ_INFO_TEXTSPACING" => "4", 
			"OBJ_INFO_TEXTSTRING" => "4", 
			"OBJ_INFO_TYPE" => "4", 
			"OBJ_TYPE_ARC" => "4", 
			"OBJ_TYPE_ELLIPSE" => "4", 
			"OBJ_TYPE_FRAME" => "4", 
			"OBJ_TYPE_LINE" => "4", 
			"OBJ_TYPE_PLINE" => "4", 
			"OBJ_TYPE_POINT" => "4", 
			"OBJ_TYPE_RECT" => "4", 
			"OBJ_TYPE_REGION" => "4", 
			"OBJ_TYPE_ROUNDRECT" => "4", 
			"OBJ_TYPE_TEXT" => "4", 
			"PEN_COLOR" => "4", 
			"PEN_PATTERN" => "4", 
			"PEN_WIDTH" => "4", 
			"PLATFORM_MAC" => "4", 
			"PLATFORM_MOTIF" => "4", 
			"PLATFORM_SPECIAL" => "4", 
			"PLATFORM_WIN" => "4", 
			"PLATFORM_X11" => "4", 
			"PLATFORM_XOL" => "4", 
			"RAD_2_DEG" => "4", 
			"RED" => "4", 
			"SEARCH_INFO_ROW" => "4", 
			"SEARCH_INFO_TABLE" => "4", 
			"SEL_INFO_NROWS" => "4", 
			"SEL_INFO_SELNAME" => "4", 
			"SEL_INFO_TABLENAME" => "4", 
			"SRV_COL_INFO_ALIAS" => "4", 
			"SRV_COL_INFO_NAME" => "4", 
			"SRV_COL_INFO_PRECISION" => "4", 
			"SRV_COL_INFO_SCALE" => "4", 
			"SRV_COL_INFO_STATUS" => "4", 
			"SRV_COL_INFO_TYPE" => "4", 
			"SRV_COL_INFO_VALUE" => "4", 
			"SRV_COL_INFO_WIDTH" => "4", 
			"SRV_COL_TYPE_BIN_STRING" => "4", 
			"SRV_COL_TYPE_CHAR" => "4", 
			"SRV_COL_TYPE_DATE" => "4", 
			"SRV_COL_TYPE_DECIMAL" => "4", 
			"SRV_COL_TYPE_FIXED_LEN_STRING" => "4", 
			"SRV_COL_TYPE_FLOAT" => "4", 
			"SRV_COL_TYPE_INTEGER" => "4", 
			"SRV_COL_TYPE_LOGICAL" => "4", 
			"SRV_COL_TYPE_NONE" => "4", 
			"SRV_COL_TYPE_SMALLINT" => "4", 
			"SRV_DRV_DATA_SOURCE" => "4", 
			"SRV_DRV_INFO_NAME" => "4", 
			"SRV_DRV_INFO_NAME_LIST" => "4", 
			"SRV_ERROR" => "4", 
			"SRV_FETCH_FIRST" => "4", 
			"SRV_FETCH_LAST" => "4", 
			"SRV_FETCH_NEXT" => "4", 
			"SRV_FETCH_PREV" => "4", 
			"SRV_INVALID_HANDLE" => "4", 
			"SRV_NEED_DATA" => "4", 
			"SRV_NO_MORE_DATA" => "4", 
			"SRV_NULL_DATA" => "4", 
			"SRV_SUCCESS" => "4", 
			"SRV_SUCCESS_WITH_INFO" => "4", 
			"SRV_TRUNCATED_DATA" => "4", 
			"STR_EQ" => "4", 
			"STR_GT" => "4", 
			"STR_LT" => "4", 
			"SWITCHING_INTO_MAPINFO" => "4", 
			"SWITCHING_OUT_OF_MAPINFO" => "4", 
			"SYMBOL_ANGLE" => "4", 
			"SYMBOL_CODE" => "4", 
			"SYMBOL_COLOR" => "4", 
			"SYMBOL_CUSTOM_NAME" => "4", 
			"SYMBOL_CUSTOM_STYLE" => "4", 
			"SYMBOL_FONT_NAME" => "4", 
			"SYMBOL_FONT_STYLE" => "4", 
			"SYMBOL_KIND" => "4", 
			"SYMBOL_KIND_CUSTOM" => "4", 
			"SYMBOL_KIND_FONT" => "4", 
			"SYMBOL_KIND_VECTOR" => "4", 
			"SYMBOL_POINTSIZE" => "4", 
			"SYS_INFO_APPLICATIONWND" => "4", 
			"SYS_INFO_APPVERSION" => "4", 
			"SYS_INFO_CHARSET" => "4", 
			"SYS_INFO_COPYPROTECTED" => "4", 
			"SYS_INFO_DATE_FORMAT" => "4", 
			"SYS_INFO_DDESTATUS" => "4", 
			"SYS_INFO_DIG_INSTALLED" => "4", 
			"SYS_INFO_DIG_MODE" => "4", 
			"SYS_INFO_MAPINFOWND" => "4", 
			"SYS_INFO_MDICLIENTWND" => "4", 
			"SYS_INFO_MIPLATFORM" => "4", 
			"SYS_INFO_MIVERSION" => "4", 
			"SYS_INFO_NUMBER_FORMAT" => "4", 
			"SYS_INFO_PLATFORM" => "4", 
			"SYS_INFO_PRODUCTLEVEL" => "4", 
			"SYS_INFO_RUNTIME" => "4", 
			"TAB_INFO_NAME" => "4", 
			"TAB_INFO_NCOLS" => "4", 
			"TAB_INFO_NREFS" => "4", 
			"TAB_INFO_NROWS" => "4", 
			"TAB_INFO_NUM" => "4", 
			"TAB_INFO_READONLY" => "4", 
			"TAB_INFO_SEAMLESS" => "4", 
			"TAB_INFO_TABFILE" => "4", 
			"TAB_INFO_TEMP" => "4", 
			"TAB_INFO_TYPE" => "4", 
			"TAB_INFO_UNDO" => "4", 
			"TAB_INFO_USERBROWSE" => "4", 
			"TAB_INFO_USERCLOSE" => "4", 
			"TAB_INFO_USERDISPLAYMAP" => "4", 
			"TAB_INFO_USEREDITABLE" => "4", 
			"TAB_INFO_USERMAP" => "4", 
			"TAB_INFO_USERREMOVEMAP" => "4", 
			"TAB_TYPE_BASE" => "4", 
			"TAB_TYPE_IMAGE" => "4", 
			"TAB_TYPE_LINKED" => "4", 
			"TAB_TYPE_RESULT" => "4", 
			"TAB_TYPE_VIEW" => "4", 
			"TRUE" => "4", 
			"TAB_INFO_COORDSYS_CLAUSE" => "4", 
			"TAB_INFO_COORDSYS_MAXX" => "4", 
			"TAB_INFO_COORDSYS_MAXY" => "4", 
			"TAB_INFO_COORDSYS_MINX" => "4", 
			"TAB_INFO_COORDSYS_MINY" => "4", 
			"TAB_INFO_COORDSYS_NAME" => "4", 
			"TAB_INFO_EDITED" => "4", 
			"TAB_INFO_FASTEDIT" => "4", 
			"TAB_INFO_MAPPABLE" => "4", 
			"TAB_INFO_MAPPABLE_TABLE" => "4", 
			"TAB_INFO_MAXX" => "4", 
			"TAB_INFO_MAXY" => "4", 
			"TAB_INFO_MINX" => "4", 
			"TAB_INFO_MINY" => "4", 
			"WHITE" => "4", 
			"WIN_BROWSER" => "4", 
			"WIN_BUTTONPAD" => "4", 
			"WIN_GRAPH" => "4", 
			"WIN_HELP" => "4", 
			"WIN_INFO" => "4", 
			"WIN_INFO_AUTOSCROLL" => "4", 
			"WIN_INFO_CLONEWINDOW" => "4", 
			"WIN_INFO_HEIGHT" => "4", 
			"WIN_INFO_LEGENDS_MAP" => "4", 
			"WIN_INFO_NAME" => "4", 
			"WIN_INFO_OPEN" => "4", 
			"WIN_INFO_STATE" => "4", 
			"WIN_INFO_SYSMENUCLOSE" => "4", 
			"WIN_INFO_TABLE" => "4", 
			"WIN_INFO_TOPMOST" => "4", 
			"WIN_INFO_TYPE" => "4", 
			"WIN_INFO_WIDTH" => "4", 
			"WIN_INFO_WINDOWID" => "4", 
			"WIN_INFO_WND" => "4", 
			"WIN_INFO_WORKSPACE" => "4", 
			"WIN_INFO_X" => "4", 
			"WIN_INFO_Y" => "4", 
			"WIN_LAYOUT" => "4", 
			"WIN_LEGEND" => "4", 
			"WIN_MAPBASIC" => "4", 
			"WIN_MAPINFO" => "4", 
			"WIN_MAPPER" => "4", 
			"WIN_MESSAGE" => "4", 
			"WIN_PENPICKER" => "4", 
			"WIN_RULER" => "4", 
			"WIN_STATE_MAXIMIZED" => "4", 
			"WIN_STATE_MINIMIZED" => "4", 
			"WIN_STATE_NORMAL" => "4", 
			"WIN_STATISTICS" => "4", 
			"WIN_STYLE_CHILD" => "4", 
			"WIN_STYLE_POPUP" => "4", 
			"WIN_STYLE_POPUP_FULLCAPTION" => "4", 
			"WIN_STYLE_STANDARD" => "4", 
			"WIN_SYMBOLPICKER" => "4", 
			"WIN_TOOLBAR" => "4", 
			"WIN_TOOLPICKER" => "4", 
			"YELLOW" => "4", 
			"AND" => "5", 
			"Contains" => "5", 
			"Entire" => "5", 
			"Entirely" => "5", 
			"Intersects" => "5", 
			"Mod" => "5", 
			"NOT" => "5", 
			"OR" => "5", 
			"Part" => "5", 
			"Partly" => "5", 
			"Within" => "5", 
			"+" => "5", 
			"-" => "5", 
			"*" => "5", 
			"/" => "5", 
			"^" => "5", 
			"&" => "5", 
			"\\" => "5", 
			"(" => "5", 
			")" => "5", 
			"<" => "5", 
			">" => "5", 
			"," => "5", 
			"=" => "5");

// Special extensions

// Each category can specify a PHP function that returns an altered
// version of the keyword.
        
        

$this->linkscripts    	= array(
			"1" => "donothing", 
			"3" => "donothing", 
			"2" => "donothing", 
			"4" => "donothing", 
			"5" => "donothing");
}


function donothing($keywordin)
{
	return $keywordin;
}

}?>
