Thanks for the suggestion, BillyRayPreachersSon but it didn't work... got these two messages:
Line 303, column 59: delimiter "'" invalid: only S separators and TAGC allowed here
document.write('<div style="page-break-after:always;"></d' + 'iv>');
Line 303, column 59: end tag for element "D" which is not open
document.write('<div style="page-break-after:always;"></d' + 'iv>');
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occured in a script section of your document, you should probably read this FAQ entry.
Any other thoughts/suggestions would be appreciated.
thanks again
"Failure is the tuition you pay for success."
~ Walter Brunell ~