Redesigned code

UNFINISHED PHP CODE FOUND IN indec_recreate. WILL NOT WORK YET.
popout.js added as well. Need to work more on integrating that code.