maybe that's part of the problem, but maybe not
I didn't mention that I also am linking my global.js file before because I thought that was a given. The addPrintLnk function is in the global.js file, I just want an easy way to tell the links where to go on a page by page basis. I figured the best way would be to make argument and pass it the ids manually instead of hardcoding it on a page by page basis. Is it not unobtrusive to put a call to a function in the head of the page? I also already have the on page load function by Simon Wilson (remember I did read DOM Scripting) :cool: so I could just call the function that way, but then it'd be called on every page in my site (since I link in the global.js file to all)
anyway, it still doesn't work ...