http://indesignsecrets.com/how-to-install-scripts-in-indesign.php describes the procedure.
I think he want to achieve something like APID and scripts "assigned" to objects ...
I think this script is used to delete the Empty row in tables.
If you want to use/run this you have to name this script as "[ScriptName].jsx" and copy this script to below path:
InDesign CS2: Adobe InDesign CS2\Preset\Scripts\
InDesign CS3: Adobe InDesign CS3\Scripts\Scripts Panel\
Then in InDesign "Window->Automation->Scripts" you can view the script.
By double clicking the script you can run.
Before running this script open the indesign doc having tables.
If he means APID or similar, he's going to need to optimize that script an awful lot...