HELLO EVERYBODY, i m having the same problem. desperate help needed var elements = [parent.$K2('#sbox-btn-close'), $K2('#toolbar-cancel a')]; Uncaught TypeError: Property '$K2' of object [object Window] is not a function $K2.each(elements, function(index, element){ thank you M.