// ############################## START FUNC ############################################ // Frame="hidden" is a help frame to allow verification of frame content. Some browsers get // an error and end the script execution when innerHTML or location is researched for frames // where the document was not found (error 404). This is probably due to the same security // measurement which prevent access of the content in a frame which is loaded from a different // server then the document for the script. To check a frame with respect to its content a // help frame "hidden" is used. HTML including a separate script is written directly into // this frame. The execution of the script in that frame is immediate. If it gets an error because // of error 404 for another frame, which is checked from frame "hidden", nothing further will // be written in frame "hidden". If there are no error it will write down the content of the // researched frame AFTER the script in that window.document (frame "hidden"). The innerHTML // of THAT frame (frame "hidden") can be checked by this function ("verify_frame_content") and // put into the variable f. function verify_frame_content(frame_ID) { frame_ID--; parent.right.hidden.document.write("\n\n\n\n\ndocument.write(parent.frames["+frame_ID+"].document.all[3].innerHTML)\;\n\n"); var f=parent.right.hidden.document.all[3].innerHTML; f=f+" "; parent.right.hidden.document.close(); if(f.length<135) return false; if(f.indexOf(">Servern")>-1) return false; return true; } // ############################### end func ############################################