if (parent.window.frames.length <= 0) { var text=new String("back to start page"); document.writeln(text.link("index.htm")); }