Hi Falk,
ein Schnellschuss in's Blaue - Du schreibst
document.write("<html><head><title>test1</title><script language='javascript1.2' src='scripts/index1.js' type='text/javascript'></script></head><body onLoad='loader1()'></body></html>");
also lässt Du in HTML Attribute in Hochkommata schreiben - die müssen aber in Anführunfszeichen stehen, also wär's so besser:
document.write('<html><head><title>test1</title><script language="javascript1.2" src="scripts/index1.js" type="text/javascript"></script></head><body onLoad="loader1()"></body></html>');
Grüße,
Utz