//AICC tracking code inserted for Macromedia's Learning Interactions //Flash MX 2004 //Modified by Andrew Chemey (08/06/03) //Copyright 2003 Macromedia, Inc. All rights reserved. function goPage(loc){ parent.location = loc; } function findcmiframe(sp) { if (sp==null) sp=window.parent; if (sp.frames.length && sp.cmiframe != null) return sp.cmiframe; else if (sp != window.top) return findcmiframe(sp.parent); else return null; } var aurl; function setaurl(url) { tmpp=url.toUpperCase(); if ((pos=tmpp.indexOf('AICC_URL'))>-1) { aurl=url.substring(pos+9,tmpp.length); if (aurl.indexOf('&')>0) aurl=aurl.substring(0,aurl.indexOf('&')); aurl=unescape(aurl); if (aurl.toUpperCase().indexOf("HTTP://") == -1) aurl = "http://" + aurl; return true; } return false; } function fndUrl(win) { if (setaurl(win.document.location+'') == false) { if (win == window.top) return false; return (fndUrl(win.parent)); } return true; } if (findcmiframe(null)==null) { var cmi; if (document.command == null) { if (fndUrl(window)) { document.write("
"); } } } //Function creates a new object for tracking function trackObject(name, score, weight, possible) { this.name = name; this.score = score; this.trackWeight = weight; this.possibleCorrect = possible; this.e = 0; } //Create new object called G01 G01 = new trackObject("Flash Learning Object", 0, 1, 1); //-->