And the last thing is that when the form is submitted certain variables are sent to an external java program using the passthru method, this means that PHP is basically stalled until it gets the response so ideally I would want to put a delay on the refresh of around five seconds (the wait could theorhetically be this long on a slow machine with alot of data) and some form of notification telling the user to wait for a few seconds.
Can someone point me in the right direction, as I've said before Javascript really isn't my strong point!
Added:
Actually I've discovered another little problem, this time with FireFox. Basically FF isn't updating either of the frames. I think the problem may be that the main frame which does all the processing actually outputs an SVG image which I think may be getting cached. The actually processing functions are working fine as I can see that the database is being updated correctly. This problem doesn't occur in IE as it updates the SVG on submission. Any ideas?