Make it an include file and insert that line into the pages. That way if you need to modify it or even add another function for something else, you just need to change one file. Ron