var _This=this; var _parN = this.parentNode; input.onDblClick = function(){ from_input(_This,_parN); };