{
}
public void startExamplePanel()
{
ItsNatDocument itsNatDoc = getItsNatDocument();
Document doc = itsNatDoc.getDocument();
ItsNatHttpSession session = (ItsNatHttpSession)itsNatDoc.getClientDocumentOwner().getItsNatSession();
if (itsNatDoc.isLoading() &&
itsNatDoc.getItsNatDocumentTemplate().isFastLoadMode() &&
session.getUserAgent().indexOf("MSIE") != -1)
{
// Removing <!DOCTYPE> sets Internet Explorer in Quirks Mode.
// Quirks mode is mandatory with SVG inline and ASV
DocumentType docType = doc.getDoctype();
doc.removeChild(docType);
}
this.svgElem = doc.getElementById("svgId");
ParamTransport[] params = new ParamTransport[]
{ new CustomParamTransport("offsetX","event.getNativeEvent().offsetX"),
new CustomParamTransport("offsetY","event.getNativeEvent().offsetY") };
itsNatDoc.addEventListener(((EventTarget)svgElem),"click",this,false,params);
ElementGroupManager egm = itsNatDoc.getElementGroupManager();
Element circleListElem = doc.getElementById("circleListId");
this.circleList = egm.createElementList(circleListElem,false);
this.textElem = doc.getElementById("textId");
((Text)textElem.getFirstChild()).setData(new Date().toString());