\n'); } // FS SCORM - fscommand adapter for ADL SCORM // version 1.1.1 11/25/01 // Copyright 2002 Pathlore Software Corporation All Rights Reserved // Copyright 2002 Macromedia Inc. All rights reserved. // Developed by Tom King, Macromedia and Leonard Greenberg, Pathlore // Modified by Jeff Burton and Andrew Chemey, Macromedia (01/09/02) // ----------------------------------------------------------------- var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1; var findAPITries = 0; function findAPI(win) { // Check to see if the window (win) contains the API // if the window (win) does not contain the API and // the window (win) has a parent window and the parent window // is not the same as the window (win) while ( (win.API == null) && (win.parent != null) && (win.parent != win) ) { // increment the number of findAPITries findAPITries++; // Note: 7 is an arbitrary number, but should be more than sufficient if (findAPITries > 7) { alert("Error finding API -- too deeply nested."); return null; } // set the variable that represents the window being // being searched to be the parent of the current window // then search for the API again win = win.parent; } return win.API; } function s01_01new_DoFSCommand(command, args) { var s01_01newObj = InternetExplorer ? s01_01new : document.s01_01new; myargs = String(args); mycommand = String(command); var F_intData = args.split(";"); } //-->