\STc@sdZddlmZddlmZddlmZddlmZddlmZddlZddl Z ddl m Z d efd YZ i%d d 6d d6dd6dd6dd6dd6dd6dd6dd6dd6dd 6dd!6dd"6dd#6dd$6dd%6d&d'6d&d(6d)d*6d+d,6d-d.6d/d06d1d26d3d46d5d66d5d76d8d96d8d:6d;d<6d=d>6d=d?6d=d@6dAdB6dCdD6dEdE6dFdG6dFdH6Z dIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcddgZdS(es WWW: http://4suite.com/4DOM e-mail: support@4suite.com Copyright (c) 2000 Fourthought Inc, USA. All Rights Reserved. See http://4suite.com/COPYRIGHT for license and copyright information i(tNode(tNotSupportedErr(tDocument(timplementation(textN(tHTML_DTDt HTMLDocumentcBseZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZd/dZ dZ!dZ"d Z#d!Z$d"Z%e&j'j(Z'e'j)i ed#6ed$6e d%6ed&6ed'6e d(6ed)6e d*6e d+6ed,6ed-6e&j*j(Z*e*j)ied#6ed'6e d-6e+e*d.e&j,e'j-Z,RS(0cCsotj|dd|jd-s(tgetElementsByTagNametfilterRt_4dom_createHTMLCollection(Rtanchors((sM/opt/freeware/lib64/python2.7/site-packages/_xmlplus/dom/html/HTMLDocument.pyt _get_anchors+scCsA|jd}|jd}td|}tj||S(NtAPPLETtOBJECTcSs |jS(N(t _get_code(R((sM/opt/freeware/lib64/python2.7/site-packages/_xmlplus/dom/html/HTMLDocument.pyR3s(RRRR(Rtaltol((sM/opt/freeware/lib64/python2.7/site-packages/_xmlplus/dom/html/HTMLDocument.pyt _get_applets0scCscd}|jd}|s-|jd}n|r@|d}n|jd}|jj||S(NRtFRAMESETtBODYi(Rt createElementtdocumentElementt appendChild(Rtbodytelements((sM/opt/freeware/lib64/python2.7/site-packages/_xmlplus/dom/html/HTMLDocument.pyt _get_body6s cCs_|jd}|s'|jd}n|rK|djj||dn|jj|dS(NR%R&i(Rt parentNodet replaceChildR(R)(RtnewBodyR+((sM/opt/freeware/lib64/python2.7/site-packages/_xmlplus/dom/html/HTMLDocument.pyt _set_bodyDs cCs |jdS(NR (R(R((sM/opt/freeware/lib64/python2.7/site-packages/_xmlplus/dom/html/HTMLDocument.pyt _get_cookieOscCs||jdR6RR2cCs|j| S(N(R|(tktm((sM/opt/freeware/lib64/python2.7/site-packages/_xmlplus/dom/html/HTMLDocument.pyRsN(.t__name__t __module__RRRR$R,R0R1R3R4R7R:R?R@RFRLRMRRRTRZR[R_R'RdReRkRlRmRnRoRRPRGR`RRRRt_readComputedAttrstcopytupdatet_writeComputedAttrsRt_readOnlyAttrstkeys(((sM/opt/freeware/lib64/python2.7/site-packages/_xmlplus/dom/html/HTMLDocument.pyRsn                                   tIsIndextIsindextOptGrouptOptgrouptTextAreatTextareatFieldSettFieldsettUListtUltOListtOltDListtDlt DirectorytDirtLItLit ParagraphtPtHeadingtH1tH2tH3tH4tH5tH6tQuotetQt BlockquotetBRtBrtBaseFonttBasefonttHRtHrtAnchorRtImagetImgt TableCaptiontCaptiontTableColtColtColgroupt TableCelltTdtThtTableRowtTrt TableSectiontTheadtTbodytTfoottFrameSettFramesettIFrametIframetFormtModtInstDeltsubtsuptspantbdottttitbtutststriketbigtsmalltemtstrongtdfntcodetsamptkbdtvartcitetacronymtabbrtddRtnoframestnoscripttaddresstcenter(t__doc__txml.domRRtxml.dom.DocumentRRRRfRt xml.dom.htmlRRRR~(((sM/opt/freeware/lib64/python2.7/site-packages/_xmlplus/dom/html/HTMLDocument.pyt s