unit nsXPCOM_std18;

interface

uses
  nsConsts, nsGeckoStrings, nsTypes;

const
  NS_ISUPPORTS_STD18_IID: TGUID = '{00000000-0000-0000-c000-000000000046}';

  MOZIJSSUBSCRIPTLOADER_STD18_IID: TGUID = '{8792d77e-1dd2-11b2-ac7f-9bc9be4f2916}';

  NS_IARRAY_STD18_IID: TGUID = '{114744d9-c369-456e-b55a-52fe52880d2d}';

  NS_IMUTABLEARRAY_STD18_IID: TGUID = '{af059da0-c85b-40ec-af07-ae4bfdc192cc}';

  NS_IASN1OBJECT_STD18_IID: TGUID = '{ba8bf582-1dd1-11b2-898c-f40246bc9a63}';
  NS_IASN1OBJECT_STD18_ASN1_END_CONTENTS = 0;
  NS_IASN1OBJECT_STD18_ASN1_BOOLEAN = 1;
  NS_IASN1OBJECT_STD18_ASN1_INTEGER = 2;
  NS_IASN1OBJECT_STD18_ASN1_BIT_STRING = 3;
  NS_IASN1OBJECT_STD18_ASN1_OCTET_STRING = 4;
  NS_IASN1OBJECT_STD18_ASN1_NULL = 5;
  NS_IASN1OBJECT_STD18_ASN1_OBJECT_ID = 6;
  NS_IASN1OBJECT_STD18_ASN1_ENUMERATED = 10;
  NS_IASN1OBJECT_STD18_ASN1_UTF8_STRING = 12;
  NS_IASN1OBJECT_STD18_ASN1_SEQUENCE = 16;
  NS_IASN1OBJECT_STD18_ASN1_SET = 17;
  NS_IASN1OBJECT_STD18_ASN1_PRINTABLE_STRING = 19;
  NS_IASN1OBJECT_STD18_ASN1_T61_STRING = 20;
  NS_IASN1OBJECT_STD18_ASN1_IA5_STRING = 22;
  NS_IASN1OBJECT_STD18_ASN1_UTC_TIME = 23;
  NS_IASN1OBJECT_STD18_ASN1_GEN_TIME = 24;
  NS_IASN1OBJECT_STD18_ASN1_VISIBLE_STRING = 26;
  NS_IASN1OBJECT_STD18_ASN1_UNIVERSAL_STRING = 28;
  NS_IASN1OBJECT_STD18_ASN1_BMP_STRING = 30;
  NS_IASN1OBJECT_STD18_ASN1_HIGH_TAG_NUMBER = 31;
  NS_IASN1OBJECT_STD18_ASN1_CONTEXT_SPECIFIC = 32;
  NS_IASN1OBJECT_STD18_ASN1_APPLICATION = 33;
  NS_IASN1OBJECT_STD18_ASN1_PRIVATE = 34;

  NS_IASN1SEQUENCE_STD18_IID: TGUID = '{b6b957e6-1dd1-11b2-89d7-e30624f50b00}';

  NS_IAUTHPROMPT_STD18_IID: TGUID = '{2f977d45-5485-11d4-87e2-0010a4e75ef2}';
  NS_IAUTHPROMPT_STD18_SAVE_PASSWORD_NEVER = 0;
  NS_IAUTHPROMPT_STD18_SAVE_PASSWORD_FOR_SESSION = 1;
  NS_IAUTHPROMPT_STD18_SAVE_PASSWORD_PERMANENTLY = 2;

  NS_IBADCERTLISTENER_STD18_IID: TGUID = '{86960956-edb0-11d4-998b-00b0d02354a0}';
  NS_IBADCERTLISTENER_STD18_UNINIT_ADD_FLAG = -1;
  NS_IBADCERTLISTENER_STD18_ADD_TRUSTED_FOR_SESSION = 1;
  NS_IBADCERTLISTENER_STD18_ADD_TRUSTED_PERMANENTLY = 2;

  NS_ISIMPLEENUMERATOR_STD18_IID: TGUID = '{d1899240-f9d2-11d2-bdd6-000064657374}';

  NS_ICATEGORYMANAGER_STD18_IID: TGUID = '{3275b2cd-af6d-429a-80d7-f0c5120342ac}';

  NS_ICERTIFICATEDIALOGS_STD18_IID: TGUID = '{a03ca940-09be-11d5-ac5d-000064657374}';

  NS_IREQUEST_STD18_IID: TGUID = '{ef6bfbd2-fd46-48d8-96b7-9f8f0fd387fe}';
  NS_IREQUEST_STD18_LOAD_NORMAL = 0;
  NS_IREQUEST_STD18_LOAD_BACKGROUND = 1;
  NS_IREQUEST_STD18_INHIBIT_CACHING = 128;
  NS_IREQUEST_STD18_INHIBIT_PERSISTENT_CACHING = 256;
  NS_IREQUEST_STD18_LOAD_BYPASS_CACHE = 512;
  NS_IREQUEST_STD18_LOAD_FROM_CACHE = 1024;
  NS_IREQUEST_STD18_VALIDATE_ALWAYS = 2048;
  NS_IREQUEST_STD18_VALIDATE_NEVER = 4096;
  NS_IREQUEST_STD18_VALIDATE_ONCE_PER_SESSION = 8192;

  NS_ICHANNEL_STD18_IID: TGUID = '{c63a055a-a676-4e71-bf3c-6cfa11082018}';
  NS_ICHANNEL_STD18_LOAD_DOCUMENT_URI = 65536;
  NS_ICHANNEL_STD18_LOAD_RETARGETED_DOCUMENT_URI = 131072;
  NS_ICHANNEL_STD18_LOAD_REPLACE = 262144;
  NS_ICHANNEL_STD18_LOAD_INITIAL_DOCUMENT_URI = 524288;
  NS_ICHANNEL_STD18_LOAD_TARGETED = 1048576;

  NS_IPROGRAMMINGLANGUAGE_STD18_IID: TGUID = '{ea604e90-40ba-11d5-90bb-0010a4e73d9a}';
  NS_IPROGRAMMINGLANGUAGE_STD18_UNKNOWN = 0;
  NS_IPROGRAMMINGLANGUAGE_STD18_CPLUSPLUS = 1;
  NS_IPROGRAMMINGLANGUAGE_STD18_JAVASCRIPT = 2;
  NS_IPROGRAMMINGLANGUAGE_STD18_PYTHON = 3;
  NS_IPROGRAMMINGLANGUAGE_STD18_PERL = 4;
  NS_IPROGRAMMINGLANGUAGE_STD18_JAVA = 5;
  NS_IPROGRAMMINGLANGUAGE_STD18_ZX81_BASIC = 6;
  NS_IPROGRAMMINGLANGUAGE_STD18_JAVASCRIPT2 = 7;

  NS_ICLASSINFO_STD18_IID: TGUID = '{986c11d0-f340-11d4-9075-0010a4e73d9a}';
  NS_ICLASSINFO_STD18_SINGLETON = 1;
  NS_ICLASSINFO_STD18_THREADSAFE = 2;
  NS_ICLASSINFO_STD18_MAIN_THREAD_ONLY = 4;
  NS_ICLASSINFO_STD18_DOM_OBJECT = 8;
  NS_ICLASSINFO_STD18_PLUGIN_OBJECT = 16;
  NS_ICLASSINFO_STD18_EAGER_CLASSINFO = 32;
  NS_ICLASSINFO_STD18_CONTENT_NODE = 64;
  NS_ICLASSINFO_STD18_RESERVED = 2147483648;

  NS_ICLIPBOARDCOMMANDS_STD18_IID: TGUID = '{b8100c90-73be-11d2-92a5-00105a1b0d64}';

  NS_ICOMPONENTMANAGER_STD18_IID: TGUID = '{a88e5a60-205a-4bb1-94e1-2628daf51eae}';

  NS_ICOMPONENTREGISTRAR_STD18_IID: TGUID = '{2417cbfe-65ad-48a6-b4b6-eb84db174392}';

  NS_ICONTEXTMENULISTENER_STD18_IID: TGUID = '{3478b6b0-3875-11d4-94ef-0020183bf181}';
  NS_ICONTEXTMENULISTENER_STD18_CONTEXT_NONE = 0;
  NS_ICONTEXTMENULISTENER_STD18_CONTEXT_LINK = 1;
  NS_ICONTEXTMENULISTENER_STD18_CONTEXT_IMAGE = 2;
  NS_ICONTEXTMENULISTENER_STD18_CONTEXT_DOCUMENT = 4;
  NS_ICONTEXTMENULISTENER_STD18_CONTEXT_TEXT = 8;
  NS_ICONTEXTMENULISTENER_STD18_CONTEXT_INPUT = 16;

  NS_ICOOKIE_STD18_IID: TGUID = '{e9fcb9a4-d376-458f-b720-e65e7df593bc}';
  NS_ICOOKIE_STD18_STATUS_UNKNOWN = 0;
  NS_ICOOKIE_STD18_STATUS_ACCEPTED = 1;
  NS_ICOOKIE_STD18_STATUS_DOWNGRADED = 2;
  NS_ICOOKIE_STD18_STATUS_FLAGGED = 3;
  NS_ICOOKIE_STD18_STATUS_REJECTED = 4;
  NS_ICOOKIE_STD18_POLICY_UNKNOWN = 0;
  NS_ICOOKIE_STD18_POLICY_NONE = 1;
  NS_ICOOKIE_STD18_POLICY_NO_CONSENT = 2;
  NS_ICOOKIE_STD18_POLICY_IMPLICIT_CONSENT = 3;
  NS_ICOOKIE_STD18_POLICY_EXPLICIT_CONSENT = 4;
  NS_ICOOKIE_STD18_POLICY_NO_II = 5;

  NS_ICOOKIEMANAGER_STD18_IID: TGUID = '{aaab6710-0f2c-11d5-a53b-0010a401eb10}';

  NS_ICRLINFO_STD18_IID: TGUID = '{c185d920-4a3e-11d5-ba27-00108303b117}';

  NS_IDEBUG_STD18_IID: TGUID = '{3bf0c3d7-3bd9-4cf2-a971-33572c503e1e}';

  NS_IFILE_STD18_IID: TGUID = '{c8c0a080-0868-11d3-915f-d9d889d48e3c}';
  NS_IFILE_STD18_NORMAL_FILE_TYPE = 0;
  NS_IFILE_STD18_DIRECTORY_TYPE = 1;

  NS_IDIRECTORYSERVICEPROVIDER_STD18_IID: TGUID = '{bbf8cab0-d43a-11d3-8cc2-00609792278c}';

  NS_IDIRECTORYSERVICEPROVIDER2_STD18_IID: TGUID = '{2f977d4b-5485-11d4-87e2-0010a4e75ef2}';

  NS_IDIRECTORYSERVICE_STD18_IID: TGUID = '{57a66a60-d43a-11d3-8cc2-00609792278c}';

  NS_IDOM3DOCUMENTEVENT_STD18_IID: TGUID = '{090ecc19-b7cb-4f47-ae47-ed68d4926249}';

  NS_IDOM3EVENTTARGET_STD18_IID: TGUID = '{3e9c01a7-de97-4c3b-8294-b4bd9d7056d1}';

  NS_IDOMABSTRACTVIEW_STD18_IID: TGUID = '{f51ebade-8b1a-11d3-aae7-0010830123b4}';

  NS_IDOMNODE_STD18_IID: TGUID = '{a6cf907c-15b3-11d2-932e-00805f8add32}';
  NS_IDOMNODE_STD18_ELEMENT_NODE = 1;
  NS_IDOMNODE_STD18_ATTRIBUTE_NODE = 2;
  NS_IDOMNODE_STD18_TEXT_NODE = 3;
  NS_IDOMNODE_STD18_CDATA_SECTION_NODE = 4;
  NS_IDOMNODE_STD18_ENTITY_REFERENCE_NODE = 5;
  NS_IDOMNODE_STD18_ENTITY_NODE = 6;
  NS_IDOMNODE_STD18_PROCESSING_INSTRUCTION_NODE = 7;
  NS_IDOMNODE_STD18_COMMENT_NODE = 8;
  NS_IDOMNODE_STD18_DOCUMENT_NODE = 9;
  NS_IDOMNODE_STD18_DOCUMENT_TYPE_NODE = 10;
  NS_IDOMNODE_STD18_DOCUMENT_FRAGMENT_NODE = 11;
  NS_IDOMNODE_STD18_NOTATION_NODE = 12;

  NS_IDOMATTR_STD18_IID: TGUID = '{a6cf9070-15b3-11d2-932e-00805f8add32}';

  NS_IDOMBARPROP_STD18_IID: TGUID = '{9eb2c150-1d56-11d3-8221-0060083a0bcf}';

  NS_IDOMCHARACTERDATA_STD18_IID: TGUID = '{a6cf9072-15b3-11d2-932e-00805f8add32}';

  NS_IDOMTEXT_STD18_IID: TGUID = '{a6cf9082-15b3-11d2-932e-00805f8add32}';

  NS_IDOMCDATASECTION_STD18_IID: TGUID = '{a6cf9071-15b3-11d2-932e-00805f8add32}';

  NS_IDOMCOMMENT_STD18_IID: TGUID = '{a6cf9073-15b3-11d2-932e-00805f8add32}';

  NS_IDOMCOUNTER_STD18_IID: TGUID = '{31adb439-0055-402d-9b1d-d5ca94f3f55b}';

  NS_IDOMCSSVALUE_STD18_IID: TGUID = '{009f7ea5-9e80-41be-b008-db62f10823f2}';
  NS_IDOMCSSVALUE_STD18_CSS_INHERIT = 0;
  NS_IDOMCSSVALUE_STD18_CSS_PRIMITIVE_VALUE = 1;
  NS_IDOMCSSVALUE_STD18_CSS_VALUE_LIST = 2;
  NS_IDOMCSSVALUE_STD18_CSS_CUSTOM = 3;

  NS_IDOMCSSPRIMITIVEVALUE_STD18_IID: TGUID = '{e249031f-8df9-4e7a-b644-18946dce0019}';
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_UNKNOWN = 0;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_NUMBER = 1;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_PERCENTAGE = 2;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_EMS = 3;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_EXS = 4;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_PX = 5;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_CM = 6;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_MM = 7;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_IN = 8;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_PT = 9;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_PC = 10;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_DEG = 11;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_RAD = 12;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_GRAD = 13;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_MS = 14;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_S = 15;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_HZ = 16;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_KHZ = 17;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_DIMENSION = 18;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_STRING = 19;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_URI = 20;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_IDENT = 21;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_ATTR = 22;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_COUNTER = 23;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_RECT = 24;
  NS_IDOMCSSPRIMITIVEVALUE_STD18_CSS_RGBCOLOR = 25;

  NS_IDOMCSSRULE_STD18_IID: TGUID = '{a6cf90c1-15b3-11d2-932e-00805f8add32}';
  NS_IDOMCSSRULE_STD18_UNKNOWN_RULE = 0;
  NS_IDOMCSSRULE_STD18_STYLE_RULE = 1;
  NS_IDOMCSSRULE_STD18_CHARSET_RULE = 2;
  NS_IDOMCSSRULE_STD18_IMPORT_RULE = 3;
  NS_IDOMCSSRULE_STD18_MEDIA_RULE = 4;
  NS_IDOMCSSRULE_STD18_FONT_FACE_RULE = 5;
  NS_IDOMCSSRULE_STD18_PAGE_RULE = 6;

  NS_IDOMCSSRULELIST_STD18_IID: TGUID = '{a6cf90c0-15b3-11d2-932e-00805f8add32}';

  NS_IDOMCSSSTYLEDECLARATION_STD18_IID: TGUID = '{a6cf90be-15b3-11d2-932e-00805f8add32}';

  NS_IDOMSTYLESHEET_STD18_IID: TGUID = '{a6cf9080-15b3-11d2-932e-00805f8add32}';

  NS_IDOMCSSSTYLESHEET_STD18_IID: TGUID = '{a6cf90c2-15b3-11d2-932e-00805f8add32}';

  NS_IDOMCSSVALUELIST_STD18_IID: TGUID = '{8f09fa84-39b9-4dca-9b2f-db0eeb186286}';

  NS_IDOMEVENT_STD18_IID: TGUID = '{a66b7b80-ff46-bd97-0080-5f8ae38add32}';
  NS_IDOMEVENT_STD18_CAPTURING_PHASE = 1;
  NS_IDOMEVENT_STD18_AT_TARGET = 2;
  NS_IDOMEVENT_STD18_BUBBLING_PHASE = 3;

  NS_IDOMCUSTOMEVENT_STD18_IID: TGUID = '{55c7af7b-1a64-40bf-87eb-2c2cbee0491b}';

  NS_IDOMDOCUMENT_STD18_IID: TGUID = '{a6cf9075-15b3-11d2-932e-00805f8add32}';

  NS_IDOMDOCUMENTEVENT_STD18_IID: TGUID = '{46b91d66-28e2-11d4-ab1e-0010830123b4}';

  NS_IDOMDOCUMENTFRAGMENT_STD18_IID: TGUID = '{a6cf9076-15b3-11d2-932e-00805f8add32}';

  NS_IDOMDOCUMENTRANGE_STD18_IID: TGUID = '{7b9badc6-c9bc-447a-8670-dbd195aed24b}';

  NS_IDOMDOCUMENTSTYLE_STD18_IID: TGUID = '{3d9f4973-dd2e-48f5-b5f7-2634e09eadd9}';

  NS_IDOMDOCUMENTTYPE_STD18_IID: TGUID = '{a6cf9077-15b3-11d2-932e-00805f8add32}';

  NS_IDOMDOCUMENTVIEW_STD18_IID: TGUID = '{1acdb2ba-1dd2-11b2-95bc-9542495d2569}';

  NS_IDOMDOMEXCEPTION_STD18_IID: TGUID = '{a6cf910a-15b3-11d2-932e-00805f8add32}';
  NS_IDOMDOMEXCEPTION_STD18_INDEX_SIZE_ERR = 1;
  NS_IDOMDOMEXCEPTION_STD18_DOMSTRING_SIZE_ERR = 2;
  NS_IDOMDOMEXCEPTION_STD18_HIERARCHY_REQUEST_ERR = 3;
  NS_IDOMDOMEXCEPTION_STD18_WRONG_DOCUMENT_ERR = 4;
  NS_IDOMDOMEXCEPTION_STD18_INVALID_CHARACTER_ERR = 5;
  NS_IDOMDOMEXCEPTION_STD18_NO_DATA_ALLOWED_ERR = 6;
  NS_IDOMDOMEXCEPTION_STD18_NO_MODIFICATION_ALLOWED_ERR = 7;
  NS_IDOMDOMEXCEPTION_STD18_NOT_FOUND_ERR = 8;
  NS_IDOMDOMEXCEPTION_STD18_NOT_SUPPORTED_ERR = 9;
  NS_IDOMDOMEXCEPTION_STD18_INUSE_ATTRIBUTE_ERR = 10;
  NS_IDOMDOMEXCEPTION_STD18_INVALID_STATE_ERR = 11;
  NS_IDOMDOMEXCEPTION_STD18_SYNTAX_ERR = 12;
  NS_IDOMDOMEXCEPTION_STD18_INVALID_MODIFICATION_ERR = 13;
  NS_IDOMDOMEXCEPTION_STD18_NAMESPACE_ERR = 14;
  NS_IDOMDOMEXCEPTION_STD18_INVALID_ACCESS_ERR = 15;
  NS_IDOMDOMEXCEPTION_STD18_VALIDATION_ERR = 16;
  NS_IDOMDOMEXCEPTION_STD18_TYPE_MISMATCH_ERR = 17;

  NS_IDOMDOMIMPLEMENTATION_STD18_IID: TGUID = '{a6cf9074-15b3-11d2-932e-00805f8add32}';

  NS_IDOMELEMENT_STD18_IID: TGUID = '{a6cf9078-15b3-11d2-932e-00805f8add32}';

  NS_IDOMELEMENTCSSINLINESTYLE_STD18_IID: TGUID = '{99715845-95fc-4a56-aa53-214b65c26e22}';

  NS_IDOMENTITY_STD18_IID: TGUID = '{a6cf9079-15b3-11d2-932e-00805f8add32}';

  NS_IDOMENTITYREFERENCE_STD18_IID: TGUID = '{a6cf907a-15b3-11d2-932e-00805f8add32}';

  NS_IDOMEVENTGROUP_STD18_IID: TGUID = '{33347bee-6620-4841-8152-36091ae80c7e}';

  NS_IDOMEVENTLISTENER_STD18_IID: TGUID = '{df31c120-ded6-11d1-bd85-00805f8ae3f4}';

  NS_IDOMEVENTTARGET_STD18_IID: TGUID = '{1c773b30-d1cf-11d2-bd95-00805f8ae3f4}';

  NS_IDOMHTMLELEMENT_STD18_IID: TGUID = '{a6cf9085-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLANCHORELEMENT_STD18_IID: TGUID = '{a6cf90aa-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLAPPLETELEMENT_STD18_IID: TGUID = '{a6cf90ae-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLAREAELEMENT_STD18_IID: TGUID = '{a6cf90b0-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLBASEELEMENT_STD18_IID: TGUID = '{a6cf908b-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLBASEFONTELEMENT_STD18_IID: TGUID = '{a6cf90a6-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLBODYELEMENT_STD18_IID: TGUID = '{a6cf908e-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLBRELEMENT_STD18_IID: TGUID = '{a6cf90a5-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLBUTTONELEMENT_STD18_IID: TGUID = '{a6cf9095-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLCOLLECTION_STD18_IID: TGUID = '{a6cf9083-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLDIRECTORYELEMENT_STD18_IID: TGUID = '{a6cf909c-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLDIVELEMENT_STD18_IID: TGUID = '{a6cf90a0-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLDLISTELEMENT_STD18_IID: TGUID = '{a6cf909b-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLDOCUMENT_STD18_IID: TGUID = '{a6cf9084-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLEMBEDELEMENT_STD18_IID: TGUID = '{123f90ab-15b3-11d2-456e-00805f8add32}';

  NS_IDOMHTMLFIELDSETELEMENT_STD18_IID: TGUID = '{a6cf9097-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLFONTELEMENT_STD18_IID: TGUID = '{a6cf90a7-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLFORMELEMENT_STD18_IID: TGUID = '{a6cf908f-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLFRAMEELEMENT_STD18_IID: TGUID = '{a6cf90b9-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLFRAMESETELEMENT_STD18_IID: TGUID = '{a6cf90b8-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLHEADELEMENT_STD18_IID: TGUID = '{a6cf9087-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLHEADINGELEMENT_STD18_IID: TGUID = '{a6cf90a2-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLHRELEMENT_STD18_IID: TGUID = '{a6cf90a8-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLHTMLELEMENT_STD18_IID: TGUID = '{a6cf9086-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLIFRAMEELEMENT_STD18_IID: TGUID = '{a6cf90ba-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLIMAGEELEMENT_STD18_IID: TGUID = '{a6cf90ab-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLINPUTELEMENT_STD18_IID: TGUID = '{a6cf9093-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLISINDEXELEMENT_STD18_IID: TGUID = '{a6cf908c-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLLABELELEMENT_STD18_IID: TGUID = '{a6cf9096-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLLEGENDELEMENT_STD18_IID: TGUID = '{a6cf9098-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLLIELEMENT_STD18_IID: TGUID = '{a6cf909e-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLLINKELEMENT_STD18_IID: TGUID = '{a6cf9088-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLMAPELEMENT_STD18_IID: TGUID = '{a6cf90af-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLMENUELEMENT_STD18_IID: TGUID = '{a6cf909d-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLMETAELEMENT_STD18_IID: TGUID = '{a6cf908a-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLMODELEMENT_STD18_IID: TGUID = '{a6cf90a9-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLOBJECTELEMENT_STD18_IID: TGUID = '{a6cf90ac-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLOLISTELEMENT_STD18_IID: TGUID = '{a6cf909a-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLOPTGROUPELEMENT_STD18_IID: TGUID = '{a6cf9091-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLOPTIONELEMENT_STD18_IID: TGUID = '{a6cf9092-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLOPTIONSCOLLECTION_STD18_IID: TGUID = '{bce0213c-f70f-488f-b93f-688acca55d63}';

  NS_IDOMHTMLPARAGRAPHELEMENT_STD18_IID: TGUID = '{a6cf90a1-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLPARAMELEMENT_STD18_IID: TGUID = '{a6cf90ad-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLPREELEMENT_STD18_IID: TGUID = '{a6cf90a4-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLQUOTEELEMENT_STD18_IID: TGUID = '{a6cf90a3-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLSCRIPTELEMENT_STD18_IID: TGUID = '{a6cf90b1-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLSELECTELEMENT_STD18_IID: TGUID = '{a6cf9090-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLSTYLEELEMENT_STD18_IID: TGUID = '{a6cf908d-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLTABLECAPTIONELEMENT_STD18_IID: TGUID = '{a6cf90b3-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLTABLECELLELEMENT_STD18_IID: TGUID = '{a6cf90b7-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLTABLECOLELEMENT_STD18_IID: TGUID = '{a6cf90b4-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLTABLEELEMENT_STD18_IID: TGUID = '{a6cf90b2-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLTABLEROWELEMENT_STD18_IID: TGUID = '{a6cf90b6-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLTABLESECTIONELEMENT_STD18_IID: TGUID = '{a6cf90b5-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLTEXTAREAELEMENT_STD18_IID: TGUID = '{a6cf9094-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLTITLEELEMENT_STD18_IID: TGUID = '{a6cf9089-15b3-11d2-932e-00805f8add32}';

  NS_IDOMHTMLULISTELEMENT_STD18_IID: TGUID = '{a6cf9099-15b3-11d2-932e-00805f8add32}';

  NS_IDOMMEDIALIST_STD18_IID: TGUID = '{9b0c2ed7-111c-4824-adf9-ef0da6dad371}';

  NS_IDOMUIEVENT_STD18_IID: TGUID = '{a6cf90c3-15b3-11d2-932e-00805f8add32}';

  NS_IDOMMOUSEEVENT_STD18_IID: TGUID = '{ff751edc-8b02-aae7-0010-8301838a3123}';

  NS_IDOMNAMEDNODEMAP_STD18_IID: TGUID = '{a6cf907b-15b3-11d2-932e-00805f8add32}';

  NS_IDOMNODELIST_STD18_IID: TGUID = '{a6cf907d-15b3-11d2-932e-00805f8add32}';

  NS_IDOMNOTATION_STD18_IID: TGUID = '{a6cf907e-15b3-11d2-932e-00805f8add32}';

  NS_IDOMNSDOCUMENTSTYLE_STD18_IID: TGUID = '{4ecdf254-a21e-47b0-8d72-55da8208299f}';

  NS_IDOMPROCESSINGINSTRUCTION_STD18_IID: TGUID = '{a6cf907f-15b3-11d2-932e-00805f8add32}';

  NS_IDOMRANGE_STD18_IID: TGUID = '{a6cf90ce-15b3-11d2-932e-00805f8add32}';
  NS_IDOMRANGE_STD18_START_TO_START = 0;
  NS_IDOMRANGE_STD18_START_TO_END = 1;
  NS_IDOMRANGE_STD18_END_TO_END = 2;
  NS_IDOMRANGE_STD18_END_TO_START = 3;

  NS_IDOMRECT_STD18_IID: TGUID = '{71735f62-ac5c-4236-9a1f-5ffb280d531c}';

  NS_IDOMRGBCOLOR_STD18_IID: TGUID = '{6aff3102-320d-4986-9790-12316bb87cf9}';

  NS_IDOMSTYLESHEETLIST_STD18_IID: TGUID = '{a6cf9081-15b3-11d2-932e-00805f8add32}';

  NS_IDOMWINDOW_STD18_IID: TGUID = '{a6cf906b-15b3-11d2-932e-00805f8add32}';

  NS_IDOMWINDOW2_STD18_IID: TGUID = '{65455132-b96a-40ec-adea-52fa22b1028c}';

  NS_IDOMWINDOWCOLLECTION_STD18_IID: TGUID = '{a6cf906f-15b3-11d2-932e-00805f8add32}';

  NS_IDOMWINDOWUTILS_STD18_IID: TGUID = '{8a157a4f-a81e-489f-baf2-bc8970d60472}';

  NS_IEMBEDDINGSITEWINDOW_STD18_IID: TGUID = '{3e5432cd-9568-4bd1-8cbe-d50aba110743}';
  NS_IEMBEDDINGSITEWINDOW_STD18_DIM_FLAGS_POSITION = 1;
  NS_IEMBEDDINGSITEWINDOW_STD18_DIM_FLAGS_SIZE_INNER = 2;
  NS_IEMBEDDINGSITEWINDOW_STD18_DIM_FLAGS_SIZE_OUTER = 4;

  NS_IFACTORY_STD18_IID: TGUID = '{00000001-0000-0000-c000-000000000046}';

  NS_IURI_STD18_IID: TGUID = '{07a22cc0-0ce5-11d3-9331-00104ba0fd40}';

  NS_IURL_STD18_IID: TGUID = '{d6116970-8034-11d3-9399-00104ba0fd40}';

  NS_IFILEURL_STD18_IID: TGUID = '{d26b2e2e-1dd1-11b2-88f3-8545a7ba7949}';

  NS_IGLOBALHISTORY_STD18_IID: TGUID = '{9491c383-e3c4-11d2-bdbe-0050040a9b44}';

  NS_IHISTORYENTRY_STD18_IID: TGUID = '{a41661d4-1417-11d5-9882-00c04fa02f40}';

  NS_IHTTPCHANNEL_STD18_IID: TGUID = '{9277fe09-f0cc-4cd9-bbce-581dd94b0260}';

  NS_IHTTPHEADERVISITOR_STD18_IID: TGUID = '{0cf40717-d7c1-4a94-8c1e-d6c9734101bb}';

  NS_IINPUTSTREAM_STD18_IID: TGUID = '{fa9c7f6c-61b3-11d4-9877-00c04fa0cf4a}';

  NS_IINTERFACEREQUESTOR_STD18_IID: TGUID = '{033a1470-8b2a-11d3-af88-00a024ffc08c}';

  NS_IIOSERVICE_STD18_IID: TGUID = '{bddeda3f-9020-4d12-8c70-984ee9f7935e}';

  NS_ILOADGROUP_STD18_IID: TGUID = '{3de0a31c-feaf-400f-9f1e-4ef71f8b20cc}';

  NS_ILOCALFILE_STD18_IID: TGUID = '{aa610f20-a889-11d3-8c81-000064657374}';

  NS_IMEMORY_STD18_IID: TGUID = '{59e7e77a-38e4-11d4-8cf5-0060b0fc14a3}';

  NS_IMODULE_STD18_IID: TGUID = '{7392d032-5371-11d3-994e-00805fd26fee}';

  NS_IOBSERVER_STD18_IID: TGUID = '{db242e01-e4d9-11d2-9dde-000064657374}';

  NS_IOBSERVERSERVICE_STD18_IID: TGUID = '{d07f5192-e3d1-11d2-8acd-00105a1b8860}';

  NS_IOUTPUTSTREAM_STD18_IID: TGUID = '{0d0acd2a-61b4-11d4-9877-00c04fa0cf4a}';

  NS_IPREFBRANCH_STD18_IID: TGUID = '{56c35506-f14b-11d3-99d3-ddbfac2ccf65}';
  NS_IPREFBRANCH_STD18_PREF_INVALID = 0;
  NS_IPREFBRANCH_STD18_PREF_STRING = 32;
  NS_IPREFBRANCH_STD18_PREF_INT = 64;
  NS_IPREFBRANCH_STD18_PREF_BOOL = 128;

  NS_IPREFBRANCH2_STD18_IID: TGUID = '{74567534-eb94-4b1c-8f45-389643bfc555}';

  NS_IPREFLOCALIZEDSTRING_STD18_IID: TGUID = '{ae419e24-1dd1-11b2-b39a-d3e5e7073802}';

  NS_IPREFSERVICE_STD18_IID: TGUID = '{decb9cc7-c08f-4ea5-be91-a8fc637ce2d2}';

  NS_IPRINTSESSION_STD18_IID: TGUID = '{2f977d52-5485-11d4-87e2-0010a4e75ef2}';

  NS_IPRINTSETTINGS_STD18_IID: TGUID = '{f1094df6-ce0e-42c9-9847-2f663172c38d}';
  NS_IPRINTSETTINGS_STD18_kInitSaveOddEvenPages = 1;
  NS_IPRINTSETTINGS_STD18_kInitSaveHeaderLeft = 2;
  NS_IPRINTSETTINGS_STD18_kInitSaveHeaderCenter = 4;
  NS_IPRINTSETTINGS_STD18_kInitSaveHeaderRight = 8;
  NS_IPRINTSETTINGS_STD18_kInitSaveFooterLeft = 16;
  NS_IPRINTSETTINGS_STD18_kInitSaveFooterCenter = 32;
  NS_IPRINTSETTINGS_STD18_kInitSaveFooterRight = 64;
  NS_IPRINTSETTINGS_STD18_kInitSaveBGColors = 128;
  NS_IPRINTSETTINGS_STD18_kInitSaveBGImages = 256;
  NS_IPRINTSETTINGS_STD18_kInitSavePaperSize = 512;
  NS_IPRINTSETTINGS_STD18_kInitSavePaperName = 1024;
  NS_IPRINTSETTINGS_STD18_kInitSavePaperSizeUnit = 2048;
  NS_IPRINTSETTINGS_STD18_kInitSavePaperSizeType = 4096;
  NS_IPRINTSETTINGS_STD18_kInitSavePaperData = 8192;
  NS_IPRINTSETTINGS_STD18_kInitSavePaperWidth = 16384;
  NS_IPRINTSETTINGS_STD18_kInitSavePaperHeight = 32768;
  NS_IPRINTSETTINGS_STD18_kInitSaveReversed = 65536;
  NS_IPRINTSETTINGS_STD18_kInitSaveInColor = 131072;
  NS_IPRINTSETTINGS_STD18_kInitSaveOrientation = 262144;
  NS_IPRINTSETTINGS_STD18_kInitSavePrintCommand = 524288;
  NS_IPRINTSETTINGS_STD18_kInitSavePrinterName = 1048576;
  NS_IPRINTSETTINGS_STD18_kInitSavePrintToFile = 2097152;
  NS_IPRINTSETTINGS_STD18_kInitSaveToFileName = 4194304;
  NS_IPRINTSETTINGS_STD18_kInitSavePageDelay = 8388608;
  NS_IPRINTSETTINGS_STD18_kInitSaveMargins = 16777216;
  NS_IPRINTSETTINGS_STD18_kInitSaveNativeData = 33554432;
  NS_IPRINTSETTINGS_STD18_kInitSavePlexName = 67108864;
  NS_IPRINTSETTINGS_STD18_kInitSaveShrinkToFit = 134217728;
  NS_IPRINTSETTINGS_STD18_kInitSaveScaling = 268435456;
  NS_IPRINTSETTINGS_STD18_kInitSaveColorspace = 536870912;
  NS_IPRINTSETTINGS_STD18_kInitSaveResolutionName = 1073741824;
  NS_IPRINTSETTINGS_STD18_kInitSaveDownloadFonts = 2147483648;
  NS_IPRINTSETTINGS_STD18_kInitSaveAll = 4294967295;
  NS_IPRINTSETTINGS_STD18_kPrintOddPages = 1;
  NS_IPRINTSETTINGS_STD18_kPrintEvenPages = 2;
  NS_IPRINTSETTINGS_STD18_kEnableSelectionRB = 4;
  NS_IPRINTSETTINGS_STD18_kRangeAllPages = 0;
  NS_IPRINTSETTINGS_STD18_kRangeSpecifiedPageRange = 1;
  NS_IPRINTSETTINGS_STD18_kRangeSelection = 2;
  NS_IPRINTSETTINGS_STD18_kRangeFocusFrame = 3;
  NS_IPRINTSETTINGS_STD18_kJustLeft = 0;
  NS_IPRINTSETTINGS_STD18_kJustCenter = 1;
  NS_IPRINTSETTINGS_STD18_kJustRight = 2;
  NS_IPRINTSETTINGS_STD18_kUseInternalDefault = 0;
  NS_IPRINTSETTINGS_STD18_kUseSettingWhenPossible = 1;
  NS_IPRINTSETTINGS_STD18_kPaperSizeNativeData = 0;
  NS_IPRINTSETTINGS_STD18_kPaperSizeDefined = 1;
  NS_IPRINTSETTINGS_STD18_kPaperSizeInches = 0;
  NS_IPRINTSETTINGS_STD18_kPaperSizeMillimeters = 1;
  NS_IPRINTSETTINGS_STD18_kPortraitOrientation = 0;
  NS_IPRINTSETTINGS_STD18_kLandscapeOrientation = 1;
  NS_IPRINTSETTINGS_STD18_kNoFrames = 0;
  NS_IPRINTSETTINGS_STD18_kFramesAsIs = 1;
  NS_IPRINTSETTINGS_STD18_kSelectedFrame = 2;
  NS_IPRINTSETTINGS_STD18_kEachFrameSep = 3;
  NS_IPRINTSETTINGS_STD18_kFrameEnableNone = 0;
  NS_IPRINTSETTINGS_STD18_kFrameEnableAll = 1;
  NS_IPRINTSETTINGS_STD18_kFrameEnableAsIsAndEach = 2;

  NS_IPROFILE_STD18_IID: TGUID = '{02b0625a-e7f3-11d2-9f5a-006008a6efe9}';
  NS_IPROFILE_STD18_SHUTDOWN_PERSIST = 1;
  NS_IPROFILE_STD18_SHUTDOWN_CLEANSE = 2;

  NS_IPROFILECHANGESTATUS_STD18_IID: TGUID = '{2f977d43-5485-11d4-87e2-0010a4e75ef2}';

  NS_IPROMPT_STD18_IID: TGUID = '{a63f70c0-148b-11d3-9333-00104ba0fd40}';
  NS_IPROMPT_STD18_BUTTON_POS_0 = 1;
  NS_IPROMPT_STD18_BUTTON_POS_1 = 256;
  NS_IPROMPT_STD18_BUTTON_POS_2 = 65536;
  NS_IPROMPT_STD18_BUTTON_TITLE_OK = 1;
  NS_IPROMPT_STD18_BUTTON_TITLE_CANCEL = 2;
  NS_IPROMPT_STD18_BUTTON_TITLE_YES = 3;
  NS_IPROMPT_STD18_BUTTON_TITLE_NO = 4;
  NS_IPROMPT_STD18_BUTTON_TITLE_SAVE = 5;
  NS_IPROMPT_STD18_BUTTON_TITLE_DONT_SAVE = 6;
  NS_IPROMPT_STD18_BUTTON_TITLE_REVERT = 7;
  NS_IPROMPT_STD18_BUTTON_TITLE_IS_STRING = 127;
  NS_IPROMPT_STD18_BUTTON_POS_0_DEFAULT = 0;
  NS_IPROMPT_STD18_BUTTON_POS_1_DEFAULT = 16777216;
  NS_IPROMPT_STD18_BUTTON_POS_2_DEFAULT = 33554432;
  NS_IPROMPT_STD18_BUTTON_DELAY_ENABLE = 67108864;
  NS_IPROMPT_STD18_STD_OK_CANCEL_BUTTONS = 513;

  NS_IPROMPTSERVICE_STD18_IID: TGUID = '{1630c61a-325e-49ca-8759-a31b16c47aa5}';
  NS_IPROMPTSERVICE_STD18_BUTTON_POS_0 = 1;
  NS_IPROMPTSERVICE_STD18_BUTTON_POS_1 = 256;
  NS_IPROMPTSERVICE_STD18_BUTTON_POS_2 = 65536;
  NS_IPROMPTSERVICE_STD18_BUTTON_TITLE_OK = 1;
  NS_IPROMPTSERVICE_STD18_BUTTON_TITLE_CANCEL = 2;
  NS_IPROMPTSERVICE_STD18_BUTTON_TITLE_YES = 3;
  NS_IPROMPTSERVICE_STD18_BUTTON_TITLE_NO = 4;
  NS_IPROMPTSERVICE_STD18_BUTTON_TITLE_SAVE = 5;
  NS_IPROMPTSERVICE_STD18_BUTTON_TITLE_DONT_SAVE = 6;
  NS_IPROMPTSERVICE_STD18_BUTTON_TITLE_REVERT = 7;
  NS_IPROMPTSERVICE_STD18_BUTTON_TITLE_IS_STRING = 127;
  NS_IPROMPTSERVICE_STD18_BUTTON_POS_0_DEFAULT = 0;
  NS_IPROMPTSERVICE_STD18_BUTTON_POS_1_DEFAULT = 16777216;
  NS_IPROMPTSERVICE_STD18_BUTTON_POS_2_DEFAULT = 33554432;
  NS_IPROMPTSERVICE_STD18_BUTTON_DELAY_ENABLE = 67108864;
  NS_IPROMPTSERVICE_STD18_STD_OK_CANCEL_BUTTONS = 513;
  NS_IPROMPTSERVICE_STD18_STD_YES_NO_BUTTONS = 1027;

  NS_IPROPERTIES_STD18_IID: TGUID = '{78650582-4e93-4b60-8e85-26ebd3eb14ca}';

  NS_IPROTOCOLHANDLER_STD18_IID: TGUID = '{15fd6940-8ea7-11d3-93ad-00104ba0fd40}';
  NS_IPROTOCOLHANDLER_STD18_URI_STD = 0;
  NS_IPROTOCOLHANDLER_STD18_URI_NORELATIVE = 1;
  NS_IPROTOCOLHANDLER_STD18_URI_NOAUTH = 2;
  NS_IPROTOCOLHANDLER_STD18_ALLOWS_PROXY = 4;
  NS_IPROTOCOLHANDLER_STD18_ALLOWS_PROXY_HTTP = 8;

  NS_IREQUESTOBSERVER_STD18_IID: TGUID = '{fd91e2e0-1481-11d3-9333-00104ba0fd40}';

  NS_ISCRIPTABLEINPUTSTREAM_STD18_IID: TGUID = '{a2a32f90-9b90-11d3-a189-0050041caf44}';

  NS_ISECURITYWARNINGDIALOGS_STD18_IID: TGUID = '{1c399d06-1dd2-11b2-bc58-c87cbcacdb78}';

  NS_ISELECTION_STD18_IID: TGUID = '{b2c7ed59-8634-4352-9e37-5484c8b6e4e1}';

  NS_ISERVICEMANAGER_STD18_IID: TGUID = '{8bb35ed9-e332-462d-9155-4a002ab5c958}';

  NS_ISHISTORY_STD18_IID: TGUID = '{7294fe9b-14d8-11d5-9882-00c04fa02f40}';

  NS_ISHISTORYLISTENER_STD18_IID: TGUID = '{3b07f591-e8e1-11d4-9882-00c04fa02f40}';

  NS_ISTREAMLISTENER_STD18_IID: TGUID = '{1a637020-1482-11d3-9333-00104ba0fd40}';

  NS_ISUPPORTSPRIMITIVE_STD18_IID: TGUID = '{d0d4b136-1dd1-11b2-9371-f0727ef827c0}';
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_ID = 1;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_CSTRING = 2;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_STRING = 3;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_PRBOOL = 4;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_PRUINT8 = 5;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_PRUINT16 = 6;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_PRUINT32 = 7;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_PRUINT64 = 8;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_PRTIME = 9;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_CHAR = 10;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_PRINT16 = 11;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_PRINT32 = 12;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_PRINT64 = 13;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_FLOAT = 14;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_DOUBLE = 15;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_VOID = 16;
  NS_ISUPPORTSPRIMITIVE_STD18_TYPE_INTERFACE_POINTER = 17;

  NS_ISUPPORTSID_STD18_IID: TGUID = '{d18290a0-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSCSTRING_STD18_IID: TGUID = '{d65ff270-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSSTRING_STD18_IID: TGUID = '{d79dc970-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSPRBOOL_STD18_IID: TGUID = '{ddc3b490-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSPRUINT8_STD18_IID: TGUID = '{dec2e4e0-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSPRUINT16_STD18_IID: TGUID = '{dfacb090-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSPRUINT32_STD18_IID: TGUID = '{e01dc470-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSPRUINT64_STD18_IID: TGUID = '{e13567c0-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSPRTIME_STD18_IID: TGUID = '{e2563630-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSCHAR_STD18_IID: TGUID = '{e2b05e40-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSPRINT16_STD18_IID: TGUID = '{e30d94b0-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSPRINT32_STD18_IID: TGUID = '{e36c5250-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSPRINT64_STD18_IID: TGUID = '{e3cb0ff0-4a1c-11d3-9890-006008962422}';

  NS_ISUPPORTSFLOAT_STD18_IID: TGUID = '{abeaa390-4ac0-11d3-baea-00805f8a5dd7}';

  NS_ISUPPORTSDOUBLE_STD18_IID: TGUID = '{b32523a0-4ac0-11d3-baea-00805f8a5dd7}';

  NS_ISUPPORTSVOID_STD18_IID: TGUID = '{464484f0-568d-11d3-baf8-00805f8a5dd7}';

  NS_ISUPPORTSINTERFACEPOINTER_STD18_IID: TGUID = '{995ea724-1dd1-11b2-9211-c21bdd3e7ed0}';

  NS_ITOOLTIPLISTENER_STD18_IID: TGUID = '{44b78386-1dd2-11b2-9ad2-e4eee2ca1916}';

  NS_ITOOLTIPTEXTPROVIDER_STD18_IID: TGUID = '{b128a1e6-44f3-4331-8fbe-5af360ff21ee}';

  NS_ITRACEREFCNT_STD18_IID: TGUID = '{273dc92f-0fe6-4545-96a9-21be77828039}';

  NS_IUNICHARSTREAMLISTENER_STD18_IID: TGUID = '{4a7e9b62-fef8-400d-9865-d6820f630b4c}';

  NS_IUPLOADCHANNEL_STD18_IID: TGUID = '{ddf633d8-e9a4-439d-ad88-de636fd9bb75}';

  NS_IURICONTENTLISTENER_STD18_IID: TGUID = '{94928ab3-8b63-11d3-989d-001083010e9b}';

  NS_IWEAKREFERENCE_STD18_IID: TGUID = '{9188bc85-f92e-11d2-81ef-0060083a0bcf}';

  NS_ISUPPORTSWEAKREFERENCE_STD18_IID: TGUID = '{9188bc86-f92e-11d2-81ef-0060083a0bcf}';

  NS_IWEBBROWSER_STD18_IID: TGUID = '{69e5df00-7b8b-11d3-af61-00a024ffc08c}';

  NS_IWEBBROWSERCHROME_STD18_IID: TGUID = '{ba434c60-9d52-11d3-afb0-00a024ffc08c}';
  NS_IWEBBROWSERCHROME_STD18_STATUS_SCRIPT = 1;
  NS_IWEBBROWSERCHROME_STD18_STATUS_SCRIPT_DEFAULT = 2;
  NS_IWEBBROWSERCHROME_STD18_STATUS_LINK = 3;
  NS_IWEBBROWSERCHROME_STD18_CHROME_DEFAULT = 1;
  NS_IWEBBROWSERCHROME_STD18_CHROME_WINDOW_BORDERS = 2;
  NS_IWEBBROWSERCHROME_STD18_CHROME_WINDOW_CLOSE = 4;
  NS_IWEBBROWSERCHROME_STD18_CHROME_WINDOW_RESIZE = 8;
  NS_IWEBBROWSERCHROME_STD18_CHROME_MENUBAR = 16;
  NS_IWEBBROWSERCHROME_STD18_CHROME_TOOLBAR = 32;
  NS_IWEBBROWSERCHROME_STD18_CHROME_LOCATIONBAR = 64;
  NS_IWEBBROWSERCHROME_STD18_CHROME_STATUSBAR = 128;
  NS_IWEBBROWSERCHROME_STD18_CHROME_PERSONAL_TOOLBAR = 256;
  NS_IWEBBROWSERCHROME_STD18_CHROME_SCROLLBARS = 512;
  NS_IWEBBROWSERCHROME_STD18_CHROME_TITLEBAR = 1024;
  NS_IWEBBROWSERCHROME_STD18_CHROME_EXTRA = 2048;
  NS_IWEBBROWSERCHROME_STD18_CHROME_WITH_SIZE = 4096;
  NS_IWEBBROWSERCHROME_STD18_CHROME_WITH_POSITION = 8192;
  NS_IWEBBROWSERCHROME_STD18_CHROME_WINDOW_MIN = 16384;
  NS_IWEBBROWSERCHROME_STD18_CHROME_WINDOW_POPUP = 32768;
  NS_IWEBBROWSERCHROME_STD18_CHROME_WINDOW_RAISED = 33554432;
  NS_IWEBBROWSERCHROME_STD18_CHROME_WINDOW_LOWERED = 67108864;
  NS_IWEBBROWSERCHROME_STD18_CHROME_CENTER_SCREEN = 134217728;
  NS_IWEBBROWSERCHROME_STD18_CHROME_DEPENDENT = 268435456;
  NS_IWEBBROWSERCHROME_STD18_CHROME_MODAL = 536870912;
  NS_IWEBBROWSERCHROME_STD18_CHROME_OPENAS_DIALOG = 1073741824;
  NS_IWEBBROWSERCHROME_STD18_CHROME_OPENAS_CHROME = 2147483648;
  NS_IWEBBROWSERCHROME_STD18_CHROME_ALL = 4094;

  NS_IWEBBROWSERCHROMEFOCUS_STD18_IID: TGUID = '{d2206418-1dd1-11b2-8e55-acddcd2bcfb8}';

  NS_IWEBBROWSERFIND_STD18_IID: TGUID = '{2f977d44-5485-11d4-87e2-0010a4e75ef2}';

  NS_IWEBBROWSERFINDINFRAMES_STD18_IID: TGUID = '{e0f5d182-34bc-11d5-be5b-b760676c6ebc}';

  NS_IWEBBROWSERFOCUS_STD18_IID: TGUID = '{9c5d3c58-1dd1-11b2-a1c9-f3699284657a}';

  NS_IWEBBROWSERPRINT_STD18_IID: TGUID = '{9a7ca4b0-fbba-11d4-a869-00105a183419}';
  NS_IWEBBROWSERPRINT_STD18_PRINTPREVIEW_GOTO_PAGENUM = 0;
  NS_IWEBBROWSERPRINT_STD18_PRINTPREVIEW_PREV_PAGE = 1;
  NS_IWEBBROWSERPRINT_STD18_PRINTPREVIEW_NEXT_PAGE = 2;
  NS_IWEBBROWSERPRINT_STD18_PRINTPREVIEW_HOME = 3;
  NS_IWEBBROWSERPRINT_STD18_PRINTPREVIEW_END = 4;

  NS_IWEBBROWSERSETUP_STD18_IID: TGUID = '{f15398a0-8018-11d3-af70-00a024ffc08c}';
  NS_IWEBBROWSERSETUP_STD18_SETUP_ALLOW_PLUGINS = 1;
  NS_IWEBBROWSERSETUP_STD18_SETUP_ALLOW_JAVASCRIPT = 2;
  NS_IWEBBROWSERSETUP_STD18_SETUP_ALLOW_META_REDIRECTS = 3;
  NS_IWEBBROWSERSETUP_STD18_SETUP_ALLOW_SUBFRAMES = 4;
  NS_IWEBBROWSERSETUP_STD18_SETUP_ALLOW_IMAGES = 5;
  NS_IWEBBROWSERSETUP_STD18_SETUP_FOCUS_DOC_BEFORE_CONTENT = 6;
  NS_IWEBBROWSERSETUP_STD18_SETUP_USE_GLOBAL_HISTORY = 256;
  NS_IWEBBROWSERSETUP_STD18_SETUP_IS_CHROME_WRAPPER = 7;

  NS_IWEBBROWSERSTREAM_STD18_IID: TGUID = '{86d02f0e-219b-4cfc-9c88-bd98d2cce0b8}';

  NS_IWEBPROGRESS_STD18_IID: TGUID = '{570f39d0-efd0-11d3-b093-00a024ffc08c}';
  NS_IWEBPROGRESS_STD18_NOTIFY_STATE_REQUEST = 1;
  NS_IWEBPROGRESS_STD18_NOTIFY_STATE_DOCUMENT = 2;
  NS_IWEBPROGRESS_STD18_NOTIFY_STATE_NETWORK = 4;
  NS_IWEBPROGRESS_STD18_NOTIFY_STATE_WINDOW = 8;
  NS_IWEBPROGRESS_STD18_NOTIFY_STATE_ALL = 15;
  NS_IWEBPROGRESS_STD18_NOTIFY_PROGRESS = 16;
  NS_IWEBPROGRESS_STD18_NOTIFY_STATUS = 32;
  NS_IWEBPROGRESS_STD18_NOTIFY_SECURITY = 64;
  NS_IWEBPROGRESS_STD18_NOTIFY_LOCATION = 128;
  NS_IWEBPROGRESS_STD18_NOTIFY_ALL = 255;

  NS_IWEBPROGRESSLISTENER_STD18_IID: TGUID = '{570f39d1-efd0-11d3-b093-00a024ffc08c}';
  NS_IWEBPROGRESSLISTENER_STD18_STATE_START = 1;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_REDIRECTING = 2;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_TRANSFERRING = 4;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_NEGOTIATING = 8;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_STOP = 16;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_IS_REQUEST = 65536;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_IS_DOCUMENT = 131072;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_IS_NETWORK = 262144;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_IS_WINDOW = 524288;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_RESTORING = 16777216;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_IS_INSECURE = 4;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_IS_BROKEN = 1;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_IS_SECURE = 2;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_SECURE_HIGH = 262144;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_SECURE_MED = 65536;
  NS_IWEBPROGRESSLISTENER_STD18_STATE_SECURE_LOW = 131072;

  NS_IWINDOWCREATOR_STD18_IID: TGUID = '{30465632-a777-44cc-90f9-8145475ef999}';

  NS_IWINDOWWATCHER_STD18_IID: TGUID = '{002286a8-494b-43b3-8ddd-49e3fc50622b}';

  NS_IX509CERT_STD18_IID: TGUID = '{f0980f60-ee3d-11d4-998b-00b0d02354a0}';
  NS_IX509CERT_STD18_UNKNOWN_CERT = 0;
  NS_IX509CERT_STD18_CA_CERT = 1;
  NS_IX509CERT_STD18_USER_CERT = 2;
  NS_IX509CERT_STD18_EMAIL_CERT = 4;
  NS_IX509CERT_STD18_SERVER_CERT = 8;
  NS_IX509CERT_STD18_VERIFIED_OK = 0;
  NS_IX509CERT_STD18_NOT_VERIFIED_UNKNOWN = 1;
  NS_IX509CERT_STD18_CERT_REVOKED = 2;
  NS_IX509CERT_STD18_CERT_EXPIRED = 4;
  NS_IX509CERT_STD18_CERT_NOT_TRUSTED = 8;
  NS_IX509CERT_STD18_ISSUER_NOT_TRUSTED = 16;
  NS_IX509CERT_STD18_ISSUER_UNKNOWN = 32;
  NS_IX509CERT_STD18_INVALID_CA = 64;
  NS_IX509CERT_STD18_USAGE_NOT_ALLOWED = 128;
  NS_IX509CERT_STD18_CERT_USAGE_SSLClient = 0;
  NS_IX509CERT_STD18_CERT_USAGE_SSLServer = 1;
  NS_IX509CERT_STD18_CERT_USAGE_SSLServerWithStepUp = 2;
  NS_IX509CERT_STD18_CERT_USAGE_SSLCA = 3;
  NS_IX509CERT_STD18_CERT_USAGE_EmailSigner = 4;
  NS_IX509CERT_STD18_CERT_USAGE_EmailRecipient = 5;
  NS_IX509CERT_STD18_CERT_USAGE_ObjectSigner = 6;
  NS_IX509CERT_STD18_CERT_USAGE_UserCertImport = 7;
  NS_IX509CERT_STD18_CERT_USAGE_VerifyCA = 8;
  NS_IX509CERT_STD18_CERT_USAGE_ProtectedObjectSigner = 9;
  NS_IX509CERT_STD18_CERT_USAGE_StatusResponder = 10;
  NS_IX509CERT_STD18_CERT_USAGE_AnyCA = 11;

  NS_IX509CERTDB_STD18_IID: TGUID = '{da48b3c0-1284-11d5-ac67-000064657374}';
  NS_IX509CERTDB_STD18_UNTRUSTED = 0;
  NS_IX509CERTDB_STD18_TRUSTED_SSL = 1;
  NS_IX509CERTDB_STD18_TRUSTED_EMAIL = 2;
  NS_IX509CERTDB_STD18_TRUSTED_OBJSIGN = 4;

  NS_IX509CERTVALIDITY_STD18_IID: TGUID = '{e701dfd8-1dd1-11b2-a172-ffa6cc6156ad}';

type
  nsISupports_std18 = interface;
  mozIJSSubScriptLoader_std18 = interface;
  nsIArray_std18 = interface;
  nsIMutableArray_std18 = interface;
  nsIASN1Object_std18 = interface;
  nsIASN1Sequence_std18 = interface;
  nsIAuthPrompt_std18 = interface;
  nsIBadCertListener_std18 = interface;
  nsISimpleEnumerator_std18 = interface;
  nsICategoryManager_std18 = interface;
  nsICertificateDialogs_std18 = interface;
  nsIRequest_std18 = interface;
  nsIChannel_std18 = interface;
  nsIProgrammingLanguage_std18 = interface;
  nsIClassInfo_std18 = interface;
  nsIClipboardCommands_std18 = interface;
  nsIComponentManager_std18 = interface;
  nsIComponentRegistrar_std18 = interface;
  nsIContextMenuListener_std18 = interface;
  nsICookie_std18 = interface;
  nsICookieManager_std18 = interface;
  nsICRLInfo_std18 = interface;
  nsIDebug_std18 = interface;
  nsIFile_std18 = interface;
  nsIDirectoryServiceProvider_std18 = interface;
  nsIDirectoryServiceProvider2_std18 = interface;
  nsIDirectoryService_std18 = interface;
  nsIDOM3DocumentEvent_std18 = interface;
  nsIDOM3EventTarget_std18 = interface;
  nsIDOMAbstractView_std18 = interface;
  nsIDOMNode_std18 = interface;
  nsIDOMAttr_std18 = interface;
  nsIDOMBarProp_std18 = interface;
  nsIDOMCharacterData_std18 = interface;
  nsIDOMText_std18 = interface;
  nsIDOMCDATASection_std18 = interface;
  nsIDOMComment_std18 = interface;
  nsIDOMCounter_std18 = interface;
  nsIDOMCSSValue_std18 = interface;
  nsIDOMCSSPrimitiveValue_std18 = interface;
  nsIDOMCSSRule_std18 = interface;
  nsIDOMCSSRuleList_std18 = interface;
  nsIDOMCSSStyleDeclaration_std18 = interface;
  nsIDOMStyleSheet_std18 = interface;
  nsIDOMCSSStyleSheet_std18 = interface;
  nsIDOMCSSValueList_std18 = interface;
  nsIDOMEvent_std18 = interface;
  nsIDOMCustomEvent_std18 = interface;
  nsIDOMDocument_std18 = interface;
  nsIDOMDocumentEvent_std18 = interface;
  nsIDOMDocumentFragment_std18 = interface;
  nsIDOMDocumentRange_std18 = interface;
  nsIDOMDocumentStyle_std18 = interface;
  nsIDOMDocumentType_std18 = interface;
  nsIDOMDocumentView_std18 = interface;
  nsIDOMDOMException_std18 = interface;
  nsIDOMDOMImplementation_std18 = interface;
  nsIDOMElement_std18 = interface;
  nsIDOMElementCSSInlineStyle_std18 = interface;
  nsIDOMEntity_std18 = interface;
  nsIDOMEntityReference_std18 = interface;
  nsIDOMEventGroup_std18 = interface;
  nsIDOMEventListener_std18 = interface;
  nsIDOMEventTarget_std18 = interface;
  nsIDOMHTMLElement_std18 = interface;
  nsIDOMHTMLAnchorElement_std18 = interface;
  nsIDOMHTMLAppletElement_std18 = interface;
  nsIDOMHTMLAreaElement_std18 = interface;
  nsIDOMHTMLBaseElement_std18 = interface;
  nsIDOMHTMLBaseFontElement_std18 = interface;
  nsIDOMHTMLBodyElement_std18 = interface;
  nsIDOMHTMLBRElement_std18 = interface;
  nsIDOMHTMLButtonElement_std18 = interface;
  nsIDOMHTMLCollection_std18 = interface;
  nsIDOMHTMLDirectoryElement_std18 = interface;
  nsIDOMHTMLDivElement_std18 = interface;
  nsIDOMHTMLDListElement_std18 = interface;
  nsIDOMHTMLDocument_std18 = interface;
  nsIDOMHTMLEmbedElement_std18 = interface;
  nsIDOMHTMLFieldSetElement_std18 = interface;
  nsIDOMHTMLFontElement_std18 = interface;
  nsIDOMHTMLFormElement_std18 = interface;
  nsIDOMHTMLFrameElement_std18 = interface;
  nsIDOMHTMLFrameSetElement_std18 = interface;
  nsIDOMHTMLHeadElement_std18 = interface;
  nsIDOMHTMLHeadingElement_std18 = interface;
  nsIDOMHTMLHRElement_std18 = interface;
  nsIDOMHTMLHtmlElement_std18 = interface;
  nsIDOMHTMLIFrameElement_std18 = interface;
  nsIDOMHTMLImageElement_std18 = interface;
  nsIDOMHTMLInputElement_std18 = interface;
  nsIDOMHTMLIsIndexElement_std18 = interface;
  nsIDOMHTMLLabelElement_std18 = interface;
  nsIDOMHTMLLegendElement_std18 = interface;
  nsIDOMHTMLLIElement_std18 = interface;
  nsIDOMHTMLLinkElement_std18 = interface;
  nsIDOMHTMLMapElement_std18 = interface;
  nsIDOMHTMLMenuElement_std18 = interface;
  nsIDOMHTMLMetaElement_std18 = interface;
  nsIDOMHTMLModElement_std18 = interface;
  nsIDOMHTMLObjectElement_std18 = interface;
  nsIDOMHTMLOListElement_std18 = interface;
  nsIDOMHTMLOptGroupElement_std18 = interface;
  nsIDOMHTMLOptionElement_std18 = interface;
  nsIDOMHTMLOptionsCollection_std18 = interface;
  nsIDOMHTMLParagraphElement_std18 = interface;
  nsIDOMHTMLParamElement_std18 = interface;
  nsIDOMHTMLPreElement_std18 = interface;
  nsIDOMHTMLQuoteElement_std18 = interface;
  nsIDOMHTMLScriptElement_std18 = interface;
  nsIDOMHTMLSelectElement_std18 = interface;
  nsIDOMHTMLStyleElement_std18 = interface;
  nsIDOMHTMLTableCaptionElement_std18 = interface;
  nsIDOMHTMLTableCellElement_std18 = interface;
  nsIDOMHTMLTableColElement_std18 = interface;
  nsIDOMHTMLTableElement_std18 = interface;
  nsIDOMHTMLTableRowElement_std18 = interface;
  nsIDOMHTMLTableSectionElement_std18 = interface;
  nsIDOMHTMLTextAreaElement_std18 = interface;
  nsIDOMHTMLTitleElement_std18 = interface;
  nsIDOMHTMLUListElement_std18 = interface;
  nsIDOMMediaList_std18 = interface;
  nsIDOMUIEvent_std18 = interface;
  nsIDOMMouseEvent_std18 = interface;
  nsIDOMNamedNodeMap_std18 = interface;
  nsIDOMNodeList_std18 = interface;
  nsIDOMNotation_std18 = interface;
  nsIDOMNSDocumentStyle_std18 = interface;
  nsIDOMProcessingInstruction_std18 = interface;
  nsIDOMRange_std18 = interface;
  nsIDOMRect_std18 = interface;
  nsIDOMRGBColor_std18 = interface;
  nsIDOMStyleSheetList_std18 = interface;
  nsIDOMWindow_std18 = interface;
  nsIDOMWindow2_std18 = interface;
  nsIDOMWindowCollection_std18 = interface;
  nsIDOMWindowUtils_std18 = interface;
  nsIEmbeddingSiteWindow_std18 = interface;
  nsIFactory_std18 = interface;
  nsIURI_std18 = interface;
  nsIURL_std18 = interface;
  nsIFileURL_std18 = interface;
  nsIGlobalHistory_std18 = interface;
  nsIHistoryEntry_std18 = interface;
  nsIHttpChannel_std18 = interface;
  nsIHttpHeaderVisitor_std18 = interface;
  nsIInputStream_std18 = interface;
  nsIInterfaceRequestor_std18 = interface;
  nsIIOService_std18 = interface;
  nsILoadGroup_std18 = interface;
  nsILocalFile_std18 = interface;
  nsIMemory_std18 = interface;
  nsIModule_std18 = interface;
  nsIObserver_std18 = interface;
  nsIObserverService_std18 = interface;
  nsIOutputStream_std18 = interface;
  nsIPrefBranch_std18 = interface;
  nsIPrefBranch2_std18 = interface;
  nsIPrefLocalizedString_std18 = interface;
  nsIPrefService_std18 = interface;
  nsIPrintSession_std18 = interface;
  nsIPrintSettings_std18 = interface;
  nsIProfile_std18 = interface;
  nsIProfileChangeStatus_std18 = interface;
  nsIPrompt_std18 = interface;
  nsIPromptService_std18 = interface;
  nsIProperties_std18 = interface;
  nsIProtocolHandler_std18 = interface;
  nsIRequestObserver_std18 = interface;
  nsIScriptableInputStream_std18 = interface;
  nsISecurityWarningDialogs_std18 = interface;
  nsISelection_std18 = interface;
  nsIServiceManager_std18 = interface;
  nsISHistory_std18 = interface;
  nsISHistoryListener_std18 = interface;
  nsIStreamListener_std18 = interface;
  nsISupportsPrimitive_std18 = interface;
  nsISupportsID_std18 = interface;
  nsISupportsCString_std18 = interface;
  nsISupportsString_std18 = interface;
  nsISupportsPRBool_std18 = interface;
  nsISupportsPRUint8_std18 = interface;
  nsISupportsPRUint16_std18 = interface;
  nsISupportsPRUint32_std18 = interface;
  nsISupportsPRUint64_std18 = interface;
  nsISupportsPRTime_std18 = interface;
  nsISupportsChar_std18 = interface;
  nsISupportsPRInt16_std18 = interface;
  nsISupportsPRInt32_std18 = interface;
  nsISupportsPRInt64_std18 = interface;
  nsISupportsFloat_std18 = interface;
  nsISupportsDouble_std18 = interface;
  nsISupportsVoid_std18 = interface;
  nsISupportsInterfacePointer_std18 = interface;
  nsITooltipListener_std18 = interface;
  nsITooltipTextProvider_std18 = interface;
  nsITraceRefcnt_std18 = interface;
  nsIUnicharStreamListener_std18 = interface;
  nsIUploadChannel_std18 = interface;
  nsIURIContentListener_std18 = interface;
  nsIWeakReference_std18 = interface;
  nsISupportsWeakReference_std18 = interface;
  nsIWebBrowser_std18 = interface;
  nsIWebBrowserChrome_std18 = interface;
  nsIWebBrowserChromeFocus_std18 = interface;
  nsIWebBrowserFind_std18 = interface;
  nsIWebBrowserFindInFrames_std18 = interface;
  nsIWebBrowserFocus_std18 = interface;
  nsIWebBrowserPrint_std18 = interface;
  nsIWebBrowserSetup_std18 = interface;
  nsIWebBrowserStream_std18 = interface;
  nsIWebProgress_std18 = interface;
  nsIWebProgressListener_std18 = interface;
  nsIWindowCreator_std18 = interface;
  nsIWindowWatcher_std18 = interface;
  nsIX509Cert_std18 = interface;
  nsIX509CertDB_std18 = interface;
  nsIX509CertValidity_std18 = interface;
  nsWriteSegmentFun = function (aInStream: nsIInputStream_std18; 
                                aClosure: Pointer;
                                const aFromSegment: Pointer;
                                aToOffset: PRUint32;
                                aCount: PRUint32;
                                out aWriteCount: PRUint32): nsresult; stdcall;


  nsReadSegmentFun = function (aOutStream: nsIOutputStream_std18;
                               aClosure: Pointer;
                               aToSegment: Pointer;
                               aFromOffset: PRUint32;
                               aCount: PRUint32;
                               out aReadCount: PRUint32): nsresult; stdcall;


  DOMTimeStamp = PRUint64;
  nsLoadFlags = PRUint32;
(*** 
 * An optional interface for accessing the HTTP or
 * javascript cookie object
 * 
 * @status FROZEN
 *)
  nsCookieStatus = PRInt32;
  nsCookiePolicy = PRInt32;
  nsISupports_std18 = interface
  ['{00000000-0000-0000-c000-000000000046}']
  end;

  mozIJSSubScriptLoader_std18 = interface(nsISupports_std18)
  ['{8792d77e-1dd2-11b2-ac7f-9bc9be4f2916}']
    function LoadSubScript(const url: PWideChar): nsresult; stdcall;
  end;

  nsIArray_std18 = interface(nsISupports_std18)
  ['{114744d9-c369-456e-b55a-52fe52880d2d}']
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function QueryElementAt(index: PRUint32; const uuid: TGUID; out _result): nsresult; stdcall;
    function IndexOf(startIndex: PRUint32; element: nsISupports_std18; out _retval: PRUint32): nsresult; stdcall;
    function Enumerate(out _retval: nsISimpleEnumerator_std18): nsresult; stdcall;
  end;

  nsIMutableArray_std18 = interface(nsIArray_std18)
  ['{af059da0-c85b-40ec-af07-ae4bfdc192cc}']
    function AppendElement(element: nsISupports_std18; weak: PRBool): nsresult; stdcall;
    function RemoveElementAt(index: PRUint32): nsresult; stdcall;
    function InsertElementAt(element: nsISupports_std18; index: PRUint32; weak: PRBool): nsresult; stdcall;
    function ReplaceElementAt(element: nsISupports_std18; index: PRUint32; weak: PRBool): nsresult; stdcall;
    function Clear(): nsresult; stdcall;
  end;

  nsIASN1Object_std18 = interface(nsISupports_std18)
  ['{ba8bf582-1dd1-11b2-898c-f40246bc9a63}']
    function GetType(out aType: PRUint32): Longword; stdcall;
    function SetType(aType: PRUint32): Longword; stdcall;
    function GetTag(out aTag: PRUint32): Longword; stdcall;
    function SetTag(aTag: PRUint32): Longword; stdcall;
    function GetDisplayName(aDisplayName: nsAString): Longword; stdcall;
    function SetDisplayName(const aDisplayName: nsAString): Longword; stdcall;
    function GetDisplayValue(aDisplayValue: nsAString): Longword; stdcall;
    function SetDisplayValue(const aDisplayValue: nsAString): Longword; stdcall;
  end;

  nsIASN1Sequence_std18 = interface(nsIASN1Object_std18)
  ['{b6b957e6-1dd1-11b2-89d7-e30624f50b00}']
    function GetASN1Objects(out aASN1Objects: nsIMutableArray_std18): Longword; stdcall;
    function SetASN1Objects(aASN1Objects: nsIMutableArray_std18): Longword; stdcall;
    function GetIsValidContainer(out aIsValidContainer: PRBool): Longword; stdcall;
    function SetIsValidContainer(aIsValidContainer: PRBool): Longword; stdcall;
    function GetIsExpanded(out aIsExpanded: PRBool): Longword; stdcall;
    function SetIsExpanded(aIsExpanded: PRBool): Longword; stdcall;
  end;

  nsIAuthPrompt_std18 = interface(nsISupports_std18)
  ['{2f977d45-5485-11d4-87e2-0010a4e75ef2}']
    function Prompt(const dialogTitle: PWideChar; const text: PWideChar; const passwordRealm: PWideChar; savePassword: PRUint32; const defaultText: PWideChar; out _result: PWideChar; out _retval: PRBool): nsresult; stdcall;
    function PromptUsernameAndPassword(const dialogTitle: PWideChar; const text: PWideChar; const passwordRealm: PWideChar; savePassword: PRUint32; out user: PWideChar; out pwd: PWideChar; out _retval: PRBool): nsresult; stdcall;
    function PromptPassword(const dialogTitle: PWideChar; const text: PWideChar; const passwordRealm: PWideChar; savePassword: PRUint32; out pwd: PWideChar; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIBadCertListener_std18 = interface(nsISupports_std18)
  ['{86960956-edb0-11d4-998b-00b0d02354a0}']
    function ConfirmUnknownIssuer(socketInfo: nsIInterfaceRequestor_std18; cert: nsIX509Cert_std18; out certAddType: PRInt16; out _retval: PRBool): nsresult; stdcall;
    function ConfirmMismatchDomain(socketInfo: nsIInterfaceRequestor_std18; const targetURL: nsACString; cert: nsIX509Cert_std18; out _retval: PRBool): nsresult; stdcall;
    function ConfirmCertExpired(socketInfo: nsIInterfaceRequestor_std18; cert: nsIX509Cert_std18; out _retval: PRBool): nsresult; stdcall;
    function NotifyCrlNextupdate(socketInfo: nsIInterfaceRequestor_std18; const targetURL: nsACString; cert: nsIX509Cert_std18): nsresult; stdcall;
  end;

  nsISimpleEnumerator_std18 = interface(nsISupports_std18)
  ['{d1899240-f9d2-11d2-bdd6-000064657374}']
    function HasMoreElements(out _retval: PRBool): nsresult; stdcall;
    function GetNext(out _retval: nsISupports_std18): nsresult; stdcall;
  end;

  nsICategoryManager_std18 = interface(nsISupports_std18)
  ['{3275b2cd-af6d-429a-80d7-f0c5120342ac}']
    function GetCategoryEntry(const aCategory: PAnsiChar; const aEntry: PAnsiChar; out _retval: PAnsiChar): nsresult; stdcall;
    function AddCategoryEntry(const aCategory: PAnsiChar; const aEntry: PAnsiChar; const aValue: PAnsiChar; aPersist: PRBool; aReplace: PRBool; out _retval: PAnsiChar): nsresult; stdcall;
    function DeleteCategoryEntry(const aCategory: PAnsiChar; const aEntry: PAnsiChar; aPersist: PRBool): nsresult; stdcall;
    function DeleteCategory(const aCategory: PAnsiChar): nsresult; stdcall;
    function EnumerateCategory(const aCategory: PAnsiChar; out _retval: nsISimpleEnumerator_std18): nsresult; stdcall;
    function EnumerateCategories(out _retval: nsISimpleEnumerator_std18): nsresult; stdcall;
  end;

  nsICertificateDialogs_std18 = interface(nsISupports_std18)
  ['{a03ca940-09be-11d5-ac5d-000064657374}']
    function ConfirmDownloadCACert(ctx: nsIInterfaceRequestor_std18; cert: nsIX509Cert_std18; out trust: PRUint32; out _retval: PRBool): nsresult; stdcall;
    function NotifyCACertExists(ctx: nsIInterfaceRequestor_std18): nsresult; stdcall;
    function SetPKCS12FilePassword(ctx: nsIInterfaceRequestor_std18; password: nsAString; out _retval: PRBool): nsresult; stdcall;
    function GetPKCS12FilePassword(ctx: nsIInterfaceRequestor_std18; password: nsAString; out _retval: PRBool): nsresult; stdcall;
    function ViewCert(ctx: nsIInterfaceRequestor_std18; cert: nsIX509Cert_std18): nsresult; stdcall;
    function CrlImportStatusDialog(ctx: nsIInterfaceRequestor_std18; crl: nsICRLInfo_std18): nsresult; stdcall;
  end;

  nsIRequest_std18 = interface(nsISupports_std18)
  ['{ef6bfbd2-fd46-48d8-96b7-9f8f0fd387fe}']
    function GetName(aName: nsACString): Longword; stdcall;
    function IsPending(out _retval: PRBool): nsresult; stdcall;
    function GetStatus(out aStatus: nsresult): Longword; stdcall;
    function Cancel(aStatus: nsresult): nsresult; stdcall;
    function Suspend(): nsresult; stdcall;
    function Resume(): nsresult; stdcall;
    function GetLoadGroup(out aLoadGroup: nsILoadGroup_std18): Longword; stdcall;
    function SetLoadGroup(aLoadGroup: nsILoadGroup_std18): Longword; stdcall;
    function GetLoadFlags(out aLoadFlags: nsLoadFlags): Longword; stdcall;
    function SetLoadFlags(aLoadFlags: nsLoadFlags): Longword; stdcall;
  end;

  nsIChannel_std18 = interface(nsIRequest_std18)
  ['{c63a055a-a676-4e71-bf3c-6cfa11082018}']
    function GetOriginalURI(out aOriginalURI: nsIURI_std18): Longword; stdcall;
    function SetOriginalURI(aOriginalURI: nsIURI_std18): Longword; stdcall;
    function GetURI(out aURI: nsIURI_std18): Longword; stdcall;
    function GetOwner(out aOwner: nsISupports_std18): Longword; stdcall;
    function SetOwner(aOwner: nsISupports_std18): Longword; stdcall;
    function GetNotificationCallbacks(out aNotificationCallbacks: nsIInterfaceRequestor_std18): Longword; stdcall;
    function SetNotificationCallbacks(aNotificationCallbacks: nsIInterfaceRequestor_std18): Longword; stdcall;
    function GetSecurityInfo(out aSecurityInfo: nsISupports_std18): Longword; stdcall;
    function GetContentType(aContentType: nsACString): Longword; stdcall;
    function SetContentType(const aContentType: nsACString): Longword; stdcall;
    function GetContentCharset(aContentCharset: nsACString): Longword; stdcall;
    function SetContentCharset(const aContentCharset: nsACString): Longword; stdcall;
    function GetContentLength(out aContentLength: PRInt32): Longword; stdcall;
    function SetContentLength(aContentLength: PRInt32): Longword; stdcall;
    function Open(out _retval: nsIInputStream_std18): nsresult; stdcall;
    function AsyncOpen(aListener: nsIStreamListener_std18; aContext: nsISupports_std18): nsresult; stdcall;
  end;

  nsIProgrammingLanguage_std18 = interface(nsISupports_std18)
  ['{ea604e90-40ba-11d5-90bb-0010a4e73d9a}']
  end;

  nsIClassInfo_std18 = interface(nsISupports_std18)
  ['{986c11d0-f340-11d4-9075-0010a4e73d9a}']
    function GetInterfaces(out count: PRUint32; out _array_array): nsresult; stdcall;
    function GetHelperForLanguage(language: PRUint32; out _retval: nsISupports_std18): nsresult; stdcall;
    function GetContractID(out aContractID: PAnsiChar): Longword; stdcall;
    function GetClassDescription(out aClassDescription: PAnsiChar): Longword; stdcall;
    function GetClassID(out aClassID: PGUID): Longword; stdcall;
    function GetImplementationLanguage(out aImplementationLanguage: PRUint32): Longword; stdcall;
    function GetFlags(out aFlags: PRUint32): Longword; stdcall;
    function GetClassIDNoAlloc(out aClassIDNoAlloc: TGUID): Longword; stdcall;
  end;

  nsIClipboardCommands_std18 = interface(nsISupports_std18)
  ['{b8100c90-73be-11d2-92a5-00105a1b0d64}']
    function CanCutSelection(out _retval: PRBool): nsresult; stdcall;
    function CanCopySelection(out _retval: PRBool): nsresult; stdcall;
    function CanCopyLinkLocation(out _retval: PRBool): nsresult; stdcall;
    function CanCopyImageLocation(out _retval: PRBool): nsresult; stdcall;
    function CanCopyImageContents(out _retval: PRBool): nsresult; stdcall;
    function CanPaste(out _retval: PRBool): nsresult; stdcall;
    function CutSelection(): nsresult; stdcall;
    function CopySelection(): nsresult; stdcall;
    function CopyLinkLocation(): nsresult; stdcall;
    function CopyImageLocation(): nsresult; stdcall;
    function CopyImageContents(): nsresult; stdcall;
    function Paste(): nsresult; stdcall;
    function SelectAll(): nsresult; stdcall;
    function SelectNone(): nsresult; stdcall;
  end;

  nsIComponentManager_std18 = interface(nsISupports_std18)
  ['{a88e5a60-205a-4bb1-94e1-2628daf51eae}']
    function GetClassObject(const aClass: TGUID; const aIID: TGUID; out _result): nsresult; stdcall;
    function GetClassObjectByContractID(const aContractID: PAnsiChar; const aIID: TGUID; out _result): nsresult; stdcall;
    function CreateInstance(const aClass: TGUID; aDelegate: nsISupports_std18; const aIID: TGUID; out _result): nsresult; stdcall;
    function CreateInstanceByContractID(const aContractID: PAnsiChar; aDelegate: nsISupports_std18; const aIID: TGUID; out _result): nsresult; stdcall;
  end;

  nsIComponentRegistrar_std18 = interface(nsISupports_std18)
  ['{2417cbfe-65ad-48a6-b4b6-eb84db174392}']
    function AutoRegister(aSpec: nsIFile_std18): nsresult; stdcall;
    function AutoUnregister(aSpec: nsIFile_std18): nsresult; stdcall;
    function RegisterFactory(const aClass: TGUID; const aClassName: PAnsiChar; const aContractID: PAnsiChar; aFactory: nsIFactory_std18): nsresult; stdcall;
    function UnregisterFactory(const aClass: TGUID; aFactory: nsIFactory_std18): nsresult; stdcall;
    function RegisterFactoryLocation(const aClass: TGUID; const aClassName: PAnsiChar; const aContractID: PAnsiChar; aFile: nsIFile_std18; const aLoaderStr: PAnsiChar; const aType: PAnsiChar): nsresult; stdcall;
    function UnregisterFactoryLocation(const aClass: TGUID; aFile: nsIFile_std18): nsresult; stdcall;
    function IsCIDRegistered(const aClass: TGUID; out _retval: PRBool): nsresult; stdcall;
    function IsContractIDRegistered(const aContractID: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
    function EnumerateCIDs(out _retval: nsISimpleEnumerator_std18): nsresult; stdcall;
    function EnumerateContractIDs(out _retval: nsISimpleEnumerator_std18): nsresult; stdcall;
    function CIDToContractID(const aClass: TGUID; out _retval: PAnsiChar): nsresult; stdcall;
    function ContractIDToCID(const aContractID: PAnsiChar; out _retval: PGUID): nsresult; stdcall;
  end;

  nsIContextMenuListener_std18 = interface(nsISupports_std18)
  ['{3478b6b0-3875-11d4-94ef-0020183bf181}']
    function OnShowContextMenu(aContextFlags: PRUint32; aEvent: nsIDOMEvent_std18; aNode: nsIDOMNode_std18): nsresult; stdcall;
  end;

  nsICookie_std18 = interface(nsISupports_std18)
  ['{e9fcb9a4-d376-458f-b720-e65e7df593bc}']
    function GetName(aName: nsACString): Longword; stdcall;
    function GetValue(aValue: nsACString): Longword; stdcall;
    function GetIsDomain(out aIsDomain: PRBool): Longword; stdcall;
    function GetHost(aHost: nsACString): Longword; stdcall;
    function GetPath(aPath: nsACString): Longword; stdcall;
    function GetIsSecure(out aIsSecure: PRBool): Longword; stdcall;
    function GetExpires(out aExpires: PRUint64): Longword; stdcall;
    function GetStatus(out aStatus: nsCookieStatus): Longword; stdcall;
    function GetPolicy(out aPolicy: nsCookiePolicy): Longword; stdcall;
  end;

  nsICookieManager_std18 = interface(nsISupports_std18)
  ['{aaab6710-0f2c-11d5-a53b-0010a401eb10}']
    function RemoveAll(): nsresult; stdcall;
    function GetEnumerator(out aEnumerator: nsISimpleEnumerator_std18): Longword; stdcall;
    function Remove(const aDomain: nsACString; const aName: nsACString; const aPath: nsACString; aBlocked: PRBool): nsresult; stdcall;
  end;

  nsICRLInfo_std18 = interface(nsISupports_std18)
  ['{c185d920-4a3e-11d5-ba27-00108303b117}']
    function GetOrganization(aOrganization: nsAString): Longword; stdcall;
    function GetOrganizationalUnit(aOrganizationalUnit: nsAString): Longword; stdcall;
    function GetLastUpdate(out aLastUpdate: PRTime): Longword; stdcall;
    function GetNextUpdate(out aNextUpdate: PRTime): Longword; stdcall;
    function GetLastUpdateLocale(aLastUpdateLocale: nsAString): Longword; stdcall;
    function GetNextUpdateLocale(aNextUpdateLocale: nsAString): Longword; stdcall;
    function GetNameInDb(aNameInDb: nsAString): Longword; stdcall;
    function GetLastFetchURL(aLastFetchURL: nsACString): Longword; stdcall;
  end;

  nsIDebug_std18 = interface(nsISupports_std18)
  ['{3bf0c3d7-3bd9-4cf2-a971-33572c503e1e}']
    function Assertion(const aStr: PAnsiChar; const aExpr: PAnsiChar; const aFile: PAnsiChar; aLine: PRInt32): nsresult; stdcall;
    function Warning(const aStr: PAnsiChar; const aFile: PAnsiChar; aLine: PRInt32): nsresult; stdcall;
    function Break(const aFile: PAnsiChar; aLine: PRInt32): nsresult; stdcall;
    function Abort(const aFile: PAnsiChar; aLine: PRInt32): nsresult; stdcall;
  end;

  nsIFile_std18 = interface(nsISupports_std18)
  ['{c8c0a080-0868-11d3-915f-d9d889d48e3c}']
    function Append(const node: nsAString): nsresult; stdcall;
    function AppendNative(const node: nsACString): nsresult; stdcall;
    function Normalize(): nsresult; stdcall;
    function Create(_type: PRUint32; permissions: PRUint32): nsresult; stdcall;
    function GetLeafName(aLeafName: nsAString): Longword; stdcall;
    function SetLeafName(const aLeafName: nsAString): Longword; stdcall;
    function GetNativeLeafName(aNativeLeafName: nsACString): Longword; stdcall;
    function SetNativeLeafName(const aNativeLeafName: nsACString): Longword; stdcall;
    function CopyTo(newParentDir: nsIFile_std18; const newName: nsAString): nsresult; stdcall;
    function CopyToNative(newParentDir: nsIFile_std18; const newName: nsACString): nsresult; stdcall;
    function CopyToFollowingLinks(newParentDir: nsIFile_std18; const newName: nsAString): nsresult; stdcall;
    function CopyToFollowingLinksNative(newParentDir: nsIFile_std18; const newName: nsACString): nsresult; stdcall;
    function MoveTo(newParentDir: nsIFile_std18; const newName: nsAString): nsresult; stdcall;
    function MoveToNative(newParentDir: nsIFile_std18; const newName: nsACString): nsresult; stdcall;
    function Remove(recursive: PRBool): nsresult; stdcall;
    function GetPermissions(out aPermissions: PRUint32): Longword; stdcall;
    function SetPermissions(aPermissions: PRUint32): Longword; stdcall;
    function GetPermissionsOfLink(out aPermissionsOfLink: PRUint32): Longword; stdcall;
    function SetPermissionsOfLink(aPermissionsOfLink: PRUint32): Longword; stdcall;
    function GetLastModifiedTime(out aLastModifiedTime: PRInt64): Longword; stdcall;
    function SetLastModifiedTime(aLastModifiedTime: PRInt64): Longword; stdcall;
    function GetLastModifiedTimeOfLink(out aLastModifiedTimeOfLink: PRInt64): Longword; stdcall;
    function SetLastModifiedTimeOfLink(aLastModifiedTimeOfLink: PRInt64): Longword; stdcall;
    function GetFileSize(out aFileSize: PRInt64): Longword; stdcall;
    function SetFileSize(aFileSize: PRInt64): Longword; stdcall;
    function GetFileSizeOfLink(out aFileSizeOfLink: PRInt64): Longword; stdcall;
    function GetTarget(aTarget: nsAString): Longword; stdcall;
    function GetNativeTarget(aNativeTarget: nsACString): Longword; stdcall;
    function GetPath(aPath: nsAString): Longword; stdcall;
    function GetNativePath(aNativePath: nsACString): Longword; stdcall;
    function Exists(out _retval: PRBool): nsresult; stdcall;
    function IsWritable(out _retval: PRBool): nsresult; stdcall;
    function IsReadable(out _retval: PRBool): nsresult; stdcall;
    function IsExecutable(out _retval: PRBool): nsresult; stdcall;
    function IsHidden(out _retval: PRBool): nsresult; stdcall;
    function IsDirectory(out _retval: PRBool): nsresult; stdcall;
    function IsFile(out _retval: PRBool): nsresult; stdcall;
    function IsSymlink(out _retval: PRBool): nsresult; stdcall;
    function IsSpecial(out _retval: PRBool): nsresult; stdcall;
    function CreateUnique(_type: PRUint32; permissions: PRUint32): nsresult; stdcall;
    function Clone(out _retval: nsIFile_std18): nsresult; stdcall;
    function Equals(inFile: nsIFile_std18; out _retval: PRBool): nsresult; stdcall;
    function _Contains(inFile: nsIFile_std18; recur: PRBool; out _retval: PRBool): nsresult; stdcall;
    function GetParent(out aParent: nsIFile_std18): Longword; stdcall;
    function GetDirectoryEntries(out aDirectoryEntries: nsISimpleEnumerator_std18): Longword; stdcall;
  end;

  nsIDirectoryServiceProvider_std18 = interface(nsISupports_std18)
  ['{bbf8cab0-d43a-11d3-8cc2-00609792278c}']
    function GetFile(const prop: PAnsiChar; out persistent: PRBool; out _retval: nsIFile_std18): nsresult; stdcall;
  end;

  nsIDirectoryServiceProvider2_std18 = interface(nsIDirectoryServiceProvider_std18)
  ['{2f977d4b-5485-11d4-87e2-0010a4e75ef2}']
    function GetFiles(const prop: PAnsiChar; out _retval: nsISimpleEnumerator_std18): nsresult; stdcall;
  end;

  nsIDirectoryService_std18 = interface(nsISupports_std18)
  ['{57a66a60-d43a-11d3-8cc2-00609792278c}']
    function Init(): nsresult; stdcall;
    function RegisterProvider(prov: nsIDirectoryServiceProvider_std18): nsresult; stdcall;
    function UnregisterProvider(prov: nsIDirectoryServiceProvider_std18): nsresult; stdcall;
  end;

  nsIDOM3DocumentEvent_std18 = interface(nsISupports_std18)
  ['{090ecc19-b7cb-4f47-ae47-ed68d4926249}']
    function CreateEventGroup(out _retval: nsIDOMEventGroup_std18): nsresult; stdcall;
  end;

  nsIDOM3EventTarget_std18 = interface(nsISupports_std18)
  ['{3e9c01a7-de97-4c3b-8294-b4bd9d7056d1}']
    function AddGroupedEventListener(const _type: nsAString; listener: nsIDOMEventListener_std18; useCapture: PRBool; evtGroup: nsIDOMEventGroup_std18): nsresult; stdcall;
    function RemoveGroupedEventListener(const _type: nsAString; listener: nsIDOMEventListener_std18; useCapture: PRBool; evtGroup: nsIDOMEventGroup_std18): nsresult; stdcall;
    function CanTrigger(const _type: nsAString; out _retval: PRBool): nsresult; stdcall;
    function IsRegisteredHere(const _type: nsAString; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIDOMAbstractView_std18 = interface(nsISupports_std18)
  ['{f51ebade-8b1a-11d3-aae7-0010830123b4}']
    function GetDocument(out aDocument: nsIDOMDocumentView_std18): Longword; stdcall;
  end;

  nsIDOMNode_std18 = interface(nsISupports_std18)
  ['{a6cf907c-15b3-11d2-932e-00805f8add32}']
    function GetNodeName(aNodeName: nsAString): Longword; stdcall;
    function GetNodeValue(aNodeValue: nsAString): Longword; stdcall;
    function SetNodeValue(const aNodeValue: nsAString): Longword; stdcall;
    function GetNodeType(out aNodeType: PRUint16): Longword; stdcall;
    function GetParentNode(out aParentNode: nsIDOMNode_std18): Longword; stdcall;
    function GetChildNodes(out aChildNodes: nsIDOMNodeList_std18): Longword; stdcall;
    function GetFirstChild(out aFirstChild: nsIDOMNode_std18): Longword; stdcall;
    function GetLastChild(out aLastChild: nsIDOMNode_std18): Longword; stdcall;
    function GetPreviousSibling(out aPreviousSibling: nsIDOMNode_std18): Longword; stdcall;
    function GetNextSibling(out aNextSibling: nsIDOMNode_std18): Longword; stdcall;
    function GetAttributes(out aAttributes: nsIDOMNamedNodeMap_std18): Longword; stdcall;
    function GetOwnerDocument(out aOwnerDocument: nsIDOMDocument_std18): Longword; stdcall;
    function InsertBefore(newChild: nsIDOMNode_std18; refChild: nsIDOMNode_std18; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function ReplaceChild(newChild: nsIDOMNode_std18; oldChild: nsIDOMNode_std18; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function RemoveChild(oldChild: nsIDOMNode_std18; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function AppendChild(newChild: nsIDOMNode_std18; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function HasChildNodes(out _retval: PRBool): nsresult; stdcall;
    function CloneNode(deep: PRBool; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function Normalize(): nsresult; stdcall;
    function IsSupported(const feature: nsAString; const version: nsAString; out _retval: PRBool): nsresult; stdcall;
    function GetNamespaceURI(aNamespaceURI: nsAString): Longword; stdcall;
    function GetPrefix(aPrefix: nsAString): Longword; stdcall;
    function SetPrefix(const aPrefix: nsAString): Longword; stdcall;
    function GetLocalName(aLocalName: nsAString): Longword; stdcall;
    function HasAttributes(out _retval: PRBool): nsresult; stdcall;
  end;

  nsIDOMAttr_std18 = interface(nsIDOMNode_std18)
  ['{a6cf9070-15b3-11d2-932e-00805f8add32}']
    function GetName(aName: nsAString): Longword; stdcall;
    function GetSpecified(out aSpecified: PRBool): Longword; stdcall;
    function GetValue(aValue: nsAString): Longword; stdcall;
    function SetValue(const aValue: nsAString): Longword; stdcall;
    function GetOwnerElement(out aOwnerElement: nsIDOMElement_std18): Longword; stdcall;
  end;

  nsIDOMBarProp_std18 = interface(nsISupports_std18)
  ['{9eb2c150-1d56-11d3-8221-0060083a0bcf}']
    function GetVisible(out aVisible: PRBool): Longword; stdcall;
    function SetVisible(aVisible: PRBool): Longword; stdcall;
  end;

  nsIDOMCharacterData_std18 = interface(nsIDOMNode_std18)
  ['{a6cf9072-15b3-11d2-932e-00805f8add32}']
    function GetData(aData: nsAString): Longword; stdcall;
    function SetData(const aData: nsAString): Longword; stdcall;
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function SubstringData(offset: PRUint32; count: PRUint32; _retval: nsAString): nsresult; stdcall;
    function AppendData(const arg: nsAString): nsresult; stdcall;
    function InsertData(offset: PRUint32; const arg: nsAString): nsresult; stdcall;
    function DeleteData(offset: PRUint32; count: PRUint32): nsresult; stdcall;
    function ReplaceData(offset: PRUint32; count: PRUint32; const arg: nsAString): nsresult; stdcall;
  end;

  nsIDOMText_std18 = interface(nsIDOMCharacterData_std18)
  ['{a6cf9082-15b3-11d2-932e-00805f8add32}']
    function SplitText(offset: PRUint32; out _retval: nsIDOMText_std18): nsresult; stdcall;
  end;

  nsIDOMCDATASection_std18 = interface(nsIDOMText_std18)
  ['{a6cf9071-15b3-11d2-932e-00805f8add32}']
  end;

  nsIDOMComment_std18 = interface(nsIDOMCharacterData_std18)
  ['{a6cf9073-15b3-11d2-932e-00805f8add32}']
  end;

  nsIDOMCounter_std18 = interface(nsISupports_std18)
  ['{31adb439-0055-402d-9b1d-d5ca94f3f55b}']
    function GetIdentifier(aIdentifier: nsAString): Longword; stdcall;
    function GetListStyle(aListStyle: nsAString): Longword; stdcall;
    function GetSeparator(aSeparator: nsAString): Longword; stdcall;
  end;

  nsIDOMCSSValue_std18 = interface(nsISupports_std18)
  ['{009f7ea5-9e80-41be-b008-db62f10823f2}']
    function GetCssText(aCssText: nsAString): Longword; stdcall;
    function SetCssText(const aCssText: nsAString): Longword; stdcall;
    function GetCssValueType(out aCssValueType: PRUint16): Longword; stdcall;
  end;

  nsIDOMCSSPrimitiveValue_std18 = interface(nsIDOMCSSValue_std18)
  ['{e249031f-8df9-4e7a-b644-18946dce0019}']
    function GetPrimitiveType(out aPrimitiveType: PRUint16): Longword; stdcall;
    function SetFloatValue(unitType: PRUint16; floatValue: Single): nsresult; stdcall;
    function GetFloatValue(unitType: PRUint16; out _retval: Single): nsresult; stdcall;
    function SetStringValue(stringType: PRUint16; const stringValue: nsAString): nsresult; stdcall;
    function GetStringValue(_retval: nsAString): nsresult; stdcall;
    function GetCounterValue(out _retval: nsIDOMCounter_std18): nsresult; stdcall;
    function GetRectValue(out _retval: nsIDOMRect_std18): nsresult; stdcall;
    function GetRGBColorValue(out _retval: nsIDOMRGBColor_std18): nsresult; stdcall;
  end;

  nsIDOMCSSRule_std18 = interface(nsISupports_std18)
  ['{a6cf90c1-15b3-11d2-932e-00805f8add32}']
    function GetType(out aType: PRUint16): Longword; stdcall;
    function GetCssText(aCssText: nsAString): Longword; stdcall;
    function SetCssText(const aCssText: nsAString): Longword; stdcall;
    function GetParentStyleSheet(out aParentStyleSheet: nsIDOMCSSStyleSheet_std18): Longword; stdcall;
    function GetParentRule(out aParentRule: nsIDOMCSSRule_std18): Longword; stdcall;
  end;

  nsIDOMCSSRuleList_std18 = interface(nsISupports_std18)
  ['{a6cf90c0-15b3-11d2-932e-00805f8add32}']
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function Item(index: PRUint32; out _retval: nsIDOMCSSRule_std18): nsresult; stdcall;
  end;

  nsIDOMCSSStyleDeclaration_std18 = interface(nsISupports_std18)
  ['{a6cf90be-15b3-11d2-932e-00805f8add32}']
    function GetCssText(aCssText: nsAString): Longword; stdcall;
    function SetCssText(const aCssText: nsAString): Longword; stdcall;
    function GetPropertyValue(const propertyName: nsAString; _retval: nsAString): nsresult; stdcall;
    function GetPropertyCSSValue(const propertyName: nsAString; out _retval: nsIDOMCSSValue_std18): nsresult; stdcall;
    function RemoveProperty(const propertyName: nsAString; _retval: nsAString): nsresult; stdcall;
    function GetPropertyPriority(const propertyName: nsAString; _retval: nsAString): nsresult; stdcall;
    function SetProperty(const propertyName: nsAString; const value: nsAString; const priority: nsAString): nsresult; stdcall;
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function Item(index: PRUint32; _retval: nsAString): nsresult; stdcall;
    function GetParentRule(out aParentRule: nsIDOMCSSRule_std18): Longword; stdcall;
  end;

  nsIDOMStyleSheet_std18 = interface(nsISupports_std18)
  ['{a6cf9080-15b3-11d2-932e-00805f8add32}']
    function GetType(aType: nsAString): Longword; stdcall;
    function GetDisabled(out aDisabled: PRBool): Longword; stdcall;
    function SetDisabled(aDisabled: PRBool): Longword; stdcall;
    function GetOwnerNode(out aOwnerNode: nsIDOMNode_std18): Longword; stdcall;
    function GetParentStyleSheet(out aParentStyleSheet: nsIDOMStyleSheet_std18): Longword; stdcall;
    function GetHref(aHref: nsAString): Longword; stdcall;
    function GetTitle(aTitle: nsAString): Longword; stdcall;
    function GetMedia(out aMedia: nsIDOMMediaList_std18): Longword; stdcall;
  end;

  nsIDOMCSSStyleSheet_std18 = interface(nsIDOMStyleSheet_std18)
  ['{a6cf90c2-15b3-11d2-932e-00805f8add32}']
    function GetOwnerRule(out aOwnerRule: nsIDOMCSSRule_std18): Longword; stdcall;
    function GetCssRules(out aCssRules: nsIDOMCSSRuleList_std18): Longword; stdcall;
    function InsertRule(const rule: nsAString; index: PRUint32; out _retval: PRUint32): nsresult; stdcall;
    function DeleteRule(index: PRUint32): nsresult; stdcall;
  end;

  nsIDOMCSSValueList_std18 = interface(nsIDOMCSSValue_std18)
  ['{8f09fa84-39b9-4dca-9b2f-db0eeb186286}']
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function Item(index: PRUint32; out _retval: nsIDOMCSSValue_std18): nsresult; stdcall;
  end;

  nsIDOMEvent_std18 = interface(nsISupports_std18)
  ['{a66b7b80-ff46-bd97-0080-5f8ae38add32}']
    function GetType(aType: nsAString): Longword; stdcall;
    function GetTarget(out aTarget: nsIDOMEventTarget_std18): Longword; stdcall;
    function GetCurrentTarget(out aCurrentTarget: nsIDOMEventTarget_std18): Longword; stdcall;
    function GetEventPhase(out aEventPhase: PRUint16): Longword; stdcall;
    function GetBubbles(out aBubbles: PRBool): Longword; stdcall;
    function GetCancelable(out aCancelable: PRBool): Longword; stdcall;
    function GetTimeStamp(out aTimeStamp: DOMTimeStamp): Longword; stdcall;
    function StopPropagation(): nsresult; stdcall;
    function PreventDefault(): nsresult; stdcall;
    function InitEvent(const eventTypeArg: nsAString; canBubbleArg: PRBool; cancelableArg: PRBool): nsresult; stdcall;
  end;

  nsIDOMCustomEvent_std18 = interface(nsIDOMEvent_std18)
  ['{55c7af7b-1a64-40bf-87eb-2c2cbee0491b}']
    function SetCurrentTarget(target: nsIDOMNode_std18): nsresult; stdcall;
    function SetEventPhase(phase: PRUint16): nsresult; stdcall;
  end;

  nsIDOMDocument_std18 = interface(nsIDOMNode_std18)
  ['{a6cf9075-15b3-11d2-932e-00805f8add32}']
    function GetDoctype(out aDoctype: nsIDOMDocumentType_std18): Longword; stdcall;
    function GetImplementation(out aImplementation: nsIDOMDOMImplementation_std18): Longword; stdcall;
    function GetDocumentElement(out aDocumentElement: nsIDOMElement_std18): Longword; stdcall;
    function CreateElement(const tagName: nsAString; out _retval: nsIDOMElement_std18): nsresult; stdcall;
    function CreateDocumentFragment(out _retval: nsIDOMDocumentFragment_std18): nsresult; stdcall;
    function CreateTextNode(const data: nsAString; out _retval: nsIDOMText_std18): nsresult; stdcall;
    function CreateComment(const data: nsAString; out _retval: nsIDOMComment_std18): nsresult; stdcall;
    function CreateCDATASection(const data: nsAString; out _retval: nsIDOMCDATASection_std18): nsresult; stdcall;
    function CreateProcessingInstruction(const target: nsAString; const data: nsAString; out _retval: nsIDOMProcessingInstruction_std18): nsresult; stdcall;
    function CreateAttribute(const name: nsAString; out _retval: nsIDOMAttr_std18): nsresult; stdcall;
    function CreateEntityReference(const name: nsAString; out _retval: nsIDOMEntityReference_std18): nsresult; stdcall;
    function GetElementsByTagName(const tagname: nsAString; out _retval: nsIDOMNodeList_std18): nsresult; stdcall;
    function ImportNode(importedNode: nsIDOMNode_std18; deep: PRBool; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function CreateElementNS(const namespaceURI: nsAString; const qualifiedName: nsAString; out _retval: nsIDOMElement_std18): nsresult; stdcall;
    function CreateAttributeNS(const namespaceURI: nsAString; const qualifiedName: nsAString; out _retval: nsIDOMAttr_std18): nsresult; stdcall;
    function GetElementsByTagNameNS(const namespaceURI: nsAString; const localName: nsAString; out _retval: nsIDOMNodeList_std18): nsresult; stdcall;
    function GetElementById(const elementId: nsAString; out _retval: nsIDOMElement_std18): nsresult; stdcall;
  end;

  nsIDOMDocumentEvent_std18 = interface(nsISupports_std18)
  ['{46b91d66-28e2-11d4-ab1e-0010830123b4}']
    function CreateEvent(const eventType: nsAString; out _retval: nsIDOMEvent_std18): nsresult; stdcall;
  end;

  nsIDOMDocumentFragment_std18 = interface(nsIDOMNode_std18)
  ['{a6cf9076-15b3-11d2-932e-00805f8add32}']
  end;

  nsIDOMDocumentRange_std18 = interface(nsISupports_std18)
  ['{7b9badc6-c9bc-447a-8670-dbd195aed24b}']
    function CreateRange(out _retval: nsIDOMRange_std18): nsresult; stdcall;
  end;

  nsIDOMDocumentStyle_std18 = interface(nsISupports_std18)
  ['{3d9f4973-dd2e-48f5-b5f7-2634e09eadd9}']
    function GetStyleSheets(out aStyleSheets: nsIDOMStyleSheetList_std18): Longword; stdcall;
  end;

  nsIDOMDocumentType_std18 = interface(nsIDOMNode_std18)
  ['{a6cf9077-15b3-11d2-932e-00805f8add32}']
    function GetName(aName: nsAString): Longword; stdcall;
    function GetEntities(out aEntities: nsIDOMNamedNodeMap_std18): Longword; stdcall;
    function GetNotations(out aNotations: nsIDOMNamedNodeMap_std18): Longword; stdcall;
    function GetPublicId(aPublicId: nsAString): Longword; stdcall;
    function GetSystemId(aSystemId: nsAString): Longword; stdcall;
    function GetInternalSubset(aInternalSubset: nsAString): Longword; stdcall;
  end;

  nsIDOMDocumentView_std18 = interface(nsISupports_std18)
  ['{1acdb2ba-1dd2-11b2-95bc-9542495d2569}']
    function GetDefaultView(out aDefaultView: nsIDOMAbstractView_std18): Longword; stdcall;
  end;

  nsIDOMDOMException_std18 = interface(nsISupports_std18)
  ['{a6cf910a-15b3-11d2-932e-00805f8add32}']
    function GetCode(out aCode: PRUint32): Longword; stdcall;
  end;

  nsIDOMDOMImplementation_std18 = interface(nsISupports_std18)
  ['{a6cf9074-15b3-11d2-932e-00805f8add32}']
    function HasFeature(const feature: nsAString; const version: nsAString; out _retval: PRBool): nsresult; stdcall;
    function CreateDocumentType(const qualifiedName: nsAString; const publicId: nsAString; const systemId: nsAString; out _retval: nsIDOMDocumentType_std18): nsresult; stdcall;
    function CreateDocument(const namespaceURI: nsAString; const qualifiedName: nsAString; doctype: nsIDOMDocumentType_std18; out _retval: nsIDOMDocument_std18): nsresult; stdcall;
  end;

  nsIDOMElement_std18 = interface(nsIDOMNode_std18)
  ['{a6cf9078-15b3-11d2-932e-00805f8add32}']
    function GetTagName(aTagName: nsAString): Longword; stdcall;
    function GetAttribute(const name: nsAString; _retval: nsAString): nsresult; stdcall;
    function SetAttribute(const name: nsAString; const value: nsAString): nsresult; stdcall;
    function RemoveAttribute(const name: nsAString): nsresult; stdcall;
    function GetAttributeNode(const name: nsAString; out _retval: nsIDOMAttr_std18): nsresult; stdcall;
    function SetAttributeNode(newAttr: nsIDOMAttr_std18; out _retval: nsIDOMAttr_std18): nsresult; stdcall;
    function RemoveAttributeNode(oldAttr: nsIDOMAttr_std18; out _retval: nsIDOMAttr_std18): nsresult; stdcall;
    function GetElementsByTagName(const name: nsAString; out _retval: nsIDOMNodeList_std18): nsresult; stdcall;
    function GetAttributeNS(const namespaceURI: nsAString; const localName: nsAString; _retval: nsAString): nsresult; stdcall;
    function SetAttributeNS(const namespaceURI: nsAString; const qualifiedName: nsAString; const value: nsAString): nsresult; stdcall;
    function RemoveAttributeNS(const namespaceURI: nsAString; const localName: nsAString): nsresult; stdcall;
    function GetAttributeNodeNS(const namespaceURI: nsAString; const localName: nsAString; out _retval: nsIDOMAttr_std18): nsresult; stdcall;
    function SetAttributeNodeNS(newAttr: nsIDOMAttr_std18; out _retval: nsIDOMAttr_std18): nsresult; stdcall;
    function GetElementsByTagNameNS(const namespaceURI: nsAString; const localName: nsAString; out _retval: nsIDOMNodeList_std18): nsresult; stdcall;
    function HasAttribute(const name: nsAString; out _retval: PRBool): nsresult; stdcall;
    function HasAttributeNS(const namespaceURI: nsAString; const localName: nsAString; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIDOMElementCSSInlineStyle_std18 = interface(nsISupports_std18)
  ['{99715845-95fc-4a56-aa53-214b65c26e22}']
    function GetStyle(out aStyle: nsIDOMCSSStyleDeclaration_std18): Longword; stdcall;
  end;

  nsIDOMEntity_std18 = interface(nsIDOMNode_std18)
  ['{a6cf9079-15b3-11d2-932e-00805f8add32}']
    function GetPublicId(aPublicId: nsAString): Longword; stdcall;
    function GetSystemId(aSystemId: nsAString): Longword; stdcall;
    function GetNotationName(aNotationName: nsAString): Longword; stdcall;
  end;

  nsIDOMEntityReference_std18 = interface(nsIDOMNode_std18)
  ['{a6cf907a-15b3-11d2-932e-00805f8add32}']
  end;

  nsIDOMEventGroup_std18 = interface(nsISupports_std18)
  ['{33347bee-6620-4841-8152-36091ae80c7e}']
    function IsSameEventGroup(other: nsIDOMEventGroup_std18; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIDOMEventListener_std18 = interface(nsISupports_std18)
  ['{df31c120-ded6-11d1-bd85-00805f8ae3f4}']
    function HandleEvent(event: nsIDOMEvent_std18): nsresult; stdcall;
  end;

  nsIDOMEventTarget_std18 = interface(nsISupports_std18)
  ['{1c773b30-d1cf-11d2-bd95-00805f8ae3f4}']
    function AddEventListener(const _type: nsAString; listener: nsIDOMEventListener_std18; useCapture: PRBool): nsresult; stdcall;
    function RemoveEventListener(const _type: nsAString; listener: nsIDOMEventListener_std18; useCapture: PRBool): nsresult; stdcall;
    function DispatchEvent(evt: nsIDOMEvent_std18; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIDOMHTMLElement_std18 = interface(nsIDOMElement_std18)
  ['{a6cf9085-15b3-11d2-932e-00805f8add32}']
    function GetId(aId: nsAString): Longword; stdcall;
    function SetId(const aId: nsAString): Longword; stdcall;
    function GetTitle(aTitle: nsAString): Longword; stdcall;
    function SetTitle(const aTitle: nsAString): Longword; stdcall;
    function GetLang(aLang: nsAString): Longword; stdcall;
    function SetLang(const aLang: nsAString): Longword; stdcall;
    function GetDir(aDir: nsAString): Longword; stdcall;
    function SetDir(const aDir: nsAString): Longword; stdcall;
    function GetClassName(aClassName: nsAString): Longword; stdcall;
    function SetClassName(const aClassName: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLAnchorElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90aa-15b3-11d2-932e-00805f8add32}']
    function GetAccessKey(aAccessKey: nsAString): Longword; stdcall;
    function SetAccessKey(const aAccessKey: nsAString): Longword; stdcall;
    function GetCharset(aCharset: nsAString): Longword; stdcall;
    function SetCharset(const aCharset: nsAString): Longword; stdcall;
    function GetCoords(aCoords: nsAString): Longword; stdcall;
    function SetCoords(const aCoords: nsAString): Longword; stdcall;
    function GetHref(aHref: nsAString): Longword; stdcall;
    function SetHref(const aHref: nsAString): Longword; stdcall;
    function GetHreflang(aHreflang: nsAString): Longword; stdcall;
    function SetHreflang(const aHreflang: nsAString): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetRel(aRel: nsAString): Longword; stdcall;
    function SetRel(const aRel: nsAString): Longword; stdcall;
    function GetRev(aRev: nsAString): Longword; stdcall;
    function SetRev(const aRev: nsAString): Longword; stdcall;
    function GetShape(aShape: nsAString): Longword; stdcall;
    function SetShape(const aShape: nsAString): Longword; stdcall;
    function GetTabIndex(out aTabIndex: PRInt32): Longword; stdcall;
    function SetTabIndex(aTabIndex: PRInt32): Longword; stdcall;
    function GetTarget(aTarget: nsAString): Longword; stdcall;
    function SetTarget(const aTarget: nsAString): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
    function Blur(): nsresult; stdcall;
    function Focus(): nsresult; stdcall;
  end;

  nsIDOMHTMLAppletElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90ae-15b3-11d2-932e-00805f8add32}']
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetAlt(aAlt: nsAString): Longword; stdcall;
    function SetAlt(const aAlt: nsAString): Longword; stdcall;
    function GetArchive(aArchive: nsAString): Longword; stdcall;
    function SetArchive(const aArchive: nsAString): Longword; stdcall;
    function GetCode(aCode: nsAString): Longword; stdcall;
    function SetCode(const aCode: nsAString): Longword; stdcall;
    function GetCodeBase(aCodeBase: nsAString): Longword; stdcall;
    function SetCodeBase(const aCodeBase: nsAString): Longword; stdcall;
    function GetHeight(aHeight: nsAString): Longword; stdcall;
    function SetHeight(const aHeight: nsAString): Longword; stdcall;
    function GetHspace(out aHspace: PRInt32): Longword; stdcall;
    function SetHspace(aHspace: PRInt32): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetObject(aObject: nsAString): Longword; stdcall;
    function SetObject(const aObject: nsAString): Longword; stdcall;
    function GetVspace(out aVspace: PRInt32): Longword; stdcall;
    function SetVspace(aVspace: PRInt32): Longword; stdcall;
    function GetWidth(aWidth: nsAString): Longword; stdcall;
    function SetWidth(const aWidth: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLAreaElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90b0-15b3-11d2-932e-00805f8add32}']
    function GetAccessKey(aAccessKey: nsAString): Longword; stdcall;
    function SetAccessKey(const aAccessKey: nsAString): Longword; stdcall;
    function GetAlt(aAlt: nsAString): Longword; stdcall;
    function SetAlt(const aAlt: nsAString): Longword; stdcall;
    function GetCoords(aCoords: nsAString): Longword; stdcall;
    function SetCoords(const aCoords: nsAString): Longword; stdcall;
    function GetHref(aHref: nsAString): Longword; stdcall;
    function SetHref(const aHref: nsAString): Longword; stdcall;
    function GetNoHref(out aNoHref: PRBool): Longword; stdcall;
    function SetNoHref(aNoHref: PRBool): Longword; stdcall;
    function GetShape(aShape: nsAString): Longword; stdcall;
    function SetShape(const aShape: nsAString): Longword; stdcall;
    function GetTabIndex(out aTabIndex: PRInt32): Longword; stdcall;
    function SetTabIndex(aTabIndex: PRInt32): Longword; stdcall;
    function GetTarget(aTarget: nsAString): Longword; stdcall;
    function SetTarget(const aTarget: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLBaseElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf908b-15b3-11d2-932e-00805f8add32}']
    function GetHref(aHref: nsAString): Longword; stdcall;
    function SetHref(const aHref: nsAString): Longword; stdcall;
    function GetTarget(aTarget: nsAString): Longword; stdcall;
    function SetTarget(const aTarget: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLBaseFontElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90a6-15b3-11d2-932e-00805f8add32}']
    function GetColor(aColor: nsAString): Longword; stdcall;
    function SetColor(const aColor: nsAString): Longword; stdcall;
    function GetFace(aFace: nsAString): Longword; stdcall;
    function SetFace(const aFace: nsAString): Longword; stdcall;
    function GetSize(out aSize: PRInt32): Longword; stdcall;
    function SetSize(aSize: PRInt32): Longword; stdcall;
  end;

  nsIDOMHTMLBodyElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf908e-15b3-11d2-932e-00805f8add32}']
    function GetALink(aALink: nsAString): Longword; stdcall;
    function SetALink(const aALink: nsAString): Longword; stdcall;
    function GetBackground(aBackground: nsAString): Longword; stdcall;
    function SetBackground(const aBackground: nsAString): Longword; stdcall;
    function GetBgColor(aBgColor: nsAString): Longword; stdcall;
    function SetBgColor(const aBgColor: nsAString): Longword; stdcall;
    function GetLink(aLink: nsAString): Longword; stdcall;
    function SetLink(const aLink: nsAString): Longword; stdcall;
    function GetText(aText: nsAString): Longword; stdcall;
    function SetText(const aText: nsAString): Longword; stdcall;
    function GetVLink(aVLink: nsAString): Longword; stdcall;
    function SetVLink(const aVLink: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLBRElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90a5-15b3-11d2-932e-00805f8add32}']
    function GetClear(aClear: nsAString): Longword; stdcall;
    function SetClear(const aClear: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLButtonElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9095-15b3-11d2-932e-00805f8add32}']
    function GetForm(out aForm: nsIDOMHTMLFormElement_std18): Longword; stdcall;
    function GetAccessKey(aAccessKey: nsAString): Longword; stdcall;
    function SetAccessKey(const aAccessKey: nsAString): Longword; stdcall;
    function GetDisabled(out aDisabled: PRBool): Longword; stdcall;
    function SetDisabled(aDisabled: PRBool): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetTabIndex(out aTabIndex: PRInt32): Longword; stdcall;
    function SetTabIndex(aTabIndex: PRInt32): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function GetValue(aValue: nsAString): Longword; stdcall;
    function SetValue(const aValue: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLCollection_std18 = interface(nsISupports_std18)
  ['{a6cf9083-15b3-11d2-932e-00805f8add32}']
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function Item(index: PRUint32; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function NamedItem(const name: nsAString; out _retval: nsIDOMNode_std18): nsresult; stdcall;
  end;

  nsIDOMHTMLDirectoryElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf909c-15b3-11d2-932e-00805f8add32}']
    function GetCompact(out aCompact: PRBool): Longword; stdcall;
    function SetCompact(aCompact: PRBool): Longword; stdcall;
  end;

  nsIDOMHTMLDivElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90a0-15b3-11d2-932e-00805f8add32}']
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLDListElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf909b-15b3-11d2-932e-00805f8add32}']
    function GetCompact(out aCompact: PRBool): Longword; stdcall;
    function SetCompact(aCompact: PRBool): Longword; stdcall;
  end;

  nsIDOMHTMLDocument_std18 = interface(nsIDOMDocument_std18)
  ['{a6cf9084-15b3-11d2-932e-00805f8add32}']
    function GetTitle(aTitle: nsAString): Longword; stdcall;
    function SetTitle(const aTitle: nsAString): Longword; stdcall;
    function GetReferrer(aReferrer: nsAString): Longword; stdcall;
    function GetDomain(aDomain: nsAString): Longword; stdcall;
    function GetURL(aURL: nsAString): Longword; stdcall;
    function GetBody(out aBody: nsIDOMHTMLElement_std18): Longword; stdcall;
    function SetBody(aBody: nsIDOMHTMLElement_std18): Longword; stdcall;
    function GetImages(out aImages: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function GetApplets(out aApplets: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function GetLinks(out aLinks: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function GetForms(out aForms: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function GetAnchors(out aAnchors: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function GetCookie(aCookie: nsAString): Longword; stdcall;
    function SetCookie(const aCookie: nsAString): Longword; stdcall;
    function Open(): nsresult; stdcall;
    function Close(): nsresult; stdcall;
    function Write(const text: nsAString): nsresult; stdcall;
    function Writeln(const text: nsAString): nsresult; stdcall;
    function GetElementsByName(const elementName: nsAString; out _retval: nsIDOMNodeList_std18): nsresult; stdcall;
  end;

  nsIDOMHTMLEmbedElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{123f90ab-15b3-11d2-456e-00805f8add32}']
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetHeight(aHeight: nsAString): Longword; stdcall;
    function SetHeight(const aHeight: nsAString): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetSrc(aSrc: nsAString): Longword; stdcall;
    function SetSrc(const aSrc: nsAString): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
    function GetWidth(aWidth: nsAString): Longword; stdcall;
    function SetWidth(const aWidth: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLFieldSetElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9097-15b3-11d2-932e-00805f8add32}']
    function GetForm(out aForm: nsIDOMHTMLFormElement_std18): Longword; stdcall;
  end;

  nsIDOMHTMLFontElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90a7-15b3-11d2-932e-00805f8add32}']
    function GetColor(aColor: nsAString): Longword; stdcall;
    function SetColor(const aColor: nsAString): Longword; stdcall;
    function GetFace(aFace: nsAString): Longword; stdcall;
    function SetFace(const aFace: nsAString): Longword; stdcall;
    function GetSize(aSize: nsAString): Longword; stdcall;
    function SetSize(const aSize: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLFormElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf908f-15b3-11d2-932e-00805f8add32}']
    function GetElements(out aElements: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function GetLength(out aLength: PRInt32): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetAcceptCharset(aAcceptCharset: nsAString): Longword; stdcall;
    function SetAcceptCharset(const aAcceptCharset: nsAString): Longword; stdcall;
    function GetAction(aAction: nsAString): Longword; stdcall;
    function SetAction(const aAction: nsAString): Longword; stdcall;
    function GetEnctype(aEnctype: nsAString): Longword; stdcall;
    function SetEnctype(const aEnctype: nsAString): Longword; stdcall;
    function GetMethod(aMethod: nsAString): Longword; stdcall;
    function SetMethod(const aMethod: nsAString): Longword; stdcall;
    function GetTarget(aTarget: nsAString): Longword; stdcall;
    function SetTarget(const aTarget: nsAString): Longword; stdcall;
    function Submit(): nsresult; stdcall;
    function Reset(): nsresult; stdcall;
  end;

  nsIDOMHTMLFrameElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90b9-15b3-11d2-932e-00805f8add32}']
    function GetFrameBorder(aFrameBorder: nsAString): Longword; stdcall;
    function SetFrameBorder(const aFrameBorder: nsAString): Longword; stdcall;
    function GetLongDesc(aLongDesc: nsAString): Longword; stdcall;
    function SetLongDesc(const aLongDesc: nsAString): Longword; stdcall;
    function GetMarginHeight(aMarginHeight: nsAString): Longword; stdcall;
    function SetMarginHeight(const aMarginHeight: nsAString): Longword; stdcall;
    function GetMarginWidth(aMarginWidth: nsAString): Longword; stdcall;
    function SetMarginWidth(const aMarginWidth: nsAString): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetNoResize(out aNoResize: PRBool): Longword; stdcall;
    function SetNoResize(aNoResize: PRBool): Longword; stdcall;
    function GetScrolling(aScrolling: nsAString): Longword; stdcall;
    function SetScrolling(const aScrolling: nsAString): Longword; stdcall;
    function GetSrc(aSrc: nsAString): Longword; stdcall;
    function SetSrc(const aSrc: nsAString): Longword; stdcall;
    function GetContentDocument(out aContentDocument: nsIDOMDocument_std18): Longword; stdcall;
  end;

  nsIDOMHTMLFrameSetElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90b8-15b3-11d2-932e-00805f8add32}']
    function GetCols(aCols: nsAString): Longword; stdcall;
    function SetCols(const aCols: nsAString): Longword; stdcall;
    function GetRows(aRows: nsAString): Longword; stdcall;
    function SetRows(const aRows: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLHeadElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9087-15b3-11d2-932e-00805f8add32}']
    function GetProfile(aProfile: nsAString): Longword; stdcall;
    function SetProfile(const aProfile: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLHeadingElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90a2-15b3-11d2-932e-00805f8add32}']
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLHRElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90a8-15b3-11d2-932e-00805f8add32}']
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetNoShade(out aNoShade: PRBool): Longword; stdcall;
    function SetNoShade(aNoShade: PRBool): Longword; stdcall;
    function GetSize(aSize: nsAString): Longword; stdcall;
    function SetSize(const aSize: nsAString): Longword; stdcall;
    function GetWidth(aWidth: nsAString): Longword; stdcall;
    function SetWidth(const aWidth: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLHtmlElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9086-15b3-11d2-932e-00805f8add32}']
    function GetVersion(aVersion: nsAString): Longword; stdcall;
    function SetVersion(const aVersion: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLIFrameElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90ba-15b3-11d2-932e-00805f8add32}']
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetFrameBorder(aFrameBorder: nsAString): Longword; stdcall;
    function SetFrameBorder(const aFrameBorder: nsAString): Longword; stdcall;
    function GetHeight(aHeight: nsAString): Longword; stdcall;
    function SetHeight(const aHeight: nsAString): Longword; stdcall;
    function GetLongDesc(aLongDesc: nsAString): Longword; stdcall;
    function SetLongDesc(const aLongDesc: nsAString): Longword; stdcall;
    function GetMarginHeight(aMarginHeight: nsAString): Longword; stdcall;
    function SetMarginHeight(const aMarginHeight: nsAString): Longword; stdcall;
    function GetMarginWidth(aMarginWidth: nsAString): Longword; stdcall;
    function SetMarginWidth(const aMarginWidth: nsAString): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetScrolling(aScrolling: nsAString): Longword; stdcall;
    function SetScrolling(const aScrolling: nsAString): Longword; stdcall;
    function GetSrc(aSrc: nsAString): Longword; stdcall;
    function SetSrc(const aSrc: nsAString): Longword; stdcall;
    function GetWidth(aWidth: nsAString): Longword; stdcall;
    function SetWidth(const aWidth: nsAString): Longword; stdcall;
    function GetContentDocument(out aContentDocument: nsIDOMDocument_std18): Longword; stdcall;
  end;

  nsIDOMHTMLImageElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90ab-15b3-11d2-932e-00805f8add32}']
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetAlt(aAlt: nsAString): Longword; stdcall;
    function SetAlt(const aAlt: nsAString): Longword; stdcall;
    function GetBorder(aBorder: nsAString): Longword; stdcall;
    function SetBorder(const aBorder: nsAString): Longword; stdcall;
    function GetHeight(out aHeight: PRInt32): Longword; stdcall;
    function SetHeight(aHeight: PRInt32): Longword; stdcall;
    function GetHspace(out aHspace: PRInt32): Longword; stdcall;
    function SetHspace(aHspace: PRInt32): Longword; stdcall;
    function GetIsMap(out aIsMap: PRBool): Longword; stdcall;
    function SetIsMap(aIsMap: PRBool): Longword; stdcall;
    function GetLongDesc(aLongDesc: nsAString): Longword; stdcall;
    function SetLongDesc(const aLongDesc: nsAString): Longword; stdcall;
    function GetSrc(aSrc: nsAString): Longword; stdcall;
    function SetSrc(const aSrc: nsAString): Longword; stdcall;
    function GetUseMap(aUseMap: nsAString): Longword; stdcall;
    function SetUseMap(const aUseMap: nsAString): Longword; stdcall;
    function GetVspace(out aVspace: PRInt32): Longword; stdcall;
    function SetVspace(aVspace: PRInt32): Longword; stdcall;
    function GetWidth(out aWidth: PRInt32): Longword; stdcall;
    function SetWidth(aWidth: PRInt32): Longword; stdcall;
  end;

  nsIDOMHTMLInputElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9093-15b3-11d2-932e-00805f8add32}']
    function GetDefaultValue(aDefaultValue: nsAString): Longword; stdcall;
    function SetDefaultValue(const aDefaultValue: nsAString): Longword; stdcall;
    function GetDefaultChecked(out aDefaultChecked: PRBool): Longword; stdcall;
    function SetDefaultChecked(aDefaultChecked: PRBool): Longword; stdcall;
    function GetForm(out aForm: nsIDOMHTMLFormElement_std18): Longword; stdcall;
    function GetAccept(aAccept: nsAString): Longword; stdcall;
    function SetAccept(const aAccept: nsAString): Longword; stdcall;
    function GetAccessKey(aAccessKey: nsAString): Longword; stdcall;
    function SetAccessKey(const aAccessKey: nsAString): Longword; stdcall;
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetAlt(aAlt: nsAString): Longword; stdcall;
    function SetAlt(const aAlt: nsAString): Longword; stdcall;
    function GetChecked(out aChecked: PRBool): Longword; stdcall;
    function SetChecked(aChecked: PRBool): Longword; stdcall;
    function GetDisabled(out aDisabled: PRBool): Longword; stdcall;
    function SetDisabled(aDisabled: PRBool): Longword; stdcall;
    function GetMaxLength(out aMaxLength: PRInt32): Longword; stdcall;
    function SetMaxLength(aMaxLength: PRInt32): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetReadOnly(out aReadOnly: PRBool): Longword; stdcall;
    function SetReadOnly(aReadOnly: PRBool): Longword; stdcall;
    function GetSize(out aSize: PRUint32): Longword; stdcall;
    function SetSize(aSize: PRUint32): Longword; stdcall;
    function GetSrc(aSrc: nsAString): Longword; stdcall;
    function SetSrc(const aSrc: nsAString): Longword; stdcall;
    function GetTabIndex(out aTabIndex: PRInt32): Longword; stdcall;
    function SetTabIndex(aTabIndex: PRInt32): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
    function GetUseMap(aUseMap: nsAString): Longword; stdcall;
    function SetUseMap(const aUseMap: nsAString): Longword; stdcall;
    function GetValue(aValue: nsAString): Longword; stdcall;
    function SetValue(const aValue: nsAString): Longword; stdcall;
    function Blur(): nsresult; stdcall;
    function Focus(): nsresult; stdcall;
    function Select(): nsresult; stdcall;
    function Click(): nsresult; stdcall;
  end;

  nsIDOMHTMLIsIndexElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf908c-15b3-11d2-932e-00805f8add32}']
    function GetForm(out aForm: nsIDOMHTMLFormElement_std18): Longword; stdcall;
    function GetPrompt(aPrompt: nsAString): Longword; stdcall;
    function SetPrompt(const aPrompt: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLLabelElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9096-15b3-11d2-932e-00805f8add32}']
    function GetForm(out aForm: nsIDOMHTMLFormElement_std18): Longword; stdcall;
    function GetAccessKey(aAccessKey: nsAString): Longword; stdcall;
    function SetAccessKey(const aAccessKey: nsAString): Longword; stdcall;
    function GetHtmlFor(aHtmlFor: nsAString): Longword; stdcall;
    function SetHtmlFor(const aHtmlFor: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLLegendElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9098-15b3-11d2-932e-00805f8add32}']
    function GetForm(out aForm: nsIDOMHTMLFormElement_std18): Longword; stdcall;
    function GetAccessKey(aAccessKey: nsAString): Longword; stdcall;
    function SetAccessKey(const aAccessKey: nsAString): Longword; stdcall;
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLLIElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf909e-15b3-11d2-932e-00805f8add32}']
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
    function GetValue(out aValue: PRInt32): Longword; stdcall;
    function SetValue(aValue: PRInt32): Longword; stdcall;
  end;

  nsIDOMHTMLLinkElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9088-15b3-11d2-932e-00805f8add32}']
    function GetDisabled(out aDisabled: PRBool): Longword; stdcall;
    function SetDisabled(aDisabled: PRBool): Longword; stdcall;
    function GetCharset(aCharset: nsAString): Longword; stdcall;
    function SetCharset(const aCharset: nsAString): Longword; stdcall;
    function GetHref(aHref: nsAString): Longword; stdcall;
    function SetHref(const aHref: nsAString): Longword; stdcall;
    function GetHreflang(aHreflang: nsAString): Longword; stdcall;
    function SetHreflang(const aHreflang: nsAString): Longword; stdcall;
    function GetMedia(aMedia: nsAString): Longword; stdcall;
    function SetMedia(const aMedia: nsAString): Longword; stdcall;
    function GetRel(aRel: nsAString): Longword; stdcall;
    function SetRel(const aRel: nsAString): Longword; stdcall;
    function GetRev(aRev: nsAString): Longword; stdcall;
    function SetRev(const aRev: nsAString): Longword; stdcall;
    function GetTarget(aTarget: nsAString): Longword; stdcall;
    function SetTarget(const aTarget: nsAString): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLMapElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90af-15b3-11d2-932e-00805f8add32}']
    function GetAreas(out aAreas: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLMenuElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf909d-15b3-11d2-932e-00805f8add32}']
    function GetCompact(out aCompact: PRBool): Longword; stdcall;
    function SetCompact(aCompact: PRBool): Longword; stdcall;
  end;

  nsIDOMHTMLMetaElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf908a-15b3-11d2-932e-00805f8add32}']
    function GetContent(aContent: nsAString): Longword; stdcall;
    function SetContent(const aContent: nsAString): Longword; stdcall;
    function GetHttpEquiv(aHttpEquiv: nsAString): Longword; stdcall;
    function SetHttpEquiv(const aHttpEquiv: nsAString): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetScheme(aScheme: nsAString): Longword; stdcall;
    function SetScheme(const aScheme: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLModElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90a9-15b3-11d2-932e-00805f8add32}']
    function GetCite(aCite: nsAString): Longword; stdcall;
    function SetCite(const aCite: nsAString): Longword; stdcall;
    function GetDateTime(aDateTime: nsAString): Longword; stdcall;
    function SetDateTime(const aDateTime: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLObjectElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90ac-15b3-11d2-932e-00805f8add32}']
    function GetForm(out aForm: nsIDOMHTMLFormElement_std18): Longword; stdcall;
    function GetCode(aCode: nsAString): Longword; stdcall;
    function SetCode(const aCode: nsAString): Longword; stdcall;
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetArchive(aArchive: nsAString): Longword; stdcall;
    function SetArchive(const aArchive: nsAString): Longword; stdcall;
    function GetBorder(aBorder: nsAString): Longword; stdcall;
    function SetBorder(const aBorder: nsAString): Longword; stdcall;
    function GetCodeBase(aCodeBase: nsAString): Longword; stdcall;
    function SetCodeBase(const aCodeBase: nsAString): Longword; stdcall;
    function GetCodeType(aCodeType: nsAString): Longword; stdcall;
    function SetCodeType(const aCodeType: nsAString): Longword; stdcall;
    function GetData(aData: nsAString): Longword; stdcall;
    function SetData(const aData: nsAString): Longword; stdcall;
    function GetDeclare(out aDeclare: PRBool): Longword; stdcall;
    function SetDeclare(aDeclare: PRBool): Longword; stdcall;
    function GetHeight(aHeight: nsAString): Longword; stdcall;
    function SetHeight(const aHeight: nsAString): Longword; stdcall;
    function GetHspace(out aHspace: PRInt32): Longword; stdcall;
    function SetHspace(aHspace: PRInt32): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetStandby(aStandby: nsAString): Longword; stdcall;
    function SetStandby(const aStandby: nsAString): Longword; stdcall;
    function GetTabIndex(out aTabIndex: PRInt32): Longword; stdcall;
    function SetTabIndex(aTabIndex: PRInt32): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
    function GetUseMap(aUseMap: nsAString): Longword; stdcall;
    function SetUseMap(const aUseMap: nsAString): Longword; stdcall;
    function GetVspace(out aVspace: PRInt32): Longword; stdcall;
    function SetVspace(aVspace: PRInt32): Longword; stdcall;
    function GetWidth(aWidth: nsAString): Longword; stdcall;
    function SetWidth(const aWidth: nsAString): Longword; stdcall;
    function GetContentDocument(out aContentDocument: nsIDOMDocument_std18): Longword; stdcall;
  end;

  nsIDOMHTMLOListElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf909a-15b3-11d2-932e-00805f8add32}']
    function GetCompact(out aCompact: PRBool): Longword; stdcall;
    function SetCompact(aCompact: PRBool): Longword; stdcall;
    function GetStart(out aStart: PRInt32): Longword; stdcall;
    function SetStart(aStart: PRInt32): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLOptGroupElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9091-15b3-11d2-932e-00805f8add32}']
    function GetDisabled(out aDisabled: PRBool): Longword; stdcall;
    function SetDisabled(aDisabled: PRBool): Longword; stdcall;
    function GetLabel(aLabel: nsAString): Longword; stdcall;
    function SetLabel(const aLabel: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLOptionElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9092-15b3-11d2-932e-00805f8add32}']
    function GetForm(out aForm: nsIDOMHTMLFormElement_std18): Longword; stdcall;
    function GetDefaultSelected(out aDefaultSelected: PRBool): Longword; stdcall;
    function SetDefaultSelected(aDefaultSelected: PRBool): Longword; stdcall;
    function GetText(aText: nsAString): Longword; stdcall;
    function GetIndex(out aIndex: PRInt32): Longword; stdcall;
    function GetDisabled(out aDisabled: PRBool): Longword; stdcall;
    function SetDisabled(aDisabled: PRBool): Longword; stdcall;
    function GetLabel(aLabel: nsAString): Longword; stdcall;
    function SetLabel(const aLabel: nsAString): Longword; stdcall;
    function GetSelected(out aSelected: PRBool): Longword; stdcall;
    function SetSelected(aSelected: PRBool): Longword; stdcall;
    function GetValue(aValue: nsAString): Longword; stdcall;
    function SetValue(const aValue: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLOptionsCollection_std18 = interface(nsISupports_std18)
  ['{bce0213c-f70f-488f-b93f-688acca55d63}']
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function SetLength(aLength: PRUint32): Longword; stdcall;
    function Item(index: PRUint32; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function NamedItem(const name: nsAString; out _retval: nsIDOMNode_std18): nsresult; stdcall;
  end;

  nsIDOMHTMLParagraphElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90a1-15b3-11d2-932e-00805f8add32}']
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLParamElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90ad-15b3-11d2-932e-00805f8add32}']
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
    function GetValue(aValue: nsAString): Longword; stdcall;
    function SetValue(const aValue: nsAString): Longword; stdcall;
    function GetValueType(aValueType: nsAString): Longword; stdcall;
    function SetValueType(const aValueType: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLPreElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90a4-15b3-11d2-932e-00805f8add32}']
    function GetWidth(out aWidth: PRInt32): Longword; stdcall;
    function SetWidth(aWidth: PRInt32): Longword; stdcall;
  end;

  nsIDOMHTMLQuoteElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90a3-15b3-11d2-932e-00805f8add32}']
    function GetCite(aCite: nsAString): Longword; stdcall;
    function SetCite(const aCite: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLScriptElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90b1-15b3-11d2-932e-00805f8add32}']
    function GetText(aText: nsAString): Longword; stdcall;
    function SetText(const aText: nsAString): Longword; stdcall;
    function GetHtmlFor(aHtmlFor: nsAString): Longword; stdcall;
    function SetHtmlFor(const aHtmlFor: nsAString): Longword; stdcall;
    function GetEvent(aEvent: nsAString): Longword; stdcall;
    function SetEvent(const aEvent: nsAString): Longword; stdcall;
    function GetCharset(aCharset: nsAString): Longword; stdcall;
    function SetCharset(const aCharset: nsAString): Longword; stdcall;
    function GetDefer(out aDefer: PRBool): Longword; stdcall;
    function SetDefer(aDefer: PRBool): Longword; stdcall;
    function GetSrc(aSrc: nsAString): Longword; stdcall;
    function SetSrc(const aSrc: nsAString): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLSelectElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9090-15b3-11d2-932e-00805f8add32}']
    function GetType(aType: nsAString): Longword; stdcall;
    function GetSelectedIndex(out aSelectedIndex: PRInt32): Longword; stdcall;
    function SetSelectedIndex(aSelectedIndex: PRInt32): Longword; stdcall;
    function GetValue(aValue: nsAString): Longword; stdcall;
    function SetValue(const aValue: nsAString): Longword; stdcall;
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function SetLength(aLength: PRUint32): Longword; stdcall;
    function GetForm(out aForm: nsIDOMHTMLFormElement_std18): Longword; stdcall;
    function GetOptions(out aOptions: nsIDOMHTMLOptionsCollection_std18): Longword; stdcall;
    function GetDisabled(out aDisabled: PRBool): Longword; stdcall;
    function SetDisabled(aDisabled: PRBool): Longword; stdcall;
    function GetMultiple(out aMultiple: PRBool): Longword; stdcall;
    function SetMultiple(aMultiple: PRBool): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetSize(out aSize: PRInt32): Longword; stdcall;
    function SetSize(aSize: PRInt32): Longword; stdcall;
    function GetTabIndex(out aTabIndex: PRInt32): Longword; stdcall;
    function SetTabIndex(aTabIndex: PRInt32): Longword; stdcall;
    function Add(element: nsIDOMHTMLElement_std18; before: nsIDOMHTMLElement_std18): nsresult; stdcall;
    function Remove(index: PRInt32): nsresult; stdcall;
    function Blur(): nsresult; stdcall;
    function Focus(): nsresult; stdcall;
  end;

  nsIDOMHTMLStyleElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf908d-15b3-11d2-932e-00805f8add32}']
    function GetDisabled(out aDisabled: PRBool): Longword; stdcall;
    function SetDisabled(aDisabled: PRBool): Longword; stdcall;
    function GetMedia(aMedia: nsAString): Longword; stdcall;
    function SetMedia(const aMedia: nsAString): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLTableCaptionElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90b3-15b3-11d2-932e-00805f8add32}']
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLTableCellElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90b7-15b3-11d2-932e-00805f8add32}']
    function GetCellIndex(out aCellIndex: PRInt32): Longword; stdcall;
    function GetAbbr(aAbbr: nsAString): Longword; stdcall;
    function SetAbbr(const aAbbr: nsAString): Longword; stdcall;
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetAxis(aAxis: nsAString): Longword; stdcall;
    function SetAxis(const aAxis: nsAString): Longword; stdcall;
    function GetBgColor(aBgColor: nsAString): Longword; stdcall;
    function SetBgColor(const aBgColor: nsAString): Longword; stdcall;
    function GetCh(aCh: nsAString): Longword; stdcall;
    function SetCh(const aCh: nsAString): Longword; stdcall;
    function GetChOff(aChOff: nsAString): Longword; stdcall;
    function SetChOff(const aChOff: nsAString): Longword; stdcall;
    function GetColSpan(out aColSpan: PRInt32): Longword; stdcall;
    function SetColSpan(aColSpan: PRInt32): Longword; stdcall;
    function GetHeaders(aHeaders: nsAString): Longword; stdcall;
    function SetHeaders(const aHeaders: nsAString): Longword; stdcall;
    function GetHeight(aHeight: nsAString): Longword; stdcall;
    function SetHeight(const aHeight: nsAString): Longword; stdcall;
    function GetNoWrap(out aNoWrap: PRBool): Longword; stdcall;
    function SetNoWrap(aNoWrap: PRBool): Longword; stdcall;
    function GetRowSpan(out aRowSpan: PRInt32): Longword; stdcall;
    function SetRowSpan(aRowSpan: PRInt32): Longword; stdcall;
    function GetScope(aScope: nsAString): Longword; stdcall;
    function SetScope(const aScope: nsAString): Longword; stdcall;
    function GetVAlign(aVAlign: nsAString): Longword; stdcall;
    function SetVAlign(const aVAlign: nsAString): Longword; stdcall;
    function GetWidth(aWidth: nsAString): Longword; stdcall;
    function SetWidth(const aWidth: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLTableColElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90b4-15b3-11d2-932e-00805f8add32}']
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetCh(aCh: nsAString): Longword; stdcall;
    function SetCh(const aCh: nsAString): Longword; stdcall;
    function GetChOff(aChOff: nsAString): Longword; stdcall;
    function SetChOff(const aChOff: nsAString): Longword; stdcall;
    function GetSpan(out aSpan: PRInt32): Longword; stdcall;
    function SetSpan(aSpan: PRInt32): Longword; stdcall;
    function GetVAlign(aVAlign: nsAString): Longword; stdcall;
    function SetVAlign(const aVAlign: nsAString): Longword; stdcall;
    function GetWidth(aWidth: nsAString): Longword; stdcall;
    function SetWidth(const aWidth: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLTableElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90b2-15b3-11d2-932e-00805f8add32}']
    function GetCaption(out aCaption: nsIDOMHTMLTableCaptionElement_std18): Longword; stdcall;
    function SetCaption(aCaption: nsIDOMHTMLTableCaptionElement_std18): Longword; stdcall;
    function GetTHead(out aTHead: nsIDOMHTMLTableSectionElement_std18): Longword; stdcall;
    function SetTHead(aTHead: nsIDOMHTMLTableSectionElement_std18): Longword; stdcall;
    function GetTFoot(out aTFoot: nsIDOMHTMLTableSectionElement_std18): Longword; stdcall;
    function SetTFoot(aTFoot: nsIDOMHTMLTableSectionElement_std18): Longword; stdcall;
    function GetRows(out aRows: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function GetTBodies(out aTBodies: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetBgColor(aBgColor: nsAString): Longword; stdcall;
    function SetBgColor(const aBgColor: nsAString): Longword; stdcall;
    function GetBorder(aBorder: nsAString): Longword; stdcall;
    function SetBorder(const aBorder: nsAString): Longword; stdcall;
    function GetCellPadding(aCellPadding: nsAString): Longword; stdcall;
    function SetCellPadding(const aCellPadding: nsAString): Longword; stdcall;
    function GetCellSpacing(aCellSpacing: nsAString): Longword; stdcall;
    function SetCellSpacing(const aCellSpacing: nsAString): Longword; stdcall;
    function GetFrame(aFrame: nsAString): Longword; stdcall;
    function SetFrame(const aFrame: nsAString): Longword; stdcall;
    function GetRules(aRules: nsAString): Longword; stdcall;
    function SetRules(const aRules: nsAString): Longword; stdcall;
    function GetSummary(aSummary: nsAString): Longword; stdcall;
    function SetSummary(const aSummary: nsAString): Longword; stdcall;
    function GetWidth(aWidth: nsAString): Longword; stdcall;
    function SetWidth(const aWidth: nsAString): Longword; stdcall;
    function CreateTHead(out _retval: nsIDOMHTMLElement_std18): nsresult; stdcall;
    function DeleteTHead(): nsresult; stdcall;
    function CreateTFoot(out _retval: nsIDOMHTMLElement_std18): nsresult; stdcall;
    function DeleteTFoot(): nsresult; stdcall;
    function CreateCaption(out _retval: nsIDOMHTMLElement_std18): nsresult; stdcall;
    function DeleteCaption(): nsresult; stdcall;
    function InsertRow(index: PRInt32; out _retval: nsIDOMHTMLElement_std18): nsresult; stdcall;
    function DeleteRow(index: PRInt32): nsresult; stdcall;
  end;

  nsIDOMHTMLTableRowElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90b6-15b3-11d2-932e-00805f8add32}']
    function GetRowIndex(out aRowIndex: PRInt32): Longword; stdcall;
    function GetSectionRowIndex(out aSectionRowIndex: PRInt32): Longword; stdcall;
    function GetCells(out aCells: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetBgColor(aBgColor: nsAString): Longword; stdcall;
    function SetBgColor(const aBgColor: nsAString): Longword; stdcall;
    function GetCh(aCh: nsAString): Longword; stdcall;
    function SetCh(const aCh: nsAString): Longword; stdcall;
    function GetChOff(aChOff: nsAString): Longword; stdcall;
    function SetChOff(const aChOff: nsAString): Longword; stdcall;
    function GetVAlign(aVAlign: nsAString): Longword; stdcall;
    function SetVAlign(const aVAlign: nsAString): Longword; stdcall;
    function InsertCell(index: PRInt32; out _retval: nsIDOMHTMLElement_std18): nsresult; stdcall;
    function DeleteCell(index: PRInt32): nsresult; stdcall;
  end;

  nsIDOMHTMLTableSectionElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf90b5-15b3-11d2-932e-00805f8add32}']
    function GetAlign(aAlign: nsAString): Longword; stdcall;
    function SetAlign(const aAlign: nsAString): Longword; stdcall;
    function GetCh(aCh: nsAString): Longword; stdcall;
    function SetCh(const aCh: nsAString): Longword; stdcall;
    function GetChOff(aChOff: nsAString): Longword; stdcall;
    function SetChOff(const aChOff: nsAString): Longword; stdcall;
    function GetVAlign(aVAlign: nsAString): Longword; stdcall;
    function SetVAlign(const aVAlign: nsAString): Longword; stdcall;
    function GetRows(out aRows: nsIDOMHTMLCollection_std18): Longword; stdcall;
    function InsertRow(index: PRInt32; out _retval: nsIDOMHTMLElement_std18): nsresult; stdcall;
    function DeleteRow(index: PRInt32): nsresult; stdcall;
  end;

  nsIDOMHTMLTextAreaElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9094-15b3-11d2-932e-00805f8add32}']
    function GetDefaultValue(aDefaultValue: nsAString): Longword; stdcall;
    function SetDefaultValue(const aDefaultValue: nsAString): Longword; stdcall;
    function GetForm(out aForm: nsIDOMHTMLFormElement_std18): Longword; stdcall;
    function GetAccessKey(aAccessKey: nsAString): Longword; stdcall;
    function SetAccessKey(const aAccessKey: nsAString): Longword; stdcall;
    function GetCols(out aCols: PRInt32): Longword; stdcall;
    function SetCols(aCols: PRInt32): Longword; stdcall;
    function GetDisabled(out aDisabled: PRBool): Longword; stdcall;
    function SetDisabled(aDisabled: PRBool): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetReadOnly(out aReadOnly: PRBool): Longword; stdcall;
    function SetReadOnly(aReadOnly: PRBool): Longword; stdcall;
    function GetRows(out aRows: PRInt32): Longword; stdcall;
    function SetRows(aRows: PRInt32): Longword; stdcall;
    function GetTabIndex(out aTabIndex: PRInt32): Longword; stdcall;
    function SetTabIndex(aTabIndex: PRInt32): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function GetValue(aValue: nsAString): Longword; stdcall;
    function SetValue(const aValue: nsAString): Longword; stdcall;
    function Blur(): nsresult; stdcall;
    function Focus(): nsresult; stdcall;
    function Select(): nsresult; stdcall;
  end;

  nsIDOMHTMLTitleElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9089-15b3-11d2-932e-00805f8add32}']
    function GetText(aText: nsAString): Longword; stdcall;
    function SetText(const aText: nsAString): Longword; stdcall;
  end;

  nsIDOMHTMLUListElement_std18 = interface(nsIDOMHTMLElement_std18)
  ['{a6cf9099-15b3-11d2-932e-00805f8add32}']
    function GetCompact(out aCompact: PRBool): Longword; stdcall;
    function SetCompact(aCompact: PRBool): Longword; stdcall;
    function GetType(aType: nsAString): Longword; stdcall;
    function SetType(const aType: nsAString): Longword; stdcall;
  end;

  nsIDOMMediaList_std18 = interface(nsISupports_std18)
  ['{9b0c2ed7-111c-4824-adf9-ef0da6dad371}']
    function GetMediaText(aMediaText: nsAString): Longword; stdcall;
    function SetMediaText(const aMediaText: nsAString): Longword; stdcall;
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function Item(index: PRUint32; _retval: nsAString): nsresult; stdcall;
    function DeleteMedium(const oldMedium: nsAString): nsresult; stdcall;
    function AppendMedium(const newMedium: nsAString): nsresult; stdcall;
  end;

  nsIDOMUIEvent_std18 = interface(nsIDOMEvent_std18)
  ['{a6cf90c3-15b3-11d2-932e-00805f8add32}']
    function GetView(out aView: nsIDOMAbstractView_std18): Longword; stdcall;
    function GetDetail(out aDetail: PRInt32): Longword; stdcall;
    function InitUIEvent(const typeArg: nsAString; canBubbleArg: PRBool; cancelableArg: PRBool; viewArg: nsIDOMAbstractView_std18; detailArg: PRInt32): nsresult; stdcall;
  end;

  nsIDOMMouseEvent_std18 = interface(nsIDOMUIEvent_std18)
  ['{ff751edc-8b02-aae7-0010-8301838a3123}']
    function GetScreenX(out aScreenX: PRInt32): Longword; stdcall;
    function GetScreenY(out aScreenY: PRInt32): Longword; stdcall;
    function GetClientX(out aClientX: PRInt32): Longword; stdcall;
    function GetClientY(out aClientY: PRInt32): Longword; stdcall;
    function GetCtrlKey(out aCtrlKey: PRBool): Longword; stdcall;
    function GetShiftKey(out aShiftKey: PRBool): Longword; stdcall;
    function GetAltKey(out aAltKey: PRBool): Longword; stdcall;
    function GetMetaKey(out aMetaKey: PRBool): Longword; stdcall;
    function GetButton(out aButton: PRUint16): Longword; stdcall;
    function GetRelatedTarget(out aRelatedTarget: nsIDOMEventTarget_std18): Longword; stdcall;
    function InitMouseEvent(const typeArg: nsAString; canBubbleArg: PRBool; cancelableArg: PRBool; viewArg: nsIDOMAbstractView_std18; detailArg: PRInt32; screenXArg: PRInt32; screenYArg: PRInt32; clientXArg: PRInt32; clientYArg: PRInt32; ctrlKeyArg: PRBool; altKeyArg: PRBool; shiftKeyArg: PRBool; metaKeyArg: PRBool; buttonArg: PRUint16; relatedTargetArg: nsIDOMEventTarget_std18): nsresult; stdcall;
  end;

  nsIDOMNamedNodeMap_std18 = interface(nsISupports_std18)
  ['{a6cf907b-15b3-11d2-932e-00805f8add32}']
    function GetNamedItem(const name: nsAString; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function SetNamedItem(arg: nsIDOMNode_std18; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function RemoveNamedItem(const name: nsAString; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function Item(index: PRUint32; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function GetNamedItemNS(const namespaceURI: nsAString; const localName: nsAString; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function SetNamedItemNS(arg: nsIDOMNode_std18; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function RemoveNamedItemNS(const namespaceURI: nsAString; const localName: nsAString; out _retval: nsIDOMNode_std18): nsresult; stdcall;
  end;

  nsIDOMNodeList_std18 = interface(nsISupports_std18)
  ['{a6cf907d-15b3-11d2-932e-00805f8add32}']
    function Item(index: PRUint32; out _retval: nsIDOMNode_std18): nsresult; stdcall;
    function GetLength(out aLength: PRUint32): Longword; stdcall;
  end;

  nsIDOMNotation_std18 = interface(nsIDOMNode_std18)
  ['{a6cf907e-15b3-11d2-932e-00805f8add32}']
    function GetPublicId(aPublicId: nsAString): Longword; stdcall;
    function GetSystemId(aSystemId: nsAString): Longword; stdcall;
  end;

  nsIDOMNSDocumentStyle_std18 = interface(nsIDOMDocumentStyle_std18)
  ['{4ecdf254-a21e-47b0-8d72-55da8208299f}']
    function GetPreferredStylesheetSet(aPreferredStylesheetSet: nsAString): Longword; stdcall;
  end;

  nsIDOMProcessingInstruction_std18 = interface(nsIDOMNode_std18)
  ['{a6cf907f-15b3-11d2-932e-00805f8add32}']
    function GetTarget(aTarget: nsAString): Longword; stdcall;
    function GetData(aData: nsAString): Longword; stdcall;
    function SetData(const aData: nsAString): Longword; stdcall;
  end;

  nsIDOMRange_std18 = interface(nsISupports_std18)
  ['{a6cf90ce-15b3-11d2-932e-00805f8add32}']
    function GetStartContainer(out aStartContainer: nsIDOMNode_std18): Longword; stdcall;
    function GetStartOffset(out aStartOffset: PRInt32): Longword; stdcall;
    function GetEndContainer(out aEndContainer: nsIDOMNode_std18): Longword; stdcall;
    function GetEndOffset(out aEndOffset: PRInt32): Longword; stdcall;
    function GetCollapsed(out aCollapsed: PRBool): Longword; stdcall;
    function GetCommonAncestorContainer(out aCommonAncestorContainer: nsIDOMNode_std18): Longword; stdcall;
    function SetStart(refNode: nsIDOMNode_std18; offset: PRInt32): nsresult; stdcall;
    function SetEnd(refNode: nsIDOMNode_std18; offset: PRInt32): nsresult; stdcall;
    function SetStartBefore(refNode: nsIDOMNode_std18): nsresult; stdcall;
    function SetStartAfter(refNode: nsIDOMNode_std18): nsresult; stdcall;
    function SetEndBefore(refNode: nsIDOMNode_std18): nsresult; stdcall;
    function SetEndAfter(refNode: nsIDOMNode_std18): nsresult; stdcall;
    function Collapse(toStart: PRBool): nsresult; stdcall;
    function SelectNode(refNode: nsIDOMNode_std18): nsresult; stdcall;
    function SelectNodeContents(refNode: nsIDOMNode_std18): nsresult; stdcall;
    function CompareBoundaryPoints(how: PRUint16; sourceRange: nsIDOMRange_std18; out _retval: PRInt16): nsresult; stdcall;
    function DeleteContents(): nsresult; stdcall;
    function ExtractContents(out _retval: nsIDOMDocumentFragment_std18): nsresult; stdcall;
    function CloneContents(out _retval: nsIDOMDocumentFragment_std18): nsresult; stdcall;
    function InsertNode(newNode: nsIDOMNode_std18): nsresult; stdcall;
    function SurroundContents(newParent: nsIDOMNode_std18): nsresult; stdcall;
    function CloneRange(out _retval: nsIDOMRange_std18): nsresult; stdcall;
    function ToString(_retval: nsAString): nsresult; stdcall;
    function Detach(): nsresult; stdcall;
  end;

  nsIDOMRect_std18 = interface(nsISupports_std18)
  ['{71735f62-ac5c-4236-9a1f-5ffb280d531c}']
    function GetTop(out aTop: nsIDOMCSSPrimitiveValue_std18): Longword; stdcall;
    function GetRight(out aRight: nsIDOMCSSPrimitiveValue_std18): Longword; stdcall;
    function GetBottom(out aBottom: nsIDOMCSSPrimitiveValue_std18): Longword; stdcall;
    function GetLeft(out aLeft: nsIDOMCSSPrimitiveValue_std18): Longword; stdcall;
  end;

  nsIDOMRGBColor_std18 = interface(nsISupports_std18)
  ['{6aff3102-320d-4986-9790-12316bb87cf9}']
    function GetRed(out aRed: nsIDOMCSSPrimitiveValue_std18): Longword; stdcall;
    function GetGreen(out aGreen: nsIDOMCSSPrimitiveValue_std18): Longword; stdcall;
    function GetBlue(out aBlue: nsIDOMCSSPrimitiveValue_std18): Longword; stdcall;
  end;

  nsIDOMStyleSheetList_std18 = interface(nsISupports_std18)
  ['{a6cf9081-15b3-11d2-932e-00805f8add32}']
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function Item(index: PRUint32; out _retval: nsIDOMStyleSheet_std18): nsresult; stdcall;
  end;

  nsIDOMWindow_std18 = interface(nsISupports_std18)
  ['{a6cf906b-15b3-11d2-932e-00805f8add32}']
    function GetDocument(out aDocument: nsIDOMDocument_std18): Longword; stdcall;
    function GetParent(out aParent: nsIDOMWindow_std18): Longword; stdcall;
    function GetTop(out aTop: nsIDOMWindow_std18): Longword; stdcall;
    function GetScrollbars(out aScrollbars: nsIDOMBarProp_std18): Longword; stdcall;
    function GetFrames(out aFrames: nsIDOMWindowCollection_std18): Longword; stdcall;
    function GetName(aName: nsAString): Longword; stdcall;
    function SetName(const aName: nsAString): Longword; stdcall;
    function GetTextZoom(out aTextZoom: Single): Longword; stdcall;
    function SetTextZoom(aTextZoom: Single): Longword; stdcall;
    function GetScrollX(out aScrollX: PRInt32): Longword; stdcall;
    function GetScrollY(out aScrollY: PRInt32): Longword; stdcall;
    function ScrollTo(xScroll: PRInt32; yScroll: PRInt32): nsresult; stdcall;
    function ScrollBy(xScrollDif: PRInt32; yScrollDif: PRInt32): nsresult; stdcall;
    function GetSelection(out _retval: nsISelection_std18): nsresult; stdcall;
    function ScrollByLines(numLines: PRInt32): nsresult; stdcall;
    function ScrollByPages(numPages: PRInt32): nsresult; stdcall;
    function SizeToContent(): nsresult; stdcall;
  end;

  nsIDOMWindow2_std18 = interface(nsIDOMWindow_std18)
  ['{65455132-b96a-40ec-adea-52fa22b1028c}']
    function GetWindowRoot(out aWindowRoot: nsIDOMEventTarget_std18): Longword; stdcall;
  end;

  nsIDOMWindowCollection_std18 = interface(nsISupports_std18)
  ['{a6cf906f-15b3-11d2-932e-00805f8add32}']
    function GetLength(out aLength: PRUint32): Longword; stdcall;
    function Item(index: PRUint32; out _retval: nsIDOMWindow_std18): nsresult; stdcall;
    function NamedItem(const name: nsAString; out _retval: nsIDOMWindow_std18): nsresult; stdcall;
  end;

  nsIDOMWindowUtils_std18 = interface(nsISupports_std18)
  ['{8a157a4f-a81e-489f-baf2-bc8970d60472}']
    function GetImageAnimationMode(out aImageAnimationMode: PRUint16): Longword; stdcall;
    function SetImageAnimationMode(aImageAnimationMode: PRUint16): Longword; stdcall;
    function GetDocumentMetadata(const aName: nsAString; _retval: nsAString): nsresult; stdcall;
  end;

  nsIEmbeddingSiteWindow_std18 = interface(nsISupports_std18)
  ['{3e5432cd-9568-4bd1-8cbe-d50aba110743}']
    function SetDimensions(flags: PRUint32; x: PRInt32; y: PRInt32; cx: PRInt32; cy: PRInt32): nsresult; stdcall;
    function GetDimensions(flags: PRUint32; out x: PRInt32; out y: PRInt32; out cx: PRInt32; out cy: PRInt32): nsresult; stdcall;
    function SetFocus(): nsresult; stdcall;
    function GetVisibility(out aVisibility: PRBool): Longword; stdcall;
    function SetVisibility(aVisibility: PRBool): Longword; stdcall;
    function GetTitle(out aTitle: PWideChar): Longword; stdcall;
    function SetTitle(const aTitle: PWideChar): Longword; stdcall;
    function GetSiteWindow(out aSiteWindow: Pointer): Longword; stdcall;
  end;

  nsIFactory_std18 = interface(nsISupports_std18)
  ['{00000001-0000-0000-c000-000000000046}']
    function CreateInstance(aOuter: nsISupports_std18; const iid: TGUID; out _result): nsresult; stdcall;
    function LockFactory(lock: PRBool): nsresult; stdcall;
  end;

  nsIURI_std18 = interface(nsISupports_std18)
  ['{07a22cc0-0ce5-11d3-9331-00104ba0fd40}']
    function GetSpec(aSpec: nsACString): Longword; stdcall;
    function SetSpec(const aSpec: nsACString): Longword; stdcall;
    function GetPrePath(aPrePath: nsACString): Longword; stdcall;
    function GetScheme(aScheme: nsACString): Longword; stdcall;
    function SetScheme(const aScheme: nsACString): Longword; stdcall;
    function GetUserPass(aUserPass: nsACString): Longword; stdcall;
    function SetUserPass(const aUserPass: nsACString): Longword; stdcall;
    function GetUsername(aUsername: nsACString): Longword; stdcall;
    function SetUsername(const aUsername: nsACString): Longword; stdcall;
    function GetPassword(aPassword: nsACString): Longword; stdcall;
    function SetPassword(const aPassword: nsACString): Longword; stdcall;
    function GetHostPort(aHostPort: nsACString): Longword; stdcall;
    function SetHostPort(const aHostPort: nsACString): Longword; stdcall;
    function GetHost(aHost: nsACString): Longword; stdcall;
    function SetHost(const aHost: nsACString): Longword; stdcall;
    function GetPort(out aPort: PRInt32): Longword; stdcall;
    function SetPort(aPort: PRInt32): Longword; stdcall;
    function GetPath(aPath: nsACString): Longword; stdcall;
    function SetPath(const aPath: nsACString): Longword; stdcall;
    function Equals(other: nsIURI_std18; out _retval: PRBool): nsresult; stdcall;
    function SchemeIs(const scheme: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
    function Clone(out _retval: nsIURI_std18): nsresult; stdcall;
    function Resolve(const relativePath: nsACString; _retval: nsACString): nsresult; stdcall;
    function GetAsciiSpec(aAsciiSpec: nsACString): Longword; stdcall;
    function GetAsciiHost(aAsciiHost: nsACString): Longword; stdcall;
    function GetOriginCharset(aOriginCharset: nsACString): Longword; stdcall;
  end;

  nsIURL_std18 = interface(nsIURI_std18)
  ['{d6116970-8034-11d3-9399-00104ba0fd40}']
    function GetFilePath(aFilePath: nsACString): Longword; stdcall;
    function SetFilePath(const aFilePath: nsACString): Longword; stdcall;
    function GetParam(aParam: nsACString): Longword; stdcall;
    function SetParam(const aParam: nsACString): Longword; stdcall;
    function GetQuery(aQuery: nsACString): Longword; stdcall;
    function SetQuery(const aQuery: nsACString): Longword; stdcall;
    function GetRef(aRef: nsACString): Longword; stdcall;
    function SetRef(const aRef: nsACString): Longword; stdcall;
    function GetDirectory(aDirectory: nsACString): Longword; stdcall;
    function SetDirectory(const aDirectory: nsACString): Longword; stdcall;
    function GetFileName(aFileName: nsACString): Longword; stdcall;
    function SetFileName(const aFileName: nsACString): Longword; stdcall;
    function GetFileBaseName(aFileBaseName: nsACString): Longword; stdcall;
    function SetFileBaseName(const aFileBaseName: nsACString): Longword; stdcall;
    function GetFileExtension(aFileExtension: nsACString): Longword; stdcall;
    function SetFileExtension(const aFileExtension: nsACString): Longword; stdcall;
    function GetCommonBaseSpec(aURIToCompare: nsIURI_std18; _retval: nsACString): nsresult; stdcall;
    function GetRelativeSpec(aURIToCompare: nsIURI_std18; _retval: nsACString): nsresult; stdcall;
  end;

  nsIFileURL_std18 = interface(nsIURL_std18)
  ['{d26b2e2e-1dd1-11b2-88f3-8545a7ba7949}']
    function GetFile(out aFile: nsIFile_std18): Longword; stdcall;
    function SetFile(aFile: nsIFile_std18): Longword; stdcall;
  end;

  nsIGlobalHistory_std18 = interface(nsISupports_std18)
  ['{9491c383-e3c4-11d2-bdbe-0050040a9b44}']
    function AddPage(const aURL: PAnsiChar): nsresult; stdcall;
    function IsVisited(const aURL: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIHistoryEntry_std18 = interface(nsISupports_std18)
  ['{a41661d4-1417-11d5-9882-00c04fa02f40}']
    function GetURI(out aURI: nsIURI_std18): Longword; stdcall;
    function GetTitle(out aTitle: PWideChar): Longword; stdcall;
    function GetIsSubFrame(out aIsSubFrame: PRBool): Longword; stdcall;
  end;

  nsIHttpChannel_std18 = interface(nsIChannel_std18)
  ['{9277fe09-f0cc-4cd9-bbce-581dd94b0260}']
    function GetRequestMethod(aRequestMethod: nsACString): Longword; stdcall;
    function SetRequestMethod(const aRequestMethod: nsACString): Longword; stdcall;
    function GetReferrer(out aReferrer: nsIURI_std18): Longword; stdcall;
    function SetReferrer(aReferrer: nsIURI_std18): Longword; stdcall;
    function GetRequestHeader(const aHeader: nsACString; _retval: nsACString): nsresult; stdcall;
    function SetRequestHeader(const aHeader: nsACString; const aValue: nsACString; aMerge: PRBool): nsresult; stdcall;
    function VisitRequestHeaders(aVisitor: nsIHttpHeaderVisitor_std18): nsresult; stdcall;
    function GetAllowPipelining(out aAllowPipelining: PRBool): Longword; stdcall;
    function SetAllowPipelining(aAllowPipelining: PRBool): Longword; stdcall;
    function GetRedirectionLimit(out aRedirectionLimit: PRUint32): Longword; stdcall;
    function SetRedirectionLimit(aRedirectionLimit: PRUint32): Longword; stdcall;
    function GetResponseStatus(out aResponseStatus: PRUint32): Longword; stdcall;
    function GetResponseStatusText(aResponseStatusText: nsACString): Longword; stdcall;
    function GetRequestSucceeded(out aRequestSucceeded: PRBool): Longword; stdcall;
    function GetResponseHeader(const header: nsACString; _retval: nsACString): nsresult; stdcall;
    function SetResponseHeader(const header: nsACString; const value: nsACString; merge: PRBool): nsresult; stdcall;
    function VisitResponseHeaders(aVisitor: nsIHttpHeaderVisitor_std18): nsresult; stdcall;
    function IsNoStoreResponse(out _retval: PRBool): nsresult; stdcall;
    function IsNoCacheResponse(out _retval: PRBool): nsresult; stdcall;
  end;

  nsIHttpHeaderVisitor_std18 = interface(nsISupports_std18)
  ['{0cf40717-d7c1-4a94-8c1e-d6c9734101bb}']
    function VisitHeader(const aHeader: nsACString; const aValue: nsACString): nsresult; stdcall;
  end;

  nsIInputStream_std18 = interface(nsISupports_std18)
  ['{fa9c7f6c-61b3-11d4-9877-00c04fa0cf4a}']
    function Close(): nsresult; stdcall;
    function Available(out _retval: PRUint32): nsresult; stdcall;
    function Read(aBuf: Pchar; aCount: PRUint32; out _retval: PRUint32): nsresult; stdcall;
    function ReadSegments(aWriter: nsWriteSegmentFun; aClosure: Pointer; aCount: PRUint32; out _retval: PRUint32): nsresult; stdcall;
    function IsNonBlocking(out _retval: PRBool): nsresult; stdcall;
  end;

  nsIInterfaceRequestor_std18 = interface(nsISupports_std18)
  ['{033a1470-8b2a-11d3-af88-00a024ffc08c}']
    function GetInterface(const uuid: TGUID; out _result): nsresult; stdcall;
  end;

  nsIIOService_std18 = interface(nsISupports_std18)
  ['{bddeda3f-9020-4d12-8c70-984ee9f7935e}']
    function GetProtocolHandler(const aScheme: PAnsiChar; out _retval: nsIProtocolHandler_std18): nsresult; stdcall;
    function GetProtocolFlags(const aScheme: PAnsiChar; out _retval: PRUint32): nsresult; stdcall;
    function NewURI(const aSpec: nsACString; const aOriginCharset: PAnsiChar; aBaseURI: nsIURI_std18; out _retval: nsIURI_std18): nsresult; stdcall;
    function NewFileURI(aFile: nsIFile_std18; out _retval: nsIURI_std18): nsresult; stdcall;
    function NewChannelFromURI(aURI: nsIURI_std18; out _retval: nsIChannel_std18): nsresult; stdcall;
    function NewChannel(const aSpec: nsACString; const aOriginCharset: PAnsiChar; aBaseURI: nsIURI_std18; out _retval: nsIChannel_std18): nsresult; stdcall;
    function GetOffline(out aOffline: PRBool): Longword; stdcall;
    function SetOffline(aOffline: PRBool): Longword; stdcall;
    function AllowPort(aPort: PRInt32; const aScheme: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
    function ExtractScheme(const urlString: nsACString; _retval: nsACString): nsresult; stdcall;
  end;

  nsILoadGroup_std18 = interface(nsIRequest_std18)
  ['{3de0a31c-feaf-400f-9f1e-4ef71f8b20cc}']
    function GetGroupObserver(out aGroupObserver: nsIRequestObserver_std18): Longword; stdcall;
    function SetGroupObserver(aGroupObserver: nsIRequestObserver_std18): Longword; stdcall;
    function GetDefaultLoadRequest(out aDefaultLoadRequest: nsIRequest_std18): Longword; stdcall;
    function SetDefaultLoadRequest(aDefaultLoadRequest: nsIRequest_std18): Longword; stdcall;
    function AddRequest(aRequest: nsIRequest_std18; aContext: nsISupports_std18): nsresult; stdcall;
    function RemoveRequest(aRequest: nsIRequest_std18; aContext: nsISupports_std18; aStatus: nsresult): nsresult; stdcall;
    function GetRequests(out aRequests: nsISimpleEnumerator_std18): Longword; stdcall;
    function GetActiveCount(out aActiveCount: PRUint32): Longword; stdcall;
    function GetNotificationCallbacks(out aNotificationCallbacks: nsIInterfaceRequestor_std18): Longword; stdcall;
    function SetNotificationCallbacks(aNotificationCallbacks: nsIInterfaceRequestor_std18): Longword; stdcall;
  end;

  nsILocalFile_std18 = interface(nsIFile_std18)
  ['{aa610f20-a889-11d3-8c81-000064657374}']
    function InitWithPath(const filePath: nsAString): nsresult; stdcall;
    function InitWithNativePath(const filePath: nsACString): nsresult; stdcall;
    function InitWithFile(aFile: nsILocalFile_std18): nsresult; stdcall;
    function GetFollowLinks(out aFollowLinks: PRBool): Longword; stdcall;
    function SetFollowLinks(aFollowLinks: PRBool): Longword; stdcall;
    function OpenNSPRFileDesc(flags: PRInt32; mode: PRInt32; out _retval: PPRFileDesc): nsresult; stdcall;
    function OpenANSIFileDesc(const mode: PAnsiChar; out _retval: PFILE): nsresult; stdcall;
    function Load(out _retval: PPRLibrary): nsresult; stdcall;
    function GetDiskSpaceAvailable(out aDiskSpaceAvailable: PRInt64): Longword; stdcall;
    function AppendRelativePath(const relativeFilePath: nsAString): nsresult; stdcall;
    function AppendRelativeNativePath(const relativeFilePath: nsACString): nsresult; stdcall;
    function GetPersistentDescriptor(aPersistentDescriptor: nsACString): Longword; stdcall;
    function SetPersistentDescriptor(const aPersistentDescriptor: nsACString): Longword; stdcall;
    function Reveal(): nsresult; stdcall;
    function Launch(): nsresult; stdcall;
    function GetRelativeDescriptor(fromFile: nsILocalFile_std18; _retval: nsACString): nsresult; stdcall;
    function SetRelativeDescriptor(fromFile: nsILocalFile_std18; const relativeDesc: nsACString): nsresult; stdcall;
  end;

  nsIMemory_std18 = interface(nsISupports_std18)
  ['{59e7e77a-38e4-11d4-8cf5-0060b0fc14a3}']
    function Alloc(size: size_t): Pointer; stdcall;
    function Realloc(ptr: Pointer; newSize: size_t): Pointer; stdcall;
    procedure Free(ptr: Pointer); stdcall;
    function HeapMinimize(immediate: PRBool): nsresult; stdcall;
    function IsLowMemory(out _retval: PRBool): nsresult; stdcall;
  end;

  nsIModule_std18 = interface(nsISupports_std18)
  ['{7392d032-5371-11d3-994e-00805fd26fee}']
    function GetClassObject(aCompMgr: nsIComponentManager_std18; const aClass: TGUID; const aIID: TGUID; out aResult): nsresult; stdcall;
    function RegisterSelf(aCompMgr: nsIComponentManager_std18; aLocation: nsIFile_std18; const aLoaderStr: PAnsiChar; const aType: PAnsiChar): nsresult; stdcall;
    function UnregisterSelf(aCompMgr: nsIComponentManager_std18; aLocation: nsIFile_std18; const aLoaderStr: PAnsiChar): nsresult; stdcall;
    function CanUnload(aCompMgr: nsIComponentManager_std18; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIObserver_std18 = interface(nsISupports_std18)
  ['{db242e01-e4d9-11d2-9dde-000064657374}']
    function Observe(aSubject: nsISupports_std18; const aTopic: PAnsiChar; const aData: PWideChar): nsresult; stdcall;
  end;

  nsIObserverService_std18 = interface(nsISupports_std18)
  ['{d07f5192-e3d1-11d2-8acd-00105a1b8860}']
    function AddObserver(anObserver: nsIObserver_std18; const aTopic: PAnsiChar; ownsWeak: PRBool): nsresult; stdcall;
    function RemoveObserver(anObserver: nsIObserver_std18; const aTopic: PAnsiChar): nsresult; stdcall;
    function NotifyObservers(aSubject: nsISupports_std18; const aTopic: PAnsiChar; const someData: PWideChar): nsresult; stdcall;
    function EnumerateObservers(const aTopic: PAnsiChar; out _retval: nsISimpleEnumerator_std18): nsresult; stdcall;
  end;

  nsIOutputStream_std18 = interface(nsISupports_std18)
  ['{0d0acd2a-61b4-11d4-9877-00c04fa0cf4a}']
    function Close(): nsresult; stdcall;
    function Flush(): nsresult; stdcall;
    function Write(const aBuf: PAnsiChar; aCount: PRUint32; out _retval: PRUint32): nsresult; stdcall;
    function WriteFrom(aFromStream: nsIInputStream_std18; aCount: PRUint32; out _retval: PRUint32): nsresult; stdcall;
    function WriteSegments(aReader: nsReadSegmentFun; aClosure: Pointer; aCount: PRUint32; out _retval: PRUint32): nsresult; stdcall;
    function IsNonBlocking(out _retval: PRBool): nsresult; stdcall;
  end;

  nsIPrefBranch_std18 = interface(nsISupports_std18)
  ['{56c35506-f14b-11d3-99d3-ddbfac2ccf65}']
    function GetRoot(out aRoot: PAnsiChar): Longword; stdcall;
    function GetPrefType(const aPrefName: PAnsiChar; out _retval: PRInt32): nsresult; stdcall;
    function GetBoolPref(const aPrefName: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
    function SetBoolPref(const aPrefName: PAnsiChar; aValue: PRInt32): nsresult; stdcall;
    function GetCharPref(const aPrefName: PAnsiChar; out _retval: PAnsiChar): nsresult; stdcall;
    function SetCharPref(const aPrefName: PAnsiChar; const aValue: PAnsiChar): nsresult; stdcall;
    function GetIntPref(const aPrefName: PAnsiChar; out _retval: PRInt32): nsresult; stdcall;
    function SetIntPref(const aPrefName: PAnsiChar; aValue: PRInt32): nsresult; stdcall;
    function GetComplexValue(const aPrefName: PAnsiChar; const aType: TGUID; out aValue): nsresult; stdcall;
    function SetComplexValue(const aPrefName: PAnsiChar; const aType: TGUID; aValue: nsISupports_std18): nsresult; stdcall;
    function ClearUserPref(const aPrefName: PAnsiChar): nsresult; stdcall;
    function LockPref(const aPrefName: PAnsiChar): nsresult; stdcall;
    function PrefHasUserValue(const aPrefName: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
    function PrefIsLocked(const aPrefName: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
    function UnlockPref(const aPrefName: PAnsiChar): nsresult; stdcall;
    function DeleteBranch(const aStartingAt: PAnsiChar): nsresult; stdcall;
    function GetChildList(const aStartingAt: PAnsiChar; out aCount: PRUint32; out aChildArray_array): nsresult; stdcall;
    function ResetBranch(const aStartingAt: PAnsiChar): nsresult; stdcall;
  end;

  nsIPrefBranch2_std18 = interface(nsIPrefBranch_std18)
  ['{74567534-eb94-4b1c-8f45-389643bfc555}']
    function AddObserver(const aDomain: PAnsiChar; aObserver: nsIObserver_std18; aHoldWeak: PRBool): nsresult; stdcall;
    function RemoveObserver(const aDomain: PAnsiChar; aObserver: nsIObserver_std18): nsresult; stdcall;
  end;

  nsIPrefLocalizedString_std18 = interface(nsISupports_std18)
  ['{ae419e24-1dd1-11b2-b39a-d3e5e7073802}']
    function GetData(out aData: PWideChar): Longword; stdcall;
    function SetData(const aData: PWideChar): Longword; stdcall;
    function ToString(out _retval: PWideChar): nsresult; stdcall;
    function SetDataWithLength(length: PRUint32; const data: PWideChar): nsresult; stdcall;
  end;

  nsIPrefService_std18 = interface(nsISupports_std18)
  ['{decb9cc7-c08f-4ea5-be91-a8fc637ce2d2}']
    function ReadUserPrefs(aFile: nsIFile_std18): nsresult; stdcall;
    function ResetPrefs(): nsresult; stdcall;
    function ResetUserPrefs(): nsresult; stdcall;
    function SavePrefFile(aFile: nsIFile_std18): nsresult; stdcall;
    function GetBranch(const aPrefRoot: PAnsiChar; out _retval: nsIPrefBranch_std18): nsresult; stdcall;
    function GetDefaultBranch(const aPrefRoot: PAnsiChar; out _retval: nsIPrefBranch_std18): nsresult; stdcall;
  end;

  nsIPrintSession_std18 = interface(nsISupports_std18)
  ['{2f977d52-5485-11d4-87e2-0010a4e75ef2}']
  end;

  nsIPrintSettings_std18 = interface(nsISupports_std18)
  ['{f1094df6-ce0e-42c9-9847-2f663172c38d}']
    function SetPrintOptions(aType: PRInt32; aTurnOnOff: PRBool): nsresult; stdcall;
    function GetPrintOptions(aType: PRInt32; out _retval: PRBool): nsresult; stdcall;
    function GetPrintOptionsBits(out _retval: PRInt32): nsresult; stdcall;
    function GetPageSizeInTwips(out aWidth: PRInt32; out aHeight: PRInt32): nsresult; stdcall;
    function Clone(out _retval: nsIPrintSettings_std18): nsresult; stdcall;
    function Assign(aPS: nsIPrintSettings_std18): nsresult; stdcall;
    function GetPrintSession(out aPrintSession: nsIPrintSession_std18): Longword; stdcall;
    function SetPrintSession(aPrintSession: nsIPrintSession_std18): Longword; stdcall;
    function GetStartPageRange(out aStartPageRange: PRInt32): Longword; stdcall;
    function SetStartPageRange(aStartPageRange: PRInt32): Longword; stdcall;
    function GetEndPageRange(out aEndPageRange: PRInt32): Longword; stdcall;
    function SetEndPageRange(aEndPageRange: PRInt32): Longword; stdcall;
    function GetMarginTop(out aMarginTop: Double): Longword; stdcall;
    function SetMarginTop(aMarginTop: Double): Longword; stdcall;
    function GetMarginLeft(out aMarginLeft: Double): Longword; stdcall;
    function SetMarginLeft(aMarginLeft: Double): Longword; stdcall;
    function GetMarginBottom(out aMarginBottom: Double): Longword; stdcall;
    function SetMarginBottom(aMarginBottom: Double): Longword; stdcall;
    function GetMarginRight(out aMarginRight: Double): Longword; stdcall;
    function SetMarginRight(aMarginRight: Double): Longword; stdcall;
    function GetScaling(out aScaling: Double): Longword; stdcall;
    function SetScaling(aScaling: Double): Longword; stdcall;
    function GetPrintBGColors(out aPrintBGColors: PRBool): Longword; stdcall;
    function SetPrintBGColors(aPrintBGColors: PRBool): Longword; stdcall;
    function GetPrintBGImages(out aPrintBGImages: PRBool): Longword; stdcall;
    function SetPrintBGImages(aPrintBGImages: PRBool): Longword; stdcall;
    function GetPrintRange(out aPrintRange: PRInt16): Longword; stdcall;
    function SetPrintRange(aPrintRange: PRInt16): Longword; stdcall;
    function GetTitle(out aTitle: PWideChar): Longword; stdcall;
    function SetTitle(const aTitle: PWideChar): Longword; stdcall;
    function GetDocURL(out aDocURL: PWideChar): Longword; stdcall;
    function SetDocURL(const aDocURL: PWideChar): Longword; stdcall;
    function GetHeaderStrLeft(out aHeaderStrLeft: PWideChar): Longword; stdcall;
    function SetHeaderStrLeft(const aHeaderStrLeft: PWideChar): Longword; stdcall;
    function GetHeaderStrCenter(out aHeaderStrCenter: PWideChar): Longword; stdcall;
    function SetHeaderStrCenter(const aHeaderStrCenter: PWideChar): Longword; stdcall;
    function GetHeaderStrRight(out aHeaderStrRight: PWideChar): Longword; stdcall;
    function SetHeaderStrRight(const aHeaderStrRight: PWideChar): Longword; stdcall;
    function GetFooterStrLeft(out aFooterStrLeft: PWideChar): Longword; stdcall;
    function SetFooterStrLeft(const aFooterStrLeft: PWideChar): Longword; stdcall;
    function GetFooterStrCenter(out aFooterStrCenter: PWideChar): Longword; stdcall;
    function SetFooterStrCenter(const aFooterStrCenter: PWideChar): Longword; stdcall;
    function GetFooterStrRight(out aFooterStrRight: PWideChar): Longword; stdcall;
    function SetFooterStrRight(const aFooterStrRight: PWideChar): Longword; stdcall;
    function GetHowToEnableFrameUI(out aHowToEnableFrameUI: PRInt16): Longword; stdcall;
    function SetHowToEnableFrameUI(aHowToEnableFrameUI: PRInt16): Longword; stdcall;
    function GetIsCancelled(out aIsCancelled: PRBool): Longword; stdcall;
    function SetIsCancelled(aIsCancelled: PRBool): Longword; stdcall;
    function GetPrintFrameTypeUsage(out aPrintFrameTypeUsage: PRInt16): Longword; stdcall;
    function SetPrintFrameTypeUsage(aPrintFrameTypeUsage: PRInt16): Longword; stdcall;
    function GetPrintFrameType(out aPrintFrameType: PRInt16): Longword; stdcall;
    function SetPrintFrameType(aPrintFrameType: PRInt16): Longword; stdcall;
    function GetPrintSilent(out aPrintSilent: PRBool): Longword; stdcall;
    function SetPrintSilent(aPrintSilent: PRBool): Longword; stdcall;
    function GetShrinkToFit(out aShrinkToFit: PRBool): Longword; stdcall;
    function SetShrinkToFit(aShrinkToFit: PRBool): Longword; stdcall;
    function GetShowPrintProgress(out aShowPrintProgress: PRBool): Longword; stdcall;
    function SetShowPrintProgress(aShowPrintProgress: PRBool): Longword; stdcall;
    function GetPaperName(out aPaperName: PWideChar): Longword; stdcall;
    function SetPaperName(const aPaperName: PWideChar): Longword; stdcall;
    function GetPaperSizeType(out aPaperSizeType: PRInt16): Longword; stdcall;
    function SetPaperSizeType(aPaperSizeType: PRInt16): Longword; stdcall;
    function GetPaperData(out aPaperData: PRInt16): Longword; stdcall;
    function SetPaperData(aPaperData: PRInt16): Longword; stdcall;
    function GetPaperWidth(out aPaperWidth: Double): Longword; stdcall;
    function SetPaperWidth(aPaperWidth: Double): Longword; stdcall;
    function GetPaperHeight(out aPaperHeight: Double): Longword; stdcall;
    function SetPaperHeight(aPaperHeight: Double): Longword; stdcall;
    function GetPaperSizeUnit(out aPaperSizeUnit: PRInt16): Longword; stdcall;
    function SetPaperSizeUnit(aPaperSizeUnit: PRInt16): Longword; stdcall;
    function GetPlexName(out aPlexName: PWideChar): Longword; stdcall;
    function SetPlexName(const aPlexName: PWideChar): Longword; stdcall;
    function GetColorspace(out aColorspace: PWideChar): Longword; stdcall;
    function SetColorspace(const aColorspace: PWideChar): Longword; stdcall;
    function GetResolutionName(out aResolutionName: PWideChar): Longword; stdcall;
    function SetResolutionName(const aResolutionName: PWideChar): Longword; stdcall;
    function GetDownloadFonts(out aDownloadFonts: PRBool): Longword; stdcall;
    function SetDownloadFonts(aDownloadFonts: PRBool): Longword; stdcall;
    function GetPrintReversed(out aPrintReversed: PRBool): Longword; stdcall;
    function SetPrintReversed(aPrintReversed: PRBool): Longword; stdcall;
    function GetPrintInColor(out aPrintInColor: PRBool): Longword; stdcall;
    function SetPrintInColor(aPrintInColor: PRBool): Longword; stdcall;
    function GetPaperSize(out aPaperSize: PRInt32): Longword; stdcall;
    function SetPaperSize(aPaperSize: PRInt32): Longword; stdcall;
    function GetOrientation(out aOrientation: PRInt32): Longword; stdcall;
    function SetOrientation(aOrientation: PRInt32): Longword; stdcall;
    function GetPrintCommand(out aPrintCommand: PWideChar): Longword; stdcall;
    function SetPrintCommand(const aPrintCommand: PWideChar): Longword; stdcall;
    function GetNumCopies(out aNumCopies: PRInt32): Longword; stdcall;
    function SetNumCopies(aNumCopies: PRInt32): Longword; stdcall;
    function GetPrinterName(out aPrinterName: PWideChar): Longword; stdcall;
    function SetPrinterName(const aPrinterName: PWideChar): Longword; stdcall;
    function GetPrintToFile(out aPrintToFile: PRBool): Longword; stdcall;
    function SetPrintToFile(aPrintToFile: PRBool): Longword; stdcall;
    function GetToFileName(out aToFileName: PWideChar): Longword; stdcall;
    function SetToFileName(const aToFileName: PWideChar): Longword; stdcall;
    function GetPrintPageDelay(out aPrintPageDelay: PRInt32): Longword; stdcall;
    function SetPrintPageDelay(aPrintPageDelay: PRInt32): Longword; stdcall;
    function GetIsInitializedFromPrinter(out aIsInitializedFromPrinter: PRBool): Longword; stdcall;
    function SetIsInitializedFromPrinter(aIsInitializedFromPrinter: PRBool): Longword; stdcall;
    function GetIsInitializedFromPrefs(out aIsInitializedFromPrefs: PRBool): Longword; stdcall;
    function SetIsInitializedFromPrefs(aIsInitializedFromPrefs: PRBool): Longword; stdcall;
    function SetMarginInTwips(var aMargin: nsMargin): nsresult; stdcall;
    function GetMarginInTwips(var aMargin: nsMargin): nsresult; stdcall;
  end;

  nsIProfile_std18 = interface(nsISupports_std18)
  ['{02b0625a-e7f3-11d2-9f5a-006008a6efe9}']
    function GetProfileCount(out aProfileCount: PRInt32): Longword; stdcall;
    function GetProfileList(out length: PRUint32; out profileNames_array): nsresult; stdcall;
    function ProfileExists(const profileName: PWideChar; out _retval: PRBool): nsresult; stdcall;
    function GetCurrentProfile(out aCurrentProfile: PWideChar): Longword; stdcall;
    function SetCurrentProfile(const aCurrentProfile: PWideChar): Longword; stdcall;
    function ShutDownCurrentProfile(shutDownType: PRUint32): nsresult; stdcall;
    function CreateNewProfile(const profileName: PWideChar; const nativeProfileDir: PWideChar; const langcode: PWideChar; useExistingDir: PRBool): nsresult; stdcall;
    function RenameProfile(const oldName: PWideChar; const newName: PWideChar): nsresult; stdcall;
    function DeleteProfile(const name: PWideChar; canDeleteFiles: PRBool): nsresult; stdcall;
    function CloneProfile(const profileName: PWideChar): nsresult; stdcall;
  end;

  nsIProfileChangeStatus_std18 = interface(nsISupports_std18)
  ['{2f977d43-5485-11d4-87e2-0010a4e75ef2}']
    function VetoChange(): nsresult; stdcall;
    function ChangeFailed(): nsresult; stdcall;
  end;

  nsIPrompt_std18 = interface(nsISupports_std18)
  ['{a63f70c0-148b-11d3-9333-00104ba0fd40}']
    function Alert(const dialogTitle: PWideChar; const text: PWideChar): nsresult; stdcall;
    function AlertCheck(const dialogTitle: PWideChar; const text: PWideChar; const checkMsg: PWideChar; out checkValue: PRBool): nsresult; stdcall;
    function Confirm(const dialogTitle: PWideChar; const text: PWideChar; out _retval: PRBool): nsresult; stdcall;
    function ConfirmCheck(const dialogTitle: PWideChar; const text: PWideChar; const checkMsg: PWideChar; out checkValue: PRBool; out _retval: PRBool): nsresult; stdcall;
    function ConfirmEx(const dialogTitle: PWideChar; const text: PWideChar; buttonFlags: PRUint32; const button0Title: PWideChar; const button1Title: PWideChar; const button2Title: PWideChar; const checkMsg: PWideChar; out checkValue: PRBool; out _retval: PRInt32): nsresult; stdcall;
    function Prompt(const dialogTitle: PWideChar; const text: PWideChar; out value: PWideChar; const checkMsg: PWideChar; out checkValue: PRBool; out _retval: PRBool): nsresult; stdcall;
    function PromptPassword(const dialogTitle: PWideChar; const text: PWideChar; out password: PWideChar; const checkMsg: PWideChar; out checkValue: PRBool; out _retval: PRBool): nsresult; stdcall;
    function PromptUsernameAndPassword(const dialogTitle: PWideChar; const text: PWideChar; out username: PWideChar; out password: PWideChar; const checkMsg: PWideChar; out checkValue: PRBool; out _retval: PRBool): nsresult; stdcall;
    function Select(const dialogTitle: PWideChar; const text: PWideChar; count: PRUint32; const selectList_array; out outSelection: PRInt32; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIPromptService_std18 = interface(nsISupports_std18)
  ['{1630c61a-325e-49ca-8759-a31b16c47aa5}']
    function Alert(aParent: nsIDOMWindow_std18; const aDialogTitle: PWideChar; const aText: PWideChar): nsresult; stdcall;
    function AlertCheck(aParent: nsIDOMWindow_std18; const aDialogTitle: PWideChar; const aText: PWideChar; const aCheckMsg: PWideChar; out aCheckState: PRBool): nsresult; stdcall;
    function Confirm(aParent: nsIDOMWindow_std18; const aDialogTitle: PWideChar; const aText: PWideChar; out _retval: PRBool): nsresult; stdcall;
    function ConfirmCheck(aParent: nsIDOMWindow_std18; const aDialogTitle: PWideChar; const aText: PWideChar; const aCheckMsg: PWideChar; out aCheckState: PRBool; out _retval: PRBool): nsresult; stdcall;
    function ConfirmEx(aParent: nsIDOMWindow_std18; const aDialogTitle: PWideChar; const aText: PWideChar; aButtonFlags: PRUint32; const aButton0Title: PWideChar; const aButton1Title: PWideChar; const aButton2Title: PWideChar; const aCheckMsg: PWideChar; out aCheckState: PRBool; out _retval: PRInt32): nsresult; stdcall;
    function Prompt(aParent: nsIDOMWindow_std18; const aDialogTitle: PWideChar; const aText: PWideChar; out aValue: PWideChar; const aCheckMsg: PWideChar; out aCheckState: PRBool; out _retval: PRBool): nsresult; stdcall;
    function PromptUsernameAndPassword(aParent: nsIDOMWindow_std18; const aDialogTitle: PWideChar; const aText: PWideChar; out aUsername: PWideChar; out aPassword: PWideChar; const aCheckMsg: PWideChar; out aCheckState: PRBool; out _retval: PRBool): nsresult; stdcall;
    function PromptPassword(aParent: nsIDOMWindow_std18; const aDialogTitle: PWideChar; const aText: PWideChar; out aPassword: PWideChar; const aCheckMsg: PWideChar; out aCheckState: PRBool; out _retval: PRBool): nsresult; stdcall;
    function Select(aParent: nsIDOMWindow_std18; const aDialogTitle: PWideChar; const aText: PWideChar; aCount: PRUint32; const aSelectList_array; out aOutSelection: PRInt32; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIProperties_std18 = interface(nsISupports_std18)
  ['{78650582-4e93-4b60-8e85-26ebd3eb14ca}']
    function Get(const prop: PAnsiChar; const iid: TGUID; out _result): nsresult; stdcall;
    function _Set(const prop: PAnsiChar; value: nsISupports_std18): nsresult; stdcall;
    function Has(const prop: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
    function Undefine(const prop: PAnsiChar): nsresult; stdcall;
    function GetKeys(out count: PRUint32; out keys_array): nsresult; stdcall;
  end;

  nsIProtocolHandler_std18 = interface(nsISupports_std18)
  ['{15fd6940-8ea7-11d3-93ad-00104ba0fd40}']
    function GetScheme(aScheme: nsACString): Longword; stdcall;
    function GetDefaultPort(out aDefaultPort: PRInt32): Longword; stdcall;
    function GetProtocolFlags(out aProtocolFlags: PRUint32): Longword; stdcall;
    function NewURI(const aSpec: nsACString; const aOriginCharset: PAnsiChar; aBaseURI: nsIURI_std18; out _retval: nsIURI_std18): nsresult; stdcall;
    function NewChannel(aURI: nsIURI_std18; out _retval: nsIChannel_std18): nsresult; stdcall;
    function AllowPort(port: PRInt32; const scheme: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIRequestObserver_std18 = interface(nsISupports_std18)
  ['{fd91e2e0-1481-11d3-9333-00104ba0fd40}']
    function OnStartRequest(aRequest: nsIRequest_std18; aContext: nsISupports_std18): nsresult; stdcall;
    function OnStopRequest(aRequest: nsIRequest_std18; aContext: nsISupports_std18; aStatusCode: nsresult): nsresult; stdcall;
  end;

  nsIScriptableInputStream_std18 = interface(nsISupports_std18)
  ['{a2a32f90-9b90-11d3-a189-0050041caf44}']
    function Close(): nsresult; stdcall;
    function Init(aInputStream: nsIInputStream_std18): nsresult; stdcall;
    function Available(out _retval: PRUint32): nsresult; stdcall;
    function Read(aCount: PRUint32; out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISecurityWarningDialogs_std18 = interface(nsISupports_std18)
  ['{1c399d06-1dd2-11b2-bc58-c87cbcacdb78}']
    function ConfirmEnteringSecure(ctx: nsIInterfaceRequestor_std18; out _retval: PRBool): nsresult; stdcall;
    function ConfirmEnteringWeak(ctx: nsIInterfaceRequestor_std18; out _retval: PRBool): nsresult; stdcall;
    function ConfirmLeavingSecure(ctx: nsIInterfaceRequestor_std18; out _retval: PRBool): nsresult; stdcall;
    function ConfirmMixedMode(ctx: nsIInterfaceRequestor_std18; out _retval: PRBool): nsresult; stdcall;
    function ConfirmPostToInsecure(ctx: nsIInterfaceRequestor_std18; out _retval: PRBool): nsresult; stdcall;
    function ConfirmPostToInsecureFromSecure(ctx: nsIInterfaceRequestor_std18; out _retval: PRBool): nsresult; stdcall;
  end;

  nsISelection_std18 = interface(nsISupports_std18)
  ['{b2c7ed59-8634-4352-9e37-5484c8b6e4e1}']
    function GetAnchorNode(out aAnchorNode: nsIDOMNode_std18): Longword; stdcall;
    function GetAnchorOffset(out aAnchorOffset: PRInt32): Longword; stdcall;
    function GetFocusNode(out aFocusNode: nsIDOMNode_std18): Longword; stdcall;
    function GetFocusOffset(out aFocusOffset: PRInt32): Longword; stdcall;
    function GetIsCollapsed(out aIsCollapsed: PRBool): Longword; stdcall;
    function GetRangeCount(out aRangeCount: PRInt32): Longword; stdcall;
    function GetRangeAt(index: PRInt32; out _retval: nsIDOMRange_std18): nsresult; stdcall;
    function Collapse(parentNode: nsIDOMNode_std18; offset: PRInt32): nsresult; stdcall;
    function Extend(parentNode: nsIDOMNode_std18; offset: PRInt32): nsresult; stdcall;
    function CollapseToStart(): nsresult; stdcall;
    function CollapseToEnd(): nsresult; stdcall;
    function ContainsNode(node: nsIDOMNode_std18; entirelyContained: PRBool; out _retval: PRBool): nsresult; stdcall;
    function SelectAllChildren(parentNode: nsIDOMNode_std18): nsresult; stdcall;
    function AddRange(range: nsIDOMRange_std18): nsresult; stdcall;
    function RemoveRange(range: nsIDOMRange_std18): nsresult; stdcall;
    function RemoveAllRanges(): nsresult; stdcall;
    function DeleteFromDocument(): nsresult; stdcall;
    function SelectionLanguageChange(langRTL: PRBool): nsresult; stdcall;
    function ToString(out _retval: PWideChar): nsresult; stdcall;
  end;

  nsIServiceManager_std18 = interface(nsISupports_std18)
  ['{8bb35ed9-e332-462d-9155-4a002ab5c958}']
    function GetService(const aClass: TGUID; const aIID: TGUID; out _result): nsresult; stdcall;
    function GetServiceByContractID(const aContractID: PAnsiChar; const aIID: TGUID; out _result): nsresult; stdcall;
    function IsServiceInstantiated(const aClass: TGUID; const aIID: TGUID; out _retval: PRBool): nsresult; stdcall;
    function IsServiceInstantiatedByContractID(const aContractID: PAnsiChar; const aIID: TGUID; out _retval: PRBool): nsresult; stdcall;
  end;

  nsISHistory_std18 = interface(nsISupports_std18)
  ['{7294fe9b-14d8-11d5-9882-00c04fa02f40}']
    function GetCount(out aCount: PRInt32): Longword; stdcall;
    function GetIndex(out aIndex: PRInt32): Longword; stdcall;
    function GetMaxLength(out aMaxLength: PRInt32): Longword; stdcall;
    function SetMaxLength(aMaxLength: PRInt32): Longword; stdcall;
    function GetEntryAtIndex(index: PRInt32; modifyIndex: PRBool; out _retval: nsIHistoryEntry_std18): nsresult; stdcall;
    function PurgeHistory(numEntries: PRInt32): nsresult; stdcall;
    function AddSHistoryListener(aListener: nsISHistoryListener_std18): nsresult; stdcall;
    function RemoveSHistoryListener(aListener: nsISHistoryListener_std18): nsresult; stdcall;
    function GetSHistoryEnumerator(out aSHistoryEnumerator: nsISimpleEnumerator_std18): Longword; stdcall;
  end;

  nsISHistoryListener_std18 = interface(nsISupports_std18)
  ['{3b07f591-e8e1-11d4-9882-00c04fa02f40}']
    function OnHistoryNewEntry(aNewURI: nsIURI_std18): nsresult; stdcall;
    function OnHistoryGoBack(aBackURI: nsIURI_std18; out _retval: PRBool): nsresult; stdcall;
    function OnHistoryGoForward(aForwardURI: nsIURI_std18; out _retval: PRBool): nsresult; stdcall;
    function OnHistoryReload(aReloadURI: nsIURI_std18; aReloadFlags: PRUint32; out _retval: PRBool): nsresult; stdcall;
    function OnHistoryGotoIndex(aIndex: PRInt32; aGotoURI: nsIURI_std18; out _retval: PRBool): nsresult; stdcall;
    function OnHistoryPurge(aNumEntries: PRInt32; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIStreamListener_std18 = interface(nsIRequestObserver_std18)
  ['{1a637020-1482-11d3-9333-00104ba0fd40}']
    function OnDataAvailable(aRequest: nsIRequest_std18; aContext: nsISupports_std18; aInputStream: nsIInputStream_std18; aOffset: PRUint32; aCount: PRUint32): nsresult; stdcall;
  end;

  nsISupportsPrimitive_std18 = interface(nsISupports_std18)
  ['{d0d4b136-1dd1-11b2-9371-f0727ef827c0}']
    function GetType(out aType: PRUint16): Longword; stdcall;
  end;

  nsISupportsID_std18 = interface(nsISupportsPrimitive_std18)
  ['{d18290a0-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: PGUID): Longword; stdcall;
    function SetData(const aData: PGUID): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsCString_std18 = interface(nsISupportsPrimitive_std18)
  ['{d65ff270-4a1c-11d3-9890-006008962422}']
    function GetData(aData: nsACString): Longword; stdcall;
    function SetData(const aData: nsACString): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsString_std18 = interface(nsISupportsPrimitive_std18)
  ['{d79dc970-4a1c-11d3-9890-006008962422}']
    function GetData(aData: nsAString): Longword; stdcall;
    function SetData(const aData: nsAString): Longword; stdcall;
    function ToString(out _retval: PWideChar): nsresult; stdcall;
  end;

  nsISupportsPRBool_std18 = interface(nsISupportsPrimitive_std18)
  ['{ddc3b490-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: PRBool): Longword; stdcall;
    function SetData(aData: PRBool): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsPRUint8_std18 = interface(nsISupportsPrimitive_std18)
  ['{dec2e4e0-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: PRUint8): Longword; stdcall;
    function SetData(aData: PRUint8): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsPRUint16_std18 = interface(nsISupportsPrimitive_std18)
  ['{dfacb090-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: PRUint16): Longword; stdcall;
    function SetData(aData: PRUint16): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsPRUint32_std18 = interface(nsISupportsPrimitive_std18)
  ['{e01dc470-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: PRUint32): Longword; stdcall;
    function SetData(aData: PRUint32): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsPRUint64_std18 = interface(nsISupportsPrimitive_std18)
  ['{e13567c0-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: PRUint64): Longword; stdcall;
    function SetData(aData: PRUint64): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsPRTime_std18 = interface(nsISupportsPrimitive_std18)
  ['{e2563630-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: PRTime): Longword; stdcall;
    function SetData(aData: PRTime): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsChar_std18 = interface(nsISupportsPrimitive_std18)
  ['{e2b05e40-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: AnsiChar): Longword; stdcall;
    function SetData(aData: AnsiChar): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsPRInt16_std18 = interface(nsISupportsPrimitive_std18)
  ['{e30d94b0-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: PRInt16): Longword; stdcall;
    function SetData(aData: PRInt16): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsPRInt32_std18 = interface(nsISupportsPrimitive_std18)
  ['{e36c5250-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: PRInt32): Longword; stdcall;
    function SetData(aData: PRInt32): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsPRInt64_std18 = interface(nsISupportsPrimitive_std18)
  ['{e3cb0ff0-4a1c-11d3-9890-006008962422}']
    function GetData(out aData: PRInt64): Longword; stdcall;
    function SetData(aData: PRInt64): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsFloat_std18 = interface(nsISupportsPrimitive_std18)
  ['{abeaa390-4ac0-11d3-baea-00805f8a5dd7}']
    function GetData(out aData: Single): Longword; stdcall;
    function SetData(aData: Single): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsDouble_std18 = interface(nsISupportsPrimitive_std18)
  ['{b32523a0-4ac0-11d3-baea-00805f8a5dd7}']
    function GetData(out aData: Double): Longword; stdcall;
    function SetData(aData: Double): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsVoid_std18 = interface(nsISupportsPrimitive_std18)
  ['{464484f0-568d-11d3-baf8-00805f8a5dd7}']
    function GetData(out aData: Pointer): Longword; stdcall;
    function SetData(aData: Pointer): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsISupportsInterfacePointer_std18 = interface(nsISupportsPrimitive_std18)
  ['{995ea724-1dd1-11b2-9211-c21bdd3e7ed0}']
    function GetData(out aData: nsISupports_std18): Longword; stdcall;
    function SetData(aData: nsISupports_std18): Longword; stdcall;
    function GetDataIID(out aDataIID: PGUID): Longword; stdcall;
    function SetDataIID(const aDataIID: PGUID): Longword; stdcall;
    function ToString(out _retval: PAnsiChar): nsresult; stdcall;
  end;

  nsITooltipListener_std18 = interface(nsISupports_std18)
  ['{44b78386-1dd2-11b2-9ad2-e4eee2ca1916}']
    function OnShowTooltip(aXCoords: PRInt32; aYCoords: PRInt32; const aTipText: PWideChar): nsresult; stdcall;
    function OnHideTooltip(): nsresult; stdcall;
  end;

  nsITooltipTextProvider_std18 = interface(nsISupports_std18)
  ['{b128a1e6-44f3-4331-8fbe-5af360ff21ee}']
    function GetNodeText(aNode: nsIDOMNode_std18; out aText: PWideChar; out _retval: PRBool): nsresult; stdcall;
  end;

  nsITraceRefcnt_std18 = interface(nsISupports_std18)
  ['{273dc92f-0fe6-4545-96a9-21be77828039}']
    function LogAddRef(aPtr: Pointer; aNewRefcnt: nsrefcnt; const aTypeName: PAnsiChar; aInstanceSize: PRUint32): nsresult; stdcall;
    function LogRelease(aPtr: Pointer; aNewRefcnt: nsrefcnt; const aTypeName: PAnsiChar): nsresult; stdcall;
    function LogCtor(aPtr: Pointer; const aTypeName: PAnsiChar; aInstanceSize: PRUint32): nsresult; stdcall;
    function LogDtor(aPtr: Pointer; const aTypeName: PAnsiChar; aInstanceSize: PRUint32): nsresult; stdcall;
    function LogAddCOMPtr(aPtr: Pointer; aObject: nsISupports_std18): nsresult; stdcall;
    function LogReleaseCOMPtr(aPtr: Pointer; aObject: nsISupports_std18): nsresult; stdcall;
  end;

  nsIUnicharStreamListener_std18 = interface(nsIRequestObserver_std18)
  ['{4a7e9b62-fef8-400d-9865-d6820f630b4c}']
    function OnUnicharDataAvailable(aRequest: nsIRequest_std18; aContext: nsISupports_std18; const aData: nsAString): nsresult; stdcall;
  end;

  nsIUploadChannel_std18 = interface(nsISupports_std18)
  ['{ddf633d8-e9a4-439d-ad88-de636fd9bb75}']
    function SetUploadStream(aStream: nsIInputStream_std18; const aContentType: nsACString; aContentLength: PRInt32): nsresult; stdcall;
    function GetUploadStream(out aUploadStream: nsIInputStream_std18): Longword; stdcall;
  end;

  nsIURIContentListener_std18 = interface(nsISupports_std18)
  ['{94928ab3-8b63-11d3-989d-001083010e9b}']
    function OnStartURIOpen(aURI: nsIURI_std18; out _retval: PRBool): nsresult; stdcall;
    function DoContent(const aContentType: PAnsiChar; aIsContentPreferred: PRBool; aRequest: nsIRequest_std18; out aContentHandler: nsIStreamListener_std18; out _retval: PRBool): nsresult; stdcall;
    function IsPreferred(const aContentType: PAnsiChar; out aDesiredContentType: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
    function CanHandleContent(const aContentType: PAnsiChar; aIsContentPreferred: PRBool; out aDesiredContentType: PAnsiChar; out _retval: PRBool): nsresult; stdcall;
    function GetLoadCookie(out aLoadCookie: nsISupports_std18): Longword; stdcall;
    function SetLoadCookie(aLoadCookie: nsISupports_std18): Longword; stdcall;
    function GetParentContentListener(out aParentContentListener: nsIURIContentListener_std18): Longword; stdcall;
    function SetParentContentListener(aParentContentListener: nsIURIContentListener_std18): Longword; stdcall;
  end;

  nsIWeakReference_std18 = interface(nsISupports_std18)
  ['{9188bc85-f92e-11d2-81ef-0060083a0bcf}']
    function QueryReferent(const uuid: TGUID; out _result): nsresult; stdcall;
  end;

  nsISupportsWeakReference_std18 = interface(nsISupports_std18)
  ['{9188bc86-f92e-11d2-81ef-0060083a0bcf}']
    function GetWeakReference(out _retval: nsIWeakReference_std18): nsresult; stdcall;
  end;

  nsIWebBrowser_std18 = interface(nsISupports_std18)
  ['{69e5df00-7b8b-11d3-af61-00a024ffc08c}']
    function AddWebBrowserListener(aListener: nsIWeakReference_std18; const aIID: TGUID): nsresult; stdcall;
    function RemoveWebBrowserListener(aListener: nsIWeakReference_std18; const aIID: TGUID): nsresult; stdcall;
    function GetContainerWindow(out aContainerWindow: nsIWebBrowserChrome_std18): Longword; stdcall;
    function SetContainerWindow(aContainerWindow: nsIWebBrowserChrome_std18): Longword; stdcall;
    function GetParentURIContentListener(out aParentURIContentListener: nsIURIContentListener_std18): Longword; stdcall;
    function SetParentURIContentListener(aParentURIContentListener: nsIURIContentListener_std18): Longword; stdcall;
    function GetContentDOMWindow(out aContentDOMWindow: nsIDOMWindow_std18): Longword; stdcall;
  end;

  nsIWebBrowserChrome_std18 = interface(nsISupports_std18)
  ['{ba434c60-9d52-11d3-afb0-00a024ffc08c}']
    function SetStatus(statusType: PRUint32; const status: PWideChar): nsresult; stdcall;
    function GetWebBrowser(out aWebBrowser: nsIWebBrowser_std18): Longword; stdcall;
    function SetWebBrowser(aWebBrowser: nsIWebBrowser_std18): Longword; stdcall;
    function GetChromeFlags(out aChromeFlags: PRUint32): Longword; stdcall;
    function SetChromeFlags(aChromeFlags: PRUint32): Longword; stdcall;
    function DestroyBrowserWindow(): nsresult; stdcall;
    function SizeBrowserTo(aCX: PRInt32; aCY: PRInt32): nsresult; stdcall;
    function ShowAsModal(): nsresult; stdcall;
    function IsWindowModal(out _retval: PRBool): nsresult; stdcall;
    function ExitModalEventLoop(aStatus: nsresult): nsresult; stdcall;
  end;

  nsIWebBrowserChromeFocus_std18 = interface(nsISupports_std18)
  ['{d2206418-1dd1-11b2-8e55-acddcd2bcfb8}']
    function FocusNextElement(): nsresult; stdcall;
    function FocusPrevElement(): nsresult; stdcall;
  end;

  nsIWebBrowserFind_std18 = interface(nsISupports_std18)
  ['{2f977d44-5485-11d4-87e2-0010a4e75ef2}']
    function FindNext(out _retval: PRBool): nsresult; stdcall;
    function GetSearchString(out aSearchString: PWideChar): Longword; stdcall;
    function SetSearchString(const aSearchString: PWideChar): Longword; stdcall;
    function GetFindBackwards(out aFindBackwards: PRBool): Longword; stdcall;
    function SetFindBackwards(aFindBackwards: PRBool): Longword; stdcall;
    function GetWrapFind(out aWrapFind: PRBool): Longword; stdcall;
    function SetWrapFind(aWrapFind: PRBool): Longword; stdcall;
    function GetEntireWord(out aEntireWord: PRBool): Longword; stdcall;
    function SetEntireWord(aEntireWord: PRBool): Longword; stdcall;
    function GetMatchCase(out aMatchCase: PRBool): Longword; stdcall;
    function SetMatchCase(aMatchCase: PRBool): Longword; stdcall;
    function GetSearchFrames(out aSearchFrames: PRBool): Longword; stdcall;
    function SetSearchFrames(aSearchFrames: PRBool): Longword; stdcall;
  end;

  nsIWebBrowserFindInFrames_std18 = interface(nsISupports_std18)
  ['{e0f5d182-34bc-11d5-be5b-b760676c6ebc}']
    function GetCurrentSearchFrame(out aCurrentSearchFrame: nsIDOMWindow_std18): Longword; stdcall;
    function SetCurrentSearchFrame(aCurrentSearchFrame: nsIDOMWindow_std18): Longword; stdcall;
    function GetRootSearchFrame(out aRootSearchFrame: nsIDOMWindow_std18): Longword; stdcall;
    function SetRootSearchFrame(aRootSearchFrame: nsIDOMWindow_std18): Longword; stdcall;
    function GetSearchSubframes(out aSearchSubframes: PRBool): Longword; stdcall;
    function SetSearchSubframes(aSearchSubframes: PRBool): Longword; stdcall;
    function GetSearchParentFrames(out aSearchParentFrames: PRBool): Longword; stdcall;
    function SetSearchParentFrames(aSearchParentFrames: PRBool): Longword; stdcall;
  end;

  nsIWebBrowserFocus_std18 = interface(nsISupports_std18)
  ['{9c5d3c58-1dd1-11b2-a1c9-f3699284657a}']
    function Activate(): nsresult; stdcall;
    function Deactivate(): nsresult; stdcall;
    function SetFocusAtFirstElement(): nsresult; stdcall;
    function SetFocusAtLastElement(): nsresult; stdcall;
    function GetFocusedWindow(out aFocusedWindow: nsIDOMWindow_std18): Longword; stdcall;
    function SetFocusedWindow(aFocusedWindow: nsIDOMWindow_std18): Longword; stdcall;
    function GetFocusedElement(out aFocusedElement: nsIDOMElement_std18): Longword; stdcall;
    function SetFocusedElement(aFocusedElement: nsIDOMElement_std18): Longword; stdcall;
  end;

  nsIWebBrowserPrint_std18 = interface(nsISupports_std18)
  ['{9a7ca4b0-fbba-11d4-a869-00105a183419}']
    function GetGlobalPrintSettings(out aGlobalPrintSettings: nsIPrintSettings_std18): Longword; stdcall;
    function GetCurrentPrintSettings(out aCurrentPrintSettings: nsIPrintSettings_std18): Longword; stdcall;
    function GetCurrentChildDOMWindow(out aCurrentChildDOMWindow: nsIDOMWindow_std18): Longword; stdcall;
    function GetDoingPrint(out aDoingPrint: PRBool): Longword; stdcall;
    function GetDoingPrintPreview(out aDoingPrintPreview: PRBool): Longword; stdcall;
    function GetIsFramesetDocument(out aIsFramesetDocument: PRBool): Longword; stdcall;
    function GetIsFramesetFrameSelected(out aIsFramesetFrameSelected: PRBool): Longword; stdcall;
    function GetIsIFrameSelected(out aIsIFrameSelected: PRBool): Longword; stdcall;
    function GetIsRangeSelection(out aIsRangeSelection: PRBool): Longword; stdcall;
    function GetPrintPreviewNumPages(out aPrintPreviewNumPages: PRInt32): Longword; stdcall;
    function Print(aThePrintSettings: nsIPrintSettings_std18; aWPListener: nsIWebProgressListener_std18): nsresult; stdcall;
    function PrintPreview(aThePrintSettings: nsIPrintSettings_std18; aChildDOMWin: nsIDOMWindow_std18; aWPListener: nsIWebProgressListener_std18): nsresult; stdcall;
    function PrintPreviewNavigate(aNavType: PRInt16; aPageNum: PRInt32): nsresult; stdcall;
    function Cancel(): nsresult; stdcall;
    function EnumerateDocumentNames(out aCount: PRUint32; out aResult_array): nsresult; stdcall;
    function ExitPrintPreview(): nsresult; stdcall;
  end;

  nsIWebBrowserSetup_std18 = interface(nsISupports_std18)
  ['{f15398a0-8018-11d3-af70-00a024ffc08c}']
    function SetProperty(aId: PRUint32; aValue: PRUint32): nsresult; stdcall;
  end;

  nsIWebBrowserStream_std18 = interface(nsISupports_std18)
  ['{86d02f0e-219b-4cfc-9c88-bd98d2cce0b8}']
    function OpenStream(aBaseURI: nsIURI_std18; const aContentType: nsACString): nsresult; stdcall;
    function AppendToStream(const aData_array; aLen: PRUint32): nsresult; stdcall;
    function CloseStream(): nsresult; stdcall;
  end;

  nsIWebProgress_std18 = interface(nsISupports_std18)
  ['{570f39d0-efd0-11d3-b093-00a024ffc08c}']
    function AddProgressListener(aListener: nsIWebProgressListener_std18; aNotifyMask: PRUint32): nsresult; stdcall;
    function RemoveProgressListener(aListener: nsIWebProgressListener_std18): nsresult; stdcall;
    function GetDOMWindow(out aDOMWindow: nsIDOMWindow_std18): Longword; stdcall;
    function GetIsLoadingDocument(out aIsLoadingDocument: PRBool): Longword; stdcall;
  end;

  nsIWebProgressListener_std18 = interface(nsISupports_std18)
  ['{570f39d1-efd0-11d3-b093-00a024ffc08c}']
    function OnStateChange(aWebProgress: nsIWebProgress_std18; aRequest: nsIRequest_std18; aStateFlags: PRUint32; aStatus: nsresult): nsresult; stdcall;
    function OnProgressChange(aWebProgress: nsIWebProgress_std18; aRequest: nsIRequest_std18; aCurSelfProgress: PRInt32; aMaxSelfProgress: PRInt32; aCurTotalProgress: PRInt32; aMaxTotalProgress: PRInt32): nsresult; stdcall;
    function OnLocationChange(aWebProgress: nsIWebProgress_std18; aRequest: nsIRequest_std18; aLocation: nsIURI_std18): nsresult; stdcall;
    function OnStatusChange(aWebProgress: nsIWebProgress_std18; aRequest: nsIRequest_std18; aStatus: nsresult; const aMessage: PWideChar): nsresult; stdcall;
    function OnSecurityChange(aWebProgress: nsIWebProgress_std18; aRequest: nsIRequest_std18; aState: PRUint32): nsresult; stdcall;
  end;

  nsIWindowCreator_std18 = interface(nsISupports_std18)
  ['{30465632-a777-44cc-90f9-8145475ef999}']
    function CreateChromeWindow(parent: nsIWebBrowserChrome_std18; chromeFlags: PRUint32; out _retval: nsIWebBrowserChrome_std18): nsresult; stdcall;
  end;

  nsIWindowWatcher_std18 = interface(nsISupports_std18)
  ['{002286a8-494b-43b3-8ddd-49e3fc50622b}']
    function OpenWindow(aParent: nsIDOMWindow_std18; const aUrl: PAnsiChar; const aName: PAnsiChar; const aFeatures: PAnsiChar; aArguments: nsISupports_std18; out _retval: nsIDOMWindow_std18): nsresult; stdcall;
    function RegisterNotification(aObserver: nsIObserver_std18): nsresult; stdcall;
    function UnregisterNotification(aObserver: nsIObserver_std18): nsresult; stdcall;
    function GetWindowEnumerator(out _retval: nsISimpleEnumerator_std18): nsresult; stdcall;
    function GetNewPrompter(aParent: nsIDOMWindow_std18; out _retval: nsIPrompt_std18): nsresult; stdcall;
    function GetNewAuthPrompter(aParent: nsIDOMWindow_std18; out _retval: nsIAuthPrompt_std18): nsresult; stdcall;
    function SetWindowCreator(creator: nsIWindowCreator_std18): nsresult; stdcall;
    function GetChromeForWindow(aWindow: nsIDOMWindow_std18; out _retval: nsIWebBrowserChrome_std18): nsresult; stdcall;
    function GetWindowByName(const aTargetName: PWideChar; aCurrentWindow: nsIDOMWindow_std18; out _retval: nsIDOMWindow_std18): nsresult; stdcall;
    function GetActiveWindow(out aActiveWindow: nsIDOMWindow_std18): Longword; stdcall;
    function SetActiveWindow(aActiveWindow: nsIDOMWindow_std18): Longword; stdcall;
  end;

  nsIX509Cert_std18 = interface(nsISupports_std18)
  ['{f0980f60-ee3d-11d4-998b-00b0d02354a0}']
    function GetNickname(aNickname: nsAString): Longword; stdcall;
    function GetEmailAddress(aEmailAddress: nsAString): Longword; stdcall;
    function GetEmailAddresses(out length: PRUint32; out addresses_array): nsresult; stdcall;
    function ContainsEmailAddress(const aEmailAddress: nsAString; out _retval: PRBool): nsresult; stdcall;
    function GetSubjectName(aSubjectName: nsAString): Longword; stdcall;
    function GetCommonName(aCommonName: nsAString): Longword; stdcall;
    function GetOrganization(aOrganization: nsAString): Longword; stdcall;
    function GetOrganizationalUnit(aOrganizationalUnit: nsAString): Longword; stdcall;
    function GetSha1Fingerprint(aSha1Fingerprint: nsAString): Longword; stdcall;
    function GetMd5Fingerprint(aMd5Fingerprint: nsAString): Longword; stdcall;
    function GetTokenName(aTokenName: nsAString): Longword; stdcall;
    function GetIssuerName(aIssuerName: nsAString): Longword; stdcall;
    function GetSerialNumber(aSerialNumber: nsAString): Longword; stdcall;
    function GetIssuerCommonName(aIssuerCommonName: nsAString): Longword; stdcall;
    function GetIssuerOrganization(aIssuerOrganization: nsAString): Longword; stdcall;
    function GetIssuerOrganizationUnit(aIssuerOrganizationUnit: nsAString): Longword; stdcall;
    function GetIssuer(out aIssuer: nsIX509Cert_std18): Longword; stdcall;
    function GetValidity(out aValidity: nsIX509CertValidity_std18): Longword; stdcall;
    function GetDbKey(out aDbKey: PAnsiChar): Longword; stdcall;
    function GetWindowTitle(out aWindowTitle: PAnsiChar): Longword; stdcall;
    function GetChain(out _retval: nsIArray_std18): nsresult; stdcall;
    function GetUsagesArray(ignoreOcsp: PRBool; out verified: PRUint32; out count: PRUint32; out usages_array): nsresult; stdcall;
    function GetUsagesString(ignoreOcsp: PRBool; out verified: PRUint32; usages: nsAString): nsresult; stdcall;
    function VerifyForUsage(usage: PRUint32; out _retval: PRUint32): nsresult; stdcall;
    function GetASN1Structure(out aASN1Structure: nsIASN1Object_std18): Longword; stdcall;
    function GetRawDER(out length: PRUint32; out data_array): nsresult; stdcall;
    function Equals(other: nsIX509Cert_std18; out _retval: PRBool): nsresult; stdcall;
  end;

  nsIX509CertDB_std18 = interface(nsISupports_std18)
  ['{da48b3c0-1284-11d5-ac67-000064657374}']
    function FindCertByNickname(aToken: nsISupports_std18; const aNickname: nsAString; out _retval: nsIX509Cert_std18): nsresult; stdcall;
    function FindCertByDBKey(const aDBkey: PAnsiChar; aToken: nsISupports_std18; out _retval: nsIX509Cert_std18): nsresult; stdcall;
    function FindCertNicknames(aToken: nsISupports_std18; aType: PRUint32; out count: PRUint32; out certNameList_array): nsresult; stdcall;
    function FindEmailEncryptionCert(const aNickname: nsAString; out _retval: nsIX509Cert_std18): nsresult; stdcall;
    function FindEmailSigningCert(const aNickname: nsAString; out _retval: nsIX509Cert_std18): nsresult; stdcall;
    function FindCertByEmailAddress(aToken: nsISupports_std18; const aEmailAddress: PAnsiChar; out _retval: nsIX509Cert_std18): nsresult; stdcall;
    function ImportCertificates(const data_array; length: PRUint32; _type: PRUint32; ctx: nsIInterfaceRequestor_std18): nsresult; stdcall;
    function ImportEmailCertificate(const data_array; length: PRUint32; ctx: nsIInterfaceRequestor_std18): nsresult; stdcall;
    function ImportServerCertificate(const data_array; length: PRUint32; ctx: nsIInterfaceRequestor_std18): nsresult; stdcall;
    function ImportUserCertificate(const data_array; length: PRUint32; ctx: nsIInterfaceRequestor_std18): nsresult; stdcall;
    function DeleteCertificate(aCert: nsIX509Cert_std18): nsresult; stdcall;
    function SetCertTrust(cert: nsIX509Cert_std18; _type: PRUint32; trust: PRUint32): nsresult; stdcall;
    function IsCertTrusted(cert: nsIX509Cert_std18; certType: PRUint32; trustType: PRUint32; out _retval: PRBool): nsresult; stdcall;
    function ImportCertsFromFile(aToken: nsISupports_std18; aFile: nsILocalFile_std18; aType: PRUint32): nsresult; stdcall;
    function ImportPKCS12File(aToken: nsISupports_std18; aFile: nsILocalFile_std18): nsresult; stdcall;
    function ExportPKCS12File(aToken: nsISupports_std18; aFile: nsILocalFile_std18; count: PRUint32; const aCerts_array): nsresult; stdcall;
    function GetOCSPResponders(out _retval: nsIArray_std18): nsresult; stdcall;
    function GetIsOcspOn(out aIsOcspOn: PRBool): Longword; stdcall;
    function ConstructX509FromBase64(const base64: PAnsiChar; out _retval: nsIX509Cert_std18): nsresult; stdcall;
  end;

  nsIX509CertValidity_std18 = interface(nsISupports_std18)
  ['{e701dfd8-1dd1-11b2-a172-ffa6cc6156ad}']
    function GetNotBefore(out aNotBefore: PRTime): Longword; stdcall;
    function GetNotBeforeLocalTime(aNotBeforeLocalTime: nsAString): Longword; stdcall;
    function GetNotBeforeLocalDay(aNotBeforeLocalDay: nsAString): Longword; stdcall;
    function GetNotBeforeGMT(aNotBeforeGMT: nsAString): Longword; stdcall;
    function GetNotAfter(out aNotAfter: PRTime): Longword; stdcall;
    function GetNotAfterLocalTime(aNotAfterLocalTime: nsAString): Longword; stdcall;
    function GetNotAfterLocalDay(aNotAfterLocalDay: nsAString): Longword; stdcall;
    function GetNotAfterGMT(aNotAfterGMT: nsAString): Longword; stdcall;
  end;

implementation

end.
