I am calling a frameset html page from a script and based on the outcome of the script, do one of two things. If everything is proper, simply fill in the 'main' frame of the framset by passing a header() to the framset. If all is not right, I want to also pass a header, but I do not want it to appear within a frameset, I want it to occupy and replace the frameset all together. Can this be done?