rewrote global_functions
changed global_functions
Merge pull request #7 from techiemonsta/port-over-inceku-popup

rewrote global_functions