eventKey.initKeyEvent("keypress",true,true,((DocumentView)doc).getDefaultView(),
false,false,false,false,0,'a'); // 'a' = 97
((ItsNatNormalEvent)eventKey).setExtraParam("extra","Bye");
boolean res2 = ((EventTarget)nodeToClick).dispatchEvent(eventKey);
ItsNatUserEvent userEvent = (ItsNatUserEvent)((DocumentEvent)doc).createEvent("itsnat:UserEvents");
userEvent.initEvent("itsnat:user:test",false,false);
userEvent.setExtraParam("extra","UserVal");
boolean res3 = ((EventTarget)nodeToClick).dispatchEvent(userEvent);
//clientDoc.addEventListener((EventTarget)nodeToClick,"itsnat:continue",listener,false);
clientDoc.addContinueEventListener((EventTarget)nodeToClick, this);
ItsNatContinueEvent continueEvent = (ItsNatContinueEvent)((DocumentEvent)doc).createEvent("itsnat:ContinueEvents");