var AWG_Ek=0,AWG_Kf="AWG_Kf",AWG_V=true,AWG_S=false,AWG_E$="undefined",AWG_Rf="object",AWG_EJ="string",AWG_NK="number",AWG_Mj="boolean",AWG_HB=null,AWG_$="";var i,AWG_Ue=1,AWG_IK=[],AWG_HB=null,AWG_E=[],gFlashToJS=AWG_HB,gFlashToJSBinding=AWG_HB,AWG_Ke=0,AWG_VI=AWG_Kf+25,AWG_TG=AWG_S,AWG_ZD=AWG_S,AWG_Dc=AWG_S,AWG_Ub="800",AWG_Xb="600",AWG_FH=AWG_$,AWG_CH=AWG_$,AWG_Vb=AWG_S,AWG_KD=AWG_S,AWP_JS_FILES=[],AWG_Xi=new Date(),AWG_We="-1",AWG_GG="100",AWG_Ic="",AWG_Kg=AWG_S,AWG_TE="",AWG_Gh="600",AWG_TI="300",AWG_RI="598",AWG_Eh="375",AWG_Of="",AWG_Cd="",AWG_Ze="",AWG_RB="",AWG_NB="",AWG_NE="",AWG_YG=AWG_S,AWG_RF="",AWG_Yh=AWC_LMDIR,AWG_Bc=AWG_$,AWG_$B="sitos.bookmarks.",AWG_Fi="(no category)",AWG_Yi="(template unknown)",AWG_MH="",AWG_SB=[],AWG_Bi=AWG_V,AWG_CG="WIDTH",AWG_Yf="HEIGHT",AWG_EC="VN",AWG_TC="NN",AWG_Af="DEBUG",AWG_Cb="DATA",AWG_SF="NOLOADING",AWG_Cg="AUDIODEFAULT",AWG_He="AUDIOONLEVEL",AWG_IF="LAUNCH",AWG_Ge="DOWNLOAD",AWG_BF="BMWINDOWPARAMS",AWG_If="IGNORECMI",AWG_Ee="AWP_QUIT",AWG_Gf="AWP_PAGES",AWG_$f="AWP_MASTERYSCORE",AWG_WF="AWP_MINSCORE",AWG_ZG="AWP_MAXSCORE",AWG_UG="AWP_DESIGN",AWG_$F="AWP_FLASH_OPAQUE",AWG_KF="AWP_START_STATUS",AWG_EF="AWP_LANGUAGE",AWG_Ab="false",AWG_DC="true",AWG_SH="\r\n",AWG_UF="nocookies",AWG_DG="cookies",AWG_NG="scorm12",AWG_JI="scorm13",AWG_Hf="scorm2004",AWG_IG="hacp",AWG_Ed=0,AWG_LE=1,AWG_PD=2,AWG_JE=3,AWG_JB=4,AWG_FA=-1,AWG_Xj=AWG_$,AWG_ZH=AWG_$,AWG_NC=AWG_$,AWG_Pb=AWG_$,AWG_LF=AWG_$,AWG_VC=AWG_$,AWG_DK=AWG_$,AWG_XE=AWG_$,AWG_EA=AWG_$,AWG_Ha=AWG_$,AWG_Ki=AWG_$,AWG_WC=AWG_$,AWG_AJ=AWG_$,AWG_JF=AWG_$,AWG_UI=AWG_$,AWG_Xh=AWG_$,AWG_Ch=AWG_$,AWG_VH=AWG_$,AWG_OH=AWG_$,AWG_PI=AWG_$,AWG_Aj=AWG_V,AICC_SID=AWG_$,AICC_URL=AWG_$,AWG_RE=[],AWG_CA=AWG_HB,AWG_M=AWG_HB,AWG_GC=-1,AWG_GF="AICC_SID",AWG_Qf="AICC_URL",AWG_CI="SHOW",AWG_EC="VN",AWG_TC="NN",AWG_Cb="DATA",AWG_Sf="POSTPROXY",AWG_Gg="BACK",AWG_MD="FORCEAPI",AWG_Od="AWP_PRECISION",AWG_Fb="cmi.core.lesson_location",AWG_Ca="cmi.core.lesson_status",AWG_Qa="cmi.core.score.raw",AWG_Hb="cmi.core.score.max",AWG_OC="cmi.core.score.min",AWG_Ud="cmi.core.session_time",AWG_AE="cmi.core.exit",AWG_Ac="cmi.student_preference.audio",AWG_Fd="cmi.student_preference.language",AWG_Je="cmi.launch_data",AWG_DB="cmi.suspend_data",AWG_BI="cmi.comments",AWG_MG="cmi.core.student_id",AWG_OD="cmi.core.student_name",AWG_Gc="cmi.student_data.mastery_score",AWG_TH="cmi.student_data.max_time_allowed",AWG_Ah="cmi.student_data.time_limit_action",AWG_Me="cmi.core.total_time",AWG_VB="cmi.objectives.",AWG_I="sitos.objectives.",AWG_$b="_count",AWG_BB="failed",AWG_Db="passed",AWG_PC="incomplete",AWG_Bb="completed",AWG_Pc="not attempted";function LOG_FUNC(AWG_AF,AWG_Ra,AWG_A$){try{
var AWG_A="";if(AWG_AF!="")AWG_A=AWG_AF+"::";AWG_A+=AWG_Ra+"("
for(var i=0;i<AWG_A$.length;++i){
if(i>0)AWG_A+=",";AWG_A+="'"+AWG_A$[i]+"'("+typeof(AWG_A$[i])+")"}
AWG_A+=")";try{if(console&&console.log)console.log(AWG_A)}catch(e){}
}catch(e){AWG_B(AWG_C(e))}}
function TRACE_LINE(AWG_Cc){try{
try{if(console&&console.log)console.log(AWG_Cc)}catch(e){}
}catch(e){AWG_B(AWG_C(e))}}
function DEBUG_VAR(AWG_Ya){try{
return ""+AWG_Ya+"("+typeof(AWG_Ya)+")"
}catch(e){AWG_B(AWG_C(e))}}
function AWG_B(AWG_Cc){try{
if(!AWG_Ue)return;AWG_Ue=confirm(AWG_Cc)}catch(e){AWG_B(AWG_C(e))}}
function AWG_C(AWG_HD,AWG_KC,AWG_$i,AWG_R$){try{
var AWG_A="";if(arguments.length>1){
AWG_A+="Unhandled exeption in "+AWG_KC+":"+AWG_$i+" "+AWG_R$+"\n"}
if(AWG_HD.message)AWG_A+=AWG_HD.message;if(AWG_HD.description)AWG_A+=AWG_HD.description;return AWG_A}catch(e){AWG_B(AWG_C(e))}}
function AWG_JJ(AWG_GE,AWG_Eb){try{
alert(AWG_Hi(AWG_GE,AWG_Eb))}catch(e){AWG_B(AWG_C(e))}}
function AWG_Hi(AWG_GE,AWG_Eb){try{
return AWG_GE+":"+AWG_Eb.name+": "+AWG_Eb.message+(AWG_Eb.stack?("\n"+AWG_Eb.stack):"")}catch(e){AWG_B(AWG_C(e))}}
function AWG_ID(AWG_Ta,AWG_I$,AWG_$I){try{
if(AWG_Ta.substr(0,1)=="?")AWG_Ta=AWG_Ta.substr(1);var i,AWG_Na=AWG_Ta.split("&"),nPos,AWG_H,AWG_O;for(i=0;i<AWG_Na.length;++i){
nPos=AWG_Na[i].indexOf("=");if(nPos==-1){
AWG_H=AWG_Na[i];AWG_O=AWG_V}else{
AWG_H=AWG_Na[i].substr(0,nPos);AWG_O=AWG_WA(AWG_Na[i].substr(nPos+1))}
AWG_H=AWG_WA(AWG_H).toUpperCase();if(AWG_$I){
AWG_I$[AWG_H]=AWG_O}else{
if(typeof(AWG_I$[AWG_H])==AWG_E$){
AWG_I$[AWG_H]=AWG_O}
}
}
}catch(e){AWG_B(AWG_C(e))}}
function AWG_J$(AWG_I$,AWG_EI){try{
return(typeof(AWG_I$[AWG_EI])!=AWG_E$)}catch(e){AWG_B(AWG_C(e))}}
function AWG_Eg(AWG_OI){try{
AWG_ID(AWG_OI,AWG_E,AWG_V)}catch(e){AWG_B(AWG_C(e))}}
function AWG_Sj(AWG_L$){return document.layers[AWG_L$]}
function AWG_Jb(AWG_T$){try{
if(((AWG_T$>=65)&&(AWG_T$<=90))
||((AWG_T$>=97)&&(AWG_T$<=122))
||((AWG_T$>=48)&&(AWG_T$<=57))
||(AWG_T$==33)
||(AWG_T$==126)
||(AWG_T$==39)
||(AWG_T$==40)
||(AWG_T$==41)
||(AWG_T$==42)
||(AWG_T$==45)
||(AWG_T$==46)
||(AWG_T$==95)
)return String.fromCharCode(AWG_T$);return((AWG_T$<16)?"%0":"%")+AWG_T$.toString(16)}catch(e){AWG_B(AWG_C(e))}}
function AWG_U(AWG_KG){try{
var i,AWG_Ja,AWG_GB=AWG_KG.length,AWG_F="";for(i=0;i<AWG_GB;++i){
AWG_Ja=AWG_KG.charCodeAt(i);if(AWG_Ja<128){
AWG_F+=AWG_Jb(AWG_Ja)}else if((AWG_Ja>127)&&(AWG_Ja<2048)){
AWG_F+=AWG_Jb((AWG_Ja>>6)|192);AWG_F+=AWG_Jb((AWG_Ja&63)|128)}else{
AWG_F+=AWG_Jb((AWG_Ja>>12)|224);AWG_F+=AWG_Jb(((AWG_Ja>>6)&63)|128);AWG_F+=AWG_Jb((AWG_Ja&63)|128)}
}
return AWG_F}catch(e){AWG_B(AWG_C(e))}}
function AWG_WA(AWG_JD){try{
var AWG_F=AWG_$,re=/([^%]*)%(..)(.*)/;while(AWG_JD!=AWG_$){
if(AWG_JD.search(re)==-1){
AWG_F+=AWG_JD;break}
AWG_F+=RegExp.$1+String.fromCharCode(parseInt(RegExp.$2,16));AWG_JD=RegExp.$3}
return AWG_Gi(AWG_F)}catch(e){AWG_B(AWG_C(e))}}
function AWG_Gi(AWG_LC){try{
var AWG_F=AWG_$,AWG_GB=AWG_LC.length,i=0,c=0,c1=0,c2=0;while(i<AWG_GB)
{
c=AWG_LC.charCodeAt(i);if(c<128){
AWG_F+=String.fromCharCode(c);i++}
else if((c>191)&&(c<224)){
c2=AWG_LC.charCodeAt(i+1);AWG_F+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2}
else{
c2=AWG_LC.charCodeAt(i+1);c3=AWG_LC.charCodeAt(i+2);AWG_F+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3}
}
return AWG_F}catch(e){AWG_B(AWG_C(e))}}
function AWG_PJ(AWG_VA,AWG_Fa,AWG_Pf){try{
var i,AWG_GB,AWG_Pf;var AWG_F=AWG_VA,AWG_MF=new RegExp();AWG_GB=AWG_Fa.length;for(i=0;i<AWG_GB.length;++i){
AWG_MF.compile(AWG_Fa[i][0],AWG_Pf);AWG_F=AWG_F.replace(AWG_MF,AWG_Fa[i][1])}
return AWG_F}catch(e){AWG_B(AWG_C(e))}}
function AWG_$A(AWG_$H){try{
return AWG_$H.length
}catch(e){AWG_B(AWG_C(e))}}
function AWG_EB(AWG_VA,AWG_HE){try{
return(""+AWG_VA).indexOf(AWG_HE)}catch(e){AWG_B(AWG_C(e))}}
function AWG_RG(AWG_VA,AWG_$c){try{
return(""+AWG_VA).substr(AWG_$c)}catch(e){AWG_B(AWG_C(e))}}
function AWG_Ck(AWG_VA,AWG_$c,AWG_Di){try{
return(""+AWG_VA).substr(AWG_$c,AWG_Di)}catch(e){AWG_B(AWG_C(e))}}
function AWG_Rj(AWG_Qh,AWG_Ii){try{
return setTimeout(AWG_Qh,AWG_Ii)
}catch(e){AWG_B(AWG_C(e))}}
function AWG_JK(AWG_Fa,AWG_Z){try{
var AWG_Vd=[],i,j=0;for(i=0;i<AWG_Z;++i)
AWG_Vd[j++]=AWG_Fa[i];for(i=AWG_Z+1;i<AWG_$A(AWG_Fa);++i)
AWG_Vd[j++]=AWG_Fa[i];return AWG_Vd}catch(e){AWG_B(AWG_C(e))}}
function AWG_Jk(AWG_L$){try{
return document.getElementById(AWG_L$)}catch(e){AWG_B(AWG_C(e))}}
function ParamString(AWG_KB){try{
var i,AWG_SC,AWG_F=AWG_KB,argv=arguments,argc=AWG_$A(argv);for(i=argc-1;i>=1;--i){
AWG_SC=eval("/%"+i+"/g");AWG_F=AWG_F.replace(AWG_SC,argv[i])}
return AWG_F}catch(e){AWG_B(AWG_C(e))}}
String.prototype.Trim=function(){
var AWG_Ka,AWG_RA=this.valueOf();for(;AWG_RA.length>0;){
AWG_Ka=AWG_RA.substr(0,1);if((AWG_Ka==" ")||(AWG_Ka=="\r")||(AWG_Ka=="\t")||(AWG_Ka=="\n")){
AWG_RA=AWG_RA.substr(1)}else{
break}
}
for(;AWG_RA.length>0;){
AWG_Ka=AWG_RA.substr(AWG_RA.length-1,1);if((AWG_Ka==" ")||(AWG_Ka=="\r")||(AWG_Ka=="\t")||(AWG_Ka=="\n")){
AWG_RA=AWG_RA.substr(0,AWG_RA.length-1)}else{
break}
}
return AWG_RA};function CMIUnescape(AWG_Qd){try{
return AWG_WA(AWG_Qd)}catch(e){AWG_B(AWG_C(e))}}
function CMIEscape(AWG_Qd){try{
return AWG_U(AWG_Qd)}catch(e){AWG_B(AWG_C(e))}}
function JSFuncCall(AWG_Si,AWG_S$){try{
var AWG_A=AWG_Si;AWG_A+="(";for(var i=0;i<AWG_S$.length;++i){
if(i!=0)AWG_A+=",";AWG_A+="unescape('"+escape(AWG_S$[i])+"')"
}
AWG_A+=")";return AWG_A}catch(e){AWG_B(AWG_C(e))}}
function EncodePacketPart(AWG_Hc){try{
AWG_Hc=""+AWG_Hc;return AWG_Hc.length.toString(16)+":"+AWG_Hc}catch(e){AWG_B(AWG_C(e))}}
function EncodePacketParts(){try{
var AWG_A=[];for(var i=0;i<arguments.length;++i){
AWG_A.push(EncodePacketPart(arguments[i]))}
return AWG_A.join("")}catch(e){AWG_B(AWG_C(e))}}
function DecodePacketPart(AWG_QB){try{
var AWG_IA=AWG_QB.indexOf(":");var AWG_HG=parseInt(AWG_QB,16);return{
AWG_Sg: AWG_QB.substr(AWG_IA+1,AWG_HG),AWG_DJ: AWG_QB.substr(AWG_IA+1+AWG_HG)
}
}catch(e){AWG_B(AWG_C(e))}}
function DecodePacketParts(AWG_QB){try{
var AWG_A=[];var i=0;while(AWG_QB !=""){
var tTmp=DecodePacketPart(AWG_QB);AWG_QB=tTmp.AWG_DJ;AWG_A.push(tTmp.AWG_Sg)}
return AWG_A}catch(e){AWG_B(AWG_C(e))}}
function Decode(AWG_Oa){try{
var AWG_A=[];var AWG_YA=AWG_Oa.split("&")
for(var i=0;i<AWG_YA.length;++i){
var AWG_Xf=AWG_YA[i].split("=",2);var AWG_Be=decodeURIComponent(AWG_Xf[0]);var AWG_XC=decodeURIComponent(AWG_Xf[1])
if(!isNaN(parseFloat(AWG_XC))){
AWG_XC=parseFloat(AWG_XC)}else if(!isNaN(parseInt(AWG_Be,10))){
AWG_XC=parseInt(AWG_Be)};AWG_A[AWG_Be.toUpperCase()]=AWG_XC}
return AWG_A}catch(e){AWG_B(AWG_C(e))}}
function Encode(AWG_Oa){try{
var AWG_A="";if(typeof(AWG_Oa.length)!=AWG_E$){
for(var i=0;i<AWG_Oa.length;i+=2)
{
if(AWG_Oa[i]=="")continue;if(AWG_A!="")AWG_A+="&";AWG_A+=AWG_U(AWG_Oa[i])+"="+AWG_U(AWG_Oa[i+1])}
}else{
for(var AWG_T in AWG_Oa)
{
if(AWG_A!="")AWG_A+="&";AWG_A+=AWG_U(AWG_T)+"="+AWG_U(AWG_Oa[AWG_T])}
}
return AWG_A}catch(e){AWG_B(AWG_C(e))}}
function MakeCallable(AWG_J,AWG_OA,AWG_CC){try{
if(typeof(AWG_CC)=="undefined")AWG_CC="";window.HOSTING_OBJECT.RegisterObject(AWG_J,new CCallableObject(AWG_OA,AWG_CC))}catch(e){AWG_B(AWG_C(e))}}
function CCallableObject(AWG_GJ,AWG_CC){try{
this.AWG_BD=AWG_GJ;var AWG_Bf=AWG_CC.split(",");this.AWG_Re={};for(var i=0;i<AWG_Bf.length;++i){
this.AWG_Re[AWG_Bf[i]]=1}
}catch(e){AWG_B(AWG_C(e))}}
CCallableObject.prototype.Call=function(AWG_R$,AWG_A$,AWG_AA,AWG_HA){try{
var AWG_X$=this.AWG_BD[AWG_R$],AWG_Yb=(typeof(this.AWG_Re[AWG_R$])!="undefined"),AWG_JC=(AWG_AA!=""),AWG_PB=null
if(AWG_Yb && AWG_JC){
AWG_PB=new Function("result","result['responsenumber']=unescape('"+escape(AWG_HA)+"');window.HOSTING_OBJECT.Call(unescape('"+escape(AWG_AA)+"'),'RESULT',Encode(result),'','');")}
try{
var AWG_A=AWG_X$.call(this.AWG_BD,Decode(AWG_A$),AWG_PB)}catch(e){
AWG_A={
error: "Excpetion!"+e.message,value: ''
}
}
if(!AWG_Yb && AWG_JC){
switch(typeof(AWG_A)){
case "string":
case "number":
AWG_A={value:AWG_A};break;case "undefined":
AWG_A={};break}
AWG_A["responsenumber"]=AWG_HA;window.HOSTING_OBJECT.Call(AWG_AA,"RESULT",Encode(AWG_A),'','')}
}catch(e){AWG_B(AWG_C(e))}}
function CCallbackProxy(AWG_GA){try{
this.AWG_DE=[];this.AWG_AH=AWG_GA.RegisterObject("callbacks",this)}catch(e){AWG_B(AWG_C(e))}}
CCallbackProxy.prototype.Call=function(AWG_R$,AWG_A$,AWG_AA,AWG_HA){try{
var AWG_X$=(this.AWG_DE[parseInt(AWG_R$.substr(2),10)]),AWG_Yb=AWG_X$.AWG_PH,AWG_JC=(AWG_AA!=""),AWG_PB=null
if(AWG_Yb && AWG_JC){
AWG_PB=new Function("result","result['responsenumber']=unescape('"+escape(AWG_HA)+"');window.HOSTING_OBJECT.Call(unescape('"+escape(AWG_AA)+"'),'RESULT',Encode(result),'','');")}
try{
var AWG_P$=Decode(AWG_A$);AWG_P$["CLOSURE"]=AWG_X$.AWG_YI;var AWG_A=AWG_X$.AWG_Ei.call(AWG_X$.AWG_BD,AWG_P$,AWG_PB)}catch(e){
AWG_A={
error: "Excpetion!"+e.message,value: ''
}
}
if(!AWG_Yb && AWG_JC){
switch(typeof(AWG_A)){
case "string":
case "number":
AWG_A={value:AWG_A};break;case "undefined":
AWG_A={};break}
AWG_A["responsenumber"]=AWG_HA;window.HOSTING_OBJECT.Call(AWG_AA,"RESULT",Encode(AWG_A),'','')}
}catch(e){AWG_B(AWG_C(e))}}
CCallbackProxy.prototype.Register=function(AWG_OA,AWG_Ra,AWG_UE,AWG_$D){try{
this.AWG_DE.push({
AWG_BD : AWG_OA,AWG_Ei : AWG_Ra,AWG_YI : AWG_UE,AWG_PH : false 
});AWG_$D["CALLBACK_OBJECT"]=this.AWG_AH;AWG_$D["CALLBACK_METHOD"]="CB"+(this.AWG_DE.length-1)}catch(e){AWG_B(AWG_C(e))}}
function CHostingObject(AWG_GA){try{
this.AWG_DA=""
this.AWG_TA=[];this.AWG_Mb=[];this.AWG_SD=[];this.AWG_YC=0;this.AWG_EE=[];this.AWG_$e=[];this.AWG_HC=[];this.AWG_QE=null;if(typeof(AWG_GA)=="undefined")AWG_GA=null;this.AWG_M$=AWG_GA;this.FindParent()}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.RegisterCallback=function(AWG_OA,AWG_Ra,AWG_UE,AWG_$D){try{
if(this.AWG_QE==null)this.AWG_QE=new CCallbackProxy(this);return this.AWG_QE.Register(AWG_OA,AWG_Ra,AWG_UE,AWG_$D)}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.FindParentWnd=function(AWG_Gb){try{
try{
if(AWG_Gb.HOSTING_OBJECT)return AWG_Gb.HOSTING_OBJECT;if((AWG_Gb.parent==AWG_Gb)||(AWG_Gb.parent==null))return null;return this.FindParentWnd(AWG_Gb.parent)}catch(e){
return null}
}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.FindParent=function(){try{
if((this.AWG_M$==null)&&(window.parent!=window)&&(window.parent!=null)){
this.AWG_M$=this.FindParentWnd(window.parent)}
if((this.AWG_M$==null)&&(window.opener!=null)){
this.AWG_M$=this.FindParentWnd(window.opener)}
if(this.AWG_M$){
this.AWG_M$.RegisterHostingObject(this,"js")}else{
this.AWG_DA="HCROOT"
}
}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.InvokeMethod=function(AWG_J,AWG_R$,AWG_A$,AWG_XI,AWG_Vf){try{
var AWG_Gd=AWG_$,AWG_Uc="",AWG_IA=-1;if(typeof(AWG_Vf)=="function"){
AWG_Gd=this.AWG_DA;AWG_Uc=this.AWG_SD.length;this.AWG_SD[AWG_Uc]={
object : AWG_XI,func : AWG_Vf,timeout :-1
}
}
AWG_IA=AWG_J.indexOf("//");if(AWG_IA !=-1){
this.Call(AWG_J.substr(0,AWG_IA),"CALL",Encode([
"OBJECT",AWG_J.substr(AWG_IA+2),"METHOD",AWG_R$,"ARGUMENTS",Encode(AWG_A$)
]),AWG_Gd,AWG_Uc
)}else{
this.Call(AWG_J,AWG_R$,Encode(AWG_A$),AWG_Gd,AWG_Uc)
}
}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.HandleResult=function(AWG_A$){try{
var AWG_Ea=parseInt(AWG_A$["RESPONSENUMBER"],10),AWG_X$=this.AWG_SD[AWG_Ea];if(typeof(AWG_X$)=="undefined"){alert("invalid response number!")}
AWG_X$.func.call(AWG_X$,AWG_A$)}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.UnregisterRoute=function(AWG_Se){try{
for(var AWG_T in this.AWG_TA){
if(this.AWG_TA[AWG_T]==AWG_Se){
delete this.AWG_TA[AWG_T]}
}
delete this.AWG_Mb[AWG_Se]}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.Call=function(AWG_J,AWG_R$,AWG_A$,AWG_AA,AWG_HA,AWG_Oh,AWG_XH){try{
if(AWG_J==this.AWG_DA){
var AWG_P$=Decode(AWG_A$);if(AWG_R$=="RESULT"){
this.HandleResult(AWG_P$)}else if(AWG_R$=="CALL"){
this.Call(AWG_P$["OBJECT"],AWG_P$["METHOD"],AWG_P$["ARGUMENTS"],AWG_AA,AWG_HA,false,true)}
return}
if(typeof(this.AWG_EE[AWG_J])!=AWG_E$){
this.AWG_EE[AWG_J].Call(AWG_R$,AWG_A$,AWG_AA,AWG_HA);return}
if(typeof(this.AWG_$e[AWG_J])!=AWG_E$){
this.Call(this.AWG_$e[AWG_J],AWG_R$,AWG_A$,AWG_AA,AWG_HA);return}
if(typeof(this.AWG_TA[AWG_J])!=AWG_E$){
var tHost=this.AWG_Mb[this.AWG_TA[AWG_J]];try{
tHost.object.Call(AWG_J,AWG_R$,AWG_A$,AWG_AA,AWG_HA)}catch(e){
this.UnregisterRoute(this.AWG_TA[AWG_J])}
return}
if((this.AWG_M$)&&(!AWG_XH)){
this.AWG_M$.Call(AWG_J,AWG_R$,AWG_A$,AWG_AA,AWG_HA)}else{
if(AWG_Oh){
AWG_B("CFlashToJS: Object "+AWG_J+" not found!")}else{
if(typeof(this.AWG_HC[AWG_J])==AWG_E$){
this.AWG_HC[AWG_J]=[]}
this.AWG_HC[AWG_J].push([AWG_J,AWG_R$,AWG_A$,AWG_AA,AWG_HA,true])}
}
}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.AWG_Tf=function(AWG_J){try{
var i,AWG_$E=this.AWG_HC[AWG_J];if(typeof(AWG_$E)!=AWG_E$){
delete this.AWG_HC[AWG_J];for(i=0;i<AWG_$E.length;++i){
this.Call.apply(this,AWG_$E[i])}
}
}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.RegisterRoute=function(AWG_FC,AWG_J){try{
this.AWG_TA[AWG_J]=AWG_FC;if(this.AWG_M$!=null){
this.AWG_M$.RegisterRoute(this.AWG_DA,AWG_J)}
this.AWG_Tf(AWG_J);return 1}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.SetName=function(AWG_KA){try{
this.AWG_DA=AWG_KA}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.RegisterHostingObject=function(AWG_OA,AWG_Ya){try{
this.AWG_YC++;var AWG_BA=this.AWG_DA+"/HC"+this.AWG_YC;AWG_OA.SetName(AWG_BA)
this.RegisterRoute(AWG_BA,AWG_BA);this.AWG_Mb[AWG_BA]={type:AWG_Ya,object:AWG_OA}
}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.RegisterAlias=function(AWG_J,AWG_OE){try{
this.AWG_$e[AWG_OE]=AWG_J;if(this.AWG_M$ !=null){
this.AWG_M$.RegisterRoute(this.AWG_DA,AWG_OE)}
this.AWG_Tf(AWG_OE)}catch(e){AWG_B(AWG_C(e))}}
CHostingObject.prototype.RegisterObject=function(AWG_J,AWG_OA){try{
this.AWG_EE[AWG_J]=AWG_OA;if(this.AWG_M$!=null){
this.AWG_M$.RegisterRoute(this.AWG_DA,AWG_J)}
var AWG_SG=this.AWG_DA+"|"+AWG_J;this.RegisterAlias(AWG_J,AWG_SG);return AWG_SG}catch(e){AWG_B(AWG_C(e))}}
function CSequential(){try{
this.AWG_Sd=0;this.AWG_Hd=[];this.THIS_STR="CSequential"+".prototype.AWG_WB["+CSequential.prototype.AWG_WB.length+"]";CSequential.prototype.AWG_WB.push(this)}catch(e){AWG_B(AWG_C(e))}}
CSequential.prototype.AWG_WB=[];CSequential.prototype.AddEntry=function(AWG_O$){try{
this.AWG_Hd.push(AWG_O$);this.AWG_Ne()}catch(e){AWG_B(AWG_C(e))}}
CSequential.prototype.AWG_Ne=function(){try{
if(this.AWG_Sd !=0)return;this.AWG_Sd=setTimeout(this.THIS_STR+".AWG_Ui()",10)}catch(e){AWG_B(AWG_C(e))}}
CSequential.prototype.OnEntry=function(){try{
return 0}catch(e){AWG_B(AWG_C(e))}}
CSequential.prototype.AWG_Ui=function(){try{
var AWG_K$=this.AWG_Hd.shift();this.OnEntry(AWG_K$);this.AWG_Sd=0;if(this.AWG_Hd.length !=0){
this.AWG_Ne()}
}catch(e){AWG_B(AWG_C(e))}}
function CJSFlashBinding(AWG_GA){try{
this.THIS_STR="CJSFlashBinding"+".prototype.AWG_WB["+CJSFlashBinding.prototype.AWG_WB.length+"]";CJSFlashBinding.prototype.AWG_WB.push(this);this.AWG_Ej=[];this.AWG_Sh=[];this.AWG_DA="";if(AWG_GA==null)AWG_GA=window.HOSTING_OBJECT;this.AWG_GD=[];this.AWG_GD['flashtojs']=this.AWG_II;this.AWG_GD['javascript']=this.AWG_Pg;this.AWG_Mb=[];this.AWG_YC=0;this.AWG_TA=[];this.AWG_M$=AWG_GA;this.AWG_M$.RegisterHostingObject(this,"js")}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.AWG_WB=[];CJSFlashBinding.prototype.AWG_MI=function(AWG_Qb,AWG_S$){try{
try{
var AWG_Zg=CMIUnescape(AWG_Qb),AWG_P$=AWG_S$;if(AWG_P$.substr(0,1)!="["){
AWG_P$=CMIUnescape(AWG_P$)}else{
AWG_P$=eval(AWG_P$);var tCall=CMIUnescape(AWG_P$[0])+"(";for(var j=1;j<AWG_P$.length;++j){
if(j!=1)tCall+=",";tCall+="CMIUnescape('"+AWG_P$[j]+"')"}
tCall+=")";AWG_P$=tCall}
return this.AWG_Te(AWG_Zg,AWG_P$)}catch(e){
return{
AWG_ZC :"",AWG_Kb :AWG_C(e)
}}
}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.LifeSign=function(AWG_KA){try{
this.AWG_UC(AWG_KA,AWG_KA,true)}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.SetName=function(AWG_KA){try{
this.AWG_DA=AWG_KA}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.AWG_II=function(AWG_S$,AWG_ZE){try{
var binding=this;;var AWG_A=eval(AWG_S$);AWG_ZE.SetResult(AWG_A)}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.AWG_Pg=function(AWG_S$,AWG_ZE){try{
var AWG_A=eval(AWG_S$);AWG_ZE.SetResult(AWG_A)}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.RegisterCommand=function(AWG_Ya,AWG_Ra){try{
this.AWG_GD[AWG_Ya]=AWG_Ra}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.AWG_Te=function(AWG_Qb,AWG_S$){try{
var AWG_A={
AWG_Kb :"",AWG_ZC :"",SetResult : function(AWG_MA){if(typeof(AWG_MA)==AWG_E$)AWG_MA="";this.AWG_ZC=AWG_MA},SetError : function(AWG_Uf){this.AWG_Kb=AWG_Uf;AWG_B("ERROR:"+AWG_Uf)}
};try{
var AWG_PB=this.AWG_GD[AWG_Qb.toLowerCase()];if(typeof(AWG_PB)==AWG_E$){
AWG_A.SetError("Commandtype '"+AWG_Qb+"' is not defined! Args="+AWG_S$)}else{
AWG_PB.call(this,AWG_S$,AWG_A)}
}catch(e){
AWG_A.SetError("Exception:"+AWG_C(e))}
return AWG_A}catch(e){AWG_B(AWG_C(e))}}
function getFlashMovieObject(AWG_RC){try{
if(window.document[AWG_RC])
{
return window.document[AWG_RC]}
if(navigator.appName.indexOf("Microsoft Internet")==-1)
{
if(document.embeds && document.embeds[AWG_RC])
return document.embeds[AWG_RC]}
else
{
return document.getElementById(AWG_RC)}
}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.FlashObjectHTML=function(AWG_B$,AWG_Ia,AWG_LB,AWG_OB,AWG_Y$,AWG_Va,AWG_Oe,AWG_Bd){try{
var AWG_F,AWG_EG=AWG_$,AWG_VF=AWG_$;if("|_blank|window|opaque|transparent|".indexOf("|"+AWG_Va+"|")==-1){
AWG_Va="window"}
this.AWG_YC++;AWG_Ke++;var AWG_BA=this.AWG_DA+"/FC"+this.AWG_YC;if(typeof(AWG_B$)==AWG_E$)AWG_B$=AWG_$;var AWG_Ib=(AWG_B$!=AWG_$)?AWG_B$:(AWG_VI+AWG_Ke);var tFlashObject={
AWG_HF : AWG_Ib,AWG_Nc : 0,AWG_HK : AWG_BA,AWG_AI : this,AWG_GI : 0,AWG_Dg :-1,AWG_EH : 0,AWG_Xc : 0,AWG_Wb :[]
};gFlashToJS.Register(tFlashObject);this.AWG_UC(AWG_BA,AWG_BA,false);this.AWG_M$.RegisterAlias(AWG_BA,AWG_Ib);if(typeof(AWG_Bd)==AWG_E$)AWG_Bd=AWG_$;var AWG_PA=AWG_Bd.split(",");for(var i=0;i<AWG_PA.length;++i){
this.AWG_UC(AWG_BA,AWG_PA[i],false);this.AWG_UC(AWG_BA,AWG_BA+"|"+AWG_PA[i],false);this.AWG_M$.RegisterAlias(AWG_BA+"|"+AWG_PA[i],AWG_Ib+"."+AWG_PA[i])}
this.AWG_Mb[AWG_BA]=tFlashObject;this.AWG_Sh[AWG_Ib]=AWG_BA;while(AWG_Y$.substr(0,1)=="?")AWG_Y$=AWG_Y$.substr(1);while(AWG_Y$.substr(0,1)=="&")AWG_Y$=AWG_Y$.substr(1);var AWG_IA=AWG_Ia.indexOf("?");if(AWG_IA!=-1){
AWG_Y$=AWG_Ia.substr(AWG_IA+1)+"&"+AWG_Y$;AWG_Ia=AWG_Ia.substr(0,AWG_IA)}
if(AWG_Y$ !="")AWG_Y$="&"+AWG_Y$;tURI=AWG_Ia+"?FLASHTOJS_PARENT="+AWG_U(AWG_BA)+AWG_Y$.replace(new RegExp("&","g"),"&amp;");var tWH="";if(AWG_LB !="")tWH+=" width="+AWG_LB;if(AWG_OB !="")tWH+=" height="+AWG_OB;tWH+=" id="+AWG_Ib;try{
AWG_EG='<object '+' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+tWH+'>'+'<param name="wmode" value="'+AWG_Va+'">'+'<param name="movie" value="'+tURI+'">'+'<param name="quality" value="high">'+'<param name="base" value="'+AWG_Oe+'">'+'<param name="allowScriptAccess" value="always">'+'<PARAM NAME=loop VALUE=false>'+'<PARAM NAME=menu VALUE=false>'+'</object>';AWG_VF='<embed '+' src="'+tURI+'"'+tWH+' name="'+AWG_Ib+'"'+' type="application/x-shockwave-flash"'+' base="'+AWG_Oe+'"'+' wmode="'+AWG_Va+'"'+' allowScriptAccess="always"'+' loop=false menu=false'+' swliveconnect="true"'+'></embed>';AWG_F=document.all?AWG_EG:AWG_VF}catch(e){
AWG_B(AWG_C(e))}
return AWG_F}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.Call=function(AWG_J,AWG_R$,AWG_A$,AWG_AA,AWG_HA){try{
if(AWG_J==this.AWG_DA){
return}
if(typeof(this.AWG_TA[AWG_J])!=AWG_E$){
var AWG_BE=this.AWG_TA[AWG_J]
if(!AWG_BE.AWG_NF){
var AWG_P$=[];for(var i=0;i<arguments.length;++i)AWG_P$[i]=arguments[i];AWG_BE.AWG_TD.push(AWG_P$)}else{
var tHost=this.AWG_Mb[AWG_BE.AWG_DA];tHost.AWG_Wb.push(EncodePacketPart(EncodePacketParts("C",Encode(
["objectid",AWG_J,"method",AWG_R$,"arguments",AWG_A$,"responsetarget",AWG_AA,"responsenumber",AWG_HA
]))))}
return}
if(this.AWG_M$){
this.AWG_M$.Call(AWG_J,AWG_R$,AWG_A$,AWG_AA,AWG_HA)}else{
AWG_B("CFlashToJS: Object "+AWG_J+" not found!")}
}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.AWG_UC=function(AWG_FC,AWG_J,AWG_Og){try{
var AWG_X$=this.AWG_TA[AWG_J];var AWG_JG=false;if(typeof(AWG_X$)==AWG_E$){
AWG_X$=this.AWG_TA[AWG_J]={AWG_TD:[]};AWG_JG=true}
AWG_X$.AWG_DA=AWG_FC,AWG_X$.AWG_NF=AWG_Og;if(AWG_X$.AWG_NF){
var AWG_Ie=AWG_X$.AWG_TD;AWG_X$.AWG_TD=[];for(var i=0;i<AWG_Ie.length;++i){
this.Call.apply(this,AWG_Ie[i])}
}
if((this.AWG_M$!=null)&&AWG_JG){
this.AWG_M$.RegisterRoute(this.AWG_DA,AWG_J)}
return 1}catch(e){AWG_B(AWG_C(e))}}
CJSFlashBinding.prototype.RegisterRoute=function(AWG_FC,AWG_J){try{
return this.AWG_UC(AWG_FC,AWG_J,true)}catch(e){AWG_B(AWG_C(e))}}
function CFlashToJS(){try{
this.AWG_AC=0;this.AWG_VE=[]}catch(e){AWG_B(AWG_C(e))}}
CFlashToJS.prototype.Register=function(AWG_O$){try{
this.AWG_VE.push(AWG_O$);this.Start()}catch(e){AWG_B(AWG_C(e))}}
CFlashToJS.prototype.ProcessCommand=function(AWG_Qb,AWG_O$){try{
var AWG_YA=DecodePacketParts(AWG_Qb);switch(AWG_YA[0]){
case "C":
var AWG_A=AWG_O$.AWG_AI.AWG_MI(AWG_YA[2],AWG_YA[3]);if(AWG_A.AWG_Kb !=""){
AWG_O$.AWG_Wb.push(EncodePacketPart(EncodePacketParts("E",AWG_YA[1],AWG_A.AWG_Kb)))}else{
AWG_O$.AWG_Wb.push(EncodePacketPart(EncodePacketParts("R",AWG_YA[1],AWG_A.AWG_ZC)))}
break;default:
AWG_B("??")}
}catch(e){AWG_B(AWG_C(e))}}
CFlashToJS.prototype.ProcessPacket=function(AWG_HJ,AWG_O$){try{
var AWG_YA=DecodePacketParts(AWG_HJ);for(var i=0;i<AWG_YA.length;++i){
this.ProcessCommand(AWG_YA[i],AWG_O$)}
}catch(e){AWG_B(AWG_C(e))}}
CFlashToJS.prototype.Debug_DataTransfer=function(){try{
this.AWG_$G()}catch(e){AWG_B(AWG_C(e))}}
CFlashToJS.prototype.AWG_$G=function(){try{
var i,AWG_RD=new Date().getTime(),AWG_PA=[];for(var i=0;i<this.AWG_VE.length;++i){
var AWG_K$=this.AWG_VE[i],AWG_P=null;AWG_P=getFlashMovieObject(AWG_K$.AWG_HF);if(!AWG_P)continue;if(AWG_K$.AWG_Nc==0){
AWG_K$.AWG_Nc=AWG_RD+1000;continue}
var AWG_PE=0;try{
AWG_PE=AWG_P.PercentLoaded()}catch(e){
AWG_PE=0}
if(AWG_PE<100){
continue}else{
AWG_K$.AWG_Nc=AWG_RD}
if(AWG_K$.AWG_Nc>AWG_RD)
continue;AWG_PA.push([AWG_P,AWG_K$])}
for(var i=0;i<AWG_PA.length;++i){
var AWG_P=AWG_PA[i][0],AWG_K$=AWG_PA[i][1],AWG_MB="",AWG_Jg="_root.J2F_OutputVar"+AWG_K$.AWG_Xc;AWG_K$.AWG_Xc++;AWG_K$.AWG_Xc%=2;try{
AWG_P.SetVariable("_root.J2F_OutputTarget",AWG_K$.AWG_Xc);AWG_MB=AWG_P.GetVariable(AWG_Jg);if(AWG_MB==null)AWG_MB="";AWG_P.SetVariable(AWG_Jg,"")}catch(e){
AWG_B("Error while SetVariable:"+AWG_K$.AWG_HF+"\n"+AWG_C(e))
}
if(AWG_MB.length>0){
if(AWG_MB.length>AWG_K$.AWG_Dg)AWG_K$.AWG_Dg=AWG_MB.length;AWG_K$.AWG_EH+=AWG_MB.length;AWG_K$.AWG_GI++;this.ProcessPacket(AWG_MB,AWG_K$)}
}
for(var i=0;i<AWG_PA.length;++i){
var AWG_P=AWG_PA[i][0],AWG_K$=AWG_PA[i][1];try{
if(AWG_K$.AWG_Wb.length>0){
AWG_P.SetVariable("_root.J2F_Input",AWG_K$.AWG_Wb.join(""));AWG_K$.AWG_Wb=[]}
}catch(e){
AWG_B("Error while GetVariable:"+AWG_C(e))
}
}
}catch(e){AWG_B(AWG_C(e))}}
CFlashToJS.prototype.Start=function(){try{
if(this.AWG_AC!=0)return;this.AWG_AC=setInterval("gFlashToJS.AWG_$G()",100)}catch(e){AWG_B(AWG_C(e))}}
CFlashToJS.prototype.Stop=function(){try{
if(this.AWG_AC==0)return;clearInterval(this.AWG_AC);this.AWG_AC=0}catch(e){AWG_B(AWG_C(e))}}
function MakeSearchString(AWG_OA)
{
var AWG_A="";for(var AWG_T in AWG_OA){
AWG_A+="&"+encodeURIComponent(AWG_T)+"="+encodeURIComponent(AWG_OA[AWG_T])}
return AWG_A}
function CreateFlashObject(AWG_B$,AWG_Ia,AWG_Va,AWG_UA,AWG_Xe,AWG_CF){try{
var AWG_WE=(AWG_Va=="_blank"),AWG_HH=!document.all &&(AWG_Va !="window")
AWG_P=null,AWG_Md=AWG_$,AWG_X=[];AWG_X["NAME"]=[];AWG_X["STYLE"]=[];AWG_X["HTML"]=AWG_$;if(AWG_WE||AWG_HH){
AWG_Md=MakeSearchString(
{
objects :AWG_CF,swf :AWG_Ia,width :AWG_UA.width,height :AWG_UA.height,id :AWG_B$,wmode :AWG_WE?"window":AWG_Va
});if(AWG_WE){
window.open("CFlashToJS.html?"+AWG_Md,AWG_B$,"width="+AWG_UA.width+",height="+AWG_UA.height);return ""}
AWG_X["NAME"]="IFRAME";AWG_X["src"]="CFlashToJS.html?"+AWG_Md;AWG_X["STYLE"]["overflow"]="hidden";AWG_X["STYLE"]["border"]="0px solid #000"}else{
var AWG_Yd=gFlashToJSBinding.FlashObjectHTML(AWG_B$,AWG_Ia,AWG_UA.width,AWG_UA.height,"",AWG_Va,".",AWG_CF);AWG_X["NAME"]="span";AWG_X["HTML"]=AWG_Yd}
AWG_X["id"]=AWG_B$+"_container";AWG_X["STYLE"]["width"]=AWG_UA.width+"px";AWG_X["STYLE"]["height"]=AWG_UA.height+"px";if((AWG_UA.left !=null)&&(AWG_UA.top!=null)){
AWG_X["STYLE"]["left"]=AWG_UA.left+"px";AWG_X["STYLE"]["top"]=AWG_UA.top+"px";AWG_X["STYLE"]["position"]="absolute"}
if(AWG_Xe){
AWG_P=document.createElement(AWG_X["NAME"]);for(var AWG_T in AWG_X){
if(AWG_T=="STYLE"){
for(var tStyle in AWG_X[AWG_T]){
AWG_P.style[tStyle]=AWG_X[AWG_T][tStyle]}
}else if(AWG_T=="HTML"){
AWG_P.innerHTML=AWG_X[AWG_T]}else if(AWG_T !="NAME"){
AWG_P[AWG_T]=AWG_X[AWG_T]}
}
AWG_Xe.appendChild(AWG_P);return ""}else{
var AWG_A="<"+AWG_X["NAME"];for(var AWG_T in AWG_X){
if(AWG_T=="STYLE"){
AWG_A+=" style=\"";for(var tStyle in AWG_X[AWG_T]){
AWG_A+=tStyle+":"+AWG_X[AWG_T][tStyle]+";"
}
AWG_A+="\""}else if(AWG_T=="HTML"){
}else if(AWG_T !="NAME"){
AWG_A+=" "+AWG_T+"=\""+AWG_X[AWG_T].replace(/&/g,"&amp;")+"\""}
}
AWG_A+=">"+AWG_X["HTML"]+"</"+AWG_X["NAME"]+">";return AWG_A}
}catch(e){AWG_B(AWG_C(e))}}
function AWG_BJ(AWG_B$)
{
if(!AWG_Dd(AWG_B$))
return;var tWnd=AWG_SB[AWG_B$];if(tWnd.mIsIFRAME){
if(typeof(CustomFunction_DestroyIFrame)!="undefined"){
CustomFunction_DestroyIFrame(AWG_B$)}else{
DestroyIFrame(document.body,AWG_B$)}
delete AWG_SB[AWG_B$]}else{
tWnd.mWnd.close();delete AWG_SB[AWG_B$]}
}
function AWG_UH(AWG_B$,AWG_LB,AWG_OB)
{
if(!AWG_Dd(AWG_B$))
return;var tWnd=AWG_SB[AWG_B$];if(tWnd.mIsIFRAME){
tWnd.mElem.style.visibility="";if(typeof(AWG_LB)!="undefined")tWnd.mElem.style.width=AWG_LB+"px";if(typeof(AWG_OB)!="undefined")tWnd.mElem.style.height=AWG_OB+"px"}else{
tWnd.mWnd.focus()}
}
function AWG_MK()
{
var i,AWG_A=arguments[0]+"(";for(i=1;i<arguments.length;++i){
if(i>1)AWG_A+=",";AWG_A+="'"+arguments[i]+"'"}
AWG_A+=")";return AWG_A}
function AWG_Fj(aArg)
{
if(AWG_Vb)AWG_WI(aArg)}
function AWG_WI(aArg)
{
var tLine=new Date()+": "+aArg+"<br>";alert(tLine)}
function AWG_Sk(AWG_KC)
{
AWG_Bc=AWG_KC}
function AWG_Rk()
{
with(location){
if(protocol=="file:"){
return protocol+"///"+pathname.substr(1)}else{
return AWG_Ih()}
}
}
function AWG_Ih(){
with(location){
if(protocol=="file:"){
return pathname.substr(1)}else{
return protocol+"//"+hostname+(port==AWG_$?AWG_$:":"+port)+pathname
}
}
}
function AWG_ZK(AWG_Mc){
var tCnt=0;if(AWG_Mc.indexOf("file:///")!=-1)tCnt=2;if(AWG_Mc.indexOf("http://")!=-1)tCnt=1;if(AWG_Mc.indexOf("https://")!=-1)tCnt=1;var AWG_F=AWG_$,i,j,AWG_Q$=AWG_Mc.replace(new RegExp("\\\\","g"),"/").split("/")
for(i=0;i<AWG_Q$.length;++i){
if(AWG_Q$[i]==AWG_$){
if(tCnt>0){
AWG_Q$[i]="°";tCnt--}
}else if(AWG_Q$[i]=="."){
AWG_Q$[i]=AWG_$}else if(AWG_Q$[i]==".."){
AWG_Q$[i]=AWG_$;for(j=i-1;j>=0;--j){
if(AWG_Q$[j]!=AWG_$){
AWG_Q$[j]=AWG_$;break}
}
}
}
for(i=0;i<AWG_Q$.length;++i){
if(AWG_Q$[i]!=AWG_$){
if(AWG_F!=AWG_$)AWG_F+="/";if(AWG_Q$[i]!="°")AWG_F+=AWG_Q$[i]}
}
return AWG_F}
function AWG_Rg()
{
var i,AWG_Cf,AWG_QF,AWG_Kc,AWG_Fa=navigator.plugins,AWG_Vi=AWG_Fa.length;for(i=0;i<AWG_Vi;++i){
AWG_QF=AWG_Fa[i];AWG_Kc=AWG_QF.description;if(AWG_Kc.indexOf("Authorware Web Player")!=-1){
AWG_Cf=AWG_Kc.substring(AWG_Kc.indexOf("version\40")+8);return parseFloat(AWG_Cf)}
}
return 0}
function AWClient_Header1(){
document.write("<scr"+"ipt src=\""+AWC_LMDIR+"dtcparams.js\"></sc"+"ript>")
}
function AWClient_Header2(){
for(var i=0;i<AWP_JS_FILES.length;++i){
document.write("<scr"+"ipt src=\""+AWP_JS_FILES[i]+"\"></sc"+"ript>")
}
window.onload=AWClient_onLoad}
function AWG_KE(){
if(AWG_TG)return;AWG_TG=true;if(typeof(AWP_PARAMS)=="undefined")AWP_PARAMS=""
if(typeof(AWP_PostProxy)=="undefined")AWP_PostProxy=""
if(typeof(AWP_MENU)=="undefined")AWP_MENU=[]
if(typeof(AWP_GLOSSARIES)=="undefined")AWP_GLOSSARIES=[]
if(typeof(AWP_VERSION_NN)=="undefined")AWP_VERSION_NN=6
if(typeof(AWP_VERSION_IE)=="undefined")AWP_VERSION_IE="5,2,0,60"
if(typeof(AWP_ALTERNATE_DESIGN)=="undefined")AWP_ALTERNATE_DESIGN=""
if(typeof(AWP_LOADING1)=="undefined")AWP_LOADING1=""
if(typeof(AWP_LOADING2)=="undefined")AWP_LOADING2=""
if(typeof(AWP_LOADING_HTML3)=="undefined")AWP_LOADING_HTML3=""
if(typeof(AWP_LOADING_HTML4)=="undefined")AWP_LOADING_HTML4=""
if(typeof(AWP_DOWNLOADFILE_RUN_HTML)=="undefined")AWP_DOWNLOADFILE_RUN_HTML=""
if(typeof(AWP_DOWNLOADFILE_HTML)=="undefined")AWP_DOWNLOADFILE_HTML=""
if(typeof(AWP_PluginURL)=="undefined")AWP_PluginURL=""
if(typeof(AWP_PluginNURL)=="undefined")AWP_PluginNURL=""
if(typeof(AWP_NOPLUGIN)=="undefined")AWP_NOPLUGIN=""
if(typeof(AWP_OPEN_GLOSSARY_IN_IFRAME)=="undefined")AWP_OPEN_GLOSSARY_IN_IFRAME="0"
if(typeof(AWP_BM_ENTRY_WA)=="undefined")AWP_BM_ENTRY_WA=""
if(typeof(AWP_BM_ENTRY)=="undefined")AWP_BM_ENTRY=""
if(typeof(AWP_BM_WINDOW)=="undefined")AWP_BM_WINDOW=""
if(typeof(AWP_BM_WINDOWPARAMS)=="undefined")AWP_BM_WINDOWPARAMS=""
if(typeof(AWP_HELP)=="undefined")AWP_HELP=""
if(typeof(AWP_QUIT)=="undefined")AWP_QUIT=""
if(typeof(AWP_PAGES)=="undefined")AWP_PAGES=""
if(typeof(AWP_MASTERYSCORE)=="undefined")AWP_MASTERYSCORE="1"
if(typeof(AWP_MINSCORE)=="undefined")AWP_MINSCORE="0"
if(typeof(AWP_MAXSCORE)=="undefined")AWP_MAXSCORE=""
if(typeof(AWP_DESIGN)=="undefined")AWP_DESIGN="uboot"
if(typeof(AWP_START_STATUS)=="undefined")AWP_START_STATUS=""
if(typeof(AWP_LANGUAGE)=="undefined")AWP_LANGUAGE=""
AWG_ID(AWG_$+AWP_PARAMS,AWG_E,AWG_V);AWG_ID(AWG_$+document.PARAMS,AWG_E,AWG_V);if(typeof(CustomFunction_InitArguments)!="undefined")
CustomFunction_InitArguments(AWG_E);AWG_TE=AWP_BM_WINDOWPARAMS;if(AWG_J$(AWG_E,AWG_CG))AWG_Ub=AWG_E[AWG_CG];if(AWG_J$(AWG_E,AWG_Yf))AWG_Xb=AWG_E[AWG_Yf];if(AWG_J$(AWG_E,AWG_EC))AWG_FH=AWG_E[AWG_EC];if(AWG_J$(AWG_E,AWG_TC))AWG_CH=AWG_E[AWG_TC];if(AWG_J$(AWG_E,AWG_Cb))AWG_Bc=AWG_E[AWG_Cb];if(AWG_J$(AWG_E,AWG_SF))AWG_KD=AWG_E[AWG_SF];if(AWG_J$(AWG_E,AWG_Cg))AWG_We=AWG_E[AWG_Cg];if(AWG_J$(AWG_E,AWG_He))AWG_GG=AWG_E[AWG_He];if(AWG_J$(AWG_E,AWG_Ge))AWG_Ic=AWG_E[AWG_Ge];if(AWG_J$(AWG_E,AWG_BF))AWG_TE=AWG_E[AWG_BF];if(AWG_J$(AWG_E,AWG_If))AWG_Of=AWG_E[AWG_If];if(AWG_J$(AWG_E,AWG_Gf))AWP_PAGES=AWG_E[AWG_Gf];if(AWG_J$(AWG_E,AWG_$f))AWP_MASTERYSCORE=AWG_E[AWG_$f];if(AWG_J$(AWG_E,AWG_WF))AWP_MINSCORE=AWG_E[AWG_WF];if(AWG_J$(AWG_E,AWG_ZG))AWP_MAXSCORE=AWG_E[AWG_ZG];if(AWG_J$(AWG_E,AWG_UG))AWP_DESIGN=AWG_E[AWG_UG];if(AWG_J$(AWG_E,AWG_Ee))AWP_QUIT=AWG_E[AWG_Ee];if(AWG_J$(AWG_E,AWG_$F))AWG_YG=AWG_E[AWG_$F];if(AWG_J$(AWG_E,AWG_KF))AWP_START_STATUS=AWG_E[AWG_KF];if(AWG_J$(AWG_E,AWG_EF))AWP_LANGUAGE=AWG_E[AWG_EF];if(AWG_J$(AWG_E,AWG_IF))
AWG_Kg=(AWG_E[AWG_IF]=="1");if(AWG_J$(AWG_E,AWG_Af)){
AWG_Vb=(AWG_E[AWG_Af]=="1");AWG_KD=!AWG_Vb}
AWG_NE=AWP_START_STATUS;AWG_Cd=AWP_PAGES;AWG_Ze=AWP_MASTERYSCORE;AWG_RB=parseFloat(AWP_MINSCORE);AWG_NB=parseFloat(AWP_MAXSCORE);AWG_RF=AWP_LANGUAGE;if(isNaN(AWG_RB)){
AWG_RB=AWG_$}
if(isNaN(AWG_NB)){
AWG_NB=AWG_$}
}
function AWClient_onLoad(){
AWG_KE();document.POST_PROXY=AWLM_ResolveFilename(AWP_PostProxy);AWG_Dc=(AWP_VERSION_NN>=7.0);AWG_ZD=!AWG_Dc &&(AWP_VERSION_NN>=6.0);document.AAM_LOCAL=AWG_Dc?".a7r":(AWG_ZD?".a6r":".a5r");AWG_Ji();AWG_CA.AWG_G("sitos.alternate_design",AWP_ALTERNATE_DESIGN);AWG_CA.AWG_G("sitos.loader.loadtext1",AWP_LOADING1);AWG_CA.AWG_G("sitos.loader.loadtext2",AWP_LOADING2);AWG_CA.AWG_G("sitos.debug",AWG_Vb?"true":"false");window.onunload=AWG_Nf;if(AWG_Ic!=""){
AWG_Pe();setTimeout('AWG_LI()',100)}else if(AWG_Bc=='custom'){
}else if(AWG_Bc.match(/.swf/i)!=null){
setTimeout('AWG_$g("content",AWG_YG)',100)}else{
setTimeout('AWG_KH()',100)}
if(typeof(CustomFunction_WindowOnLoad)!="undefined"){
CustomFunction_WindowOnLoad()}
}
function AWG_DH(){
var result=AWG_$;with(document.forms["debug_form"])
debug_output.value=eval(debug_input.value);return AWG_S}
function AWG_IH(){
return(AWG_Vb?'<form name="debug_form" onsubmit="AWG_DH();return false">'+'<input name="debug_input" type="text" value="location"><br>'+'<input name="debug_output" type="text" value=""><br>'+'<input type="submit" value="OK"></form>':AWG_$)}
function AWG_LI()
{
try{
var tWnd=window.open(AWG_Ic,"_blank");tWnd.focus()}
catch(e){
}
}
function AWClient_Body(){
AWG_KE();if(AWG_Ic!=AWG_$){
{
document.write(AWP_DOWNLOADFILE_HTML)}
return}
document.write(AWG_HI(AWG_$)+AWG_IH()+"<layer name=content></layer>"
)}
function AWG_KH(){
var AWG_OG=AWC_LMDIR,AWG_Ta=AWG_$,bEnoughSpace=((screen.width>parseInt(AWG_Ub))&&(screen.height>parseInt(AWG_Xb))),AWG_$h=AWLM_ResolveFilename((document.all?AWP_PluginURL:AWP_PluginNURL)
.replace(/\$LOCATION_ENCODED\$/g,AWG_U(location.href))),AWG_Ug=AWP_NOPLUGIN.replace(/\$URL\$/g,AWG_$h),AWG_Ua=AWG_$;AWG_OG+=((AWG_Ub==640)?"loader640":"loader")+(AWG_Dc?"_7":AWG_$)+(AWG_ZD?"_6":AWG_$)+".aam";if(AWG_Rg()>=AWP_VERSION_NN){
AWG_Ua="<center><embed id=\"AuthorwareShockwaveControl\" type=\"application/x-authorware-map\" "+(bEnoughSpace?AWG_$:"window=ontop")+" src=\""+AWG_OG+"\" width="+AWG_Ub+" height="+AWG_Xb+" hspace=0 vspace=0 PLUGINSPAGE=\"/awarewebplayer/download/smart/download.htm\"></embed></center>"}else{
AWG_Ua=AWG_Ug}
with(document.layers["content"].document){
open()
write(AWG_Ua);close()}
}
function AWG_Cj()
{
}
function CloseWindow(){
window.close()}
function AWG_R(AWG_C$){return AWG_CA.LMSGetValue(AWG_C$)}
function AWG_Q(AWG_NA,AWG_C$){
AWG_C$=""+AWG_C$;if(AWG_Vb){
if(AWG_NA==AWG_Fb){}
}
if((AWG_Cd !=AWG_$)
&&(AWG_NA==AWG_Fb)
&&(AWG_C$==AWG_Cd)
)
{
AWG_Pe()}
if(AWG_NA==AWG_Qa){
if(AWG_C$ !=""){
var AWG_LA=parseFloat(AWG_C$);if(isNaN(AWG_LA))AWG_LA=0;if(AWG_RB !==AWG_$){
if(AWG_LA<AWG_RB)AWG_LA=AWG_RB}
if(AWG_NB !==AWG_$){
if(AWG_LA>AWG_NB)AWG_LA=AWG_NB}
AWG_C$=AWG_LA}
}
AWG_CA.LMSSetValue(AWG_NA,AWG_C$)
}
function AWG_Df(AWG_C$)
{
AWG_Yc(AWG_C$);var AWG_F=AWG_R(AWG_C$);if(AWG_C$==AWG_Ac){
if((AWG_F=="0")||(AWG_F==""))
AWG_F=AWG_We}
return AWG_F}
function AWG_YH(AWG_NA,AWG_C$){AWG_Yc(AWG_NA);return AWG_Q(AWG_NA,AWG_C$)}
function AWG_Yc(AWG_NA)
{
if(AWG_KD){
if((/^sitos.loader/.test(AWG_NA))
||(/^sitos.sbnw/.test(AWG_NA))
||(/^sitos.lesson_file/.test(AWG_NA))
)
{
return}
}
AWG_Yc=function(){};window.setTimeout("AWG_Jh()",50)}
function AWG_Jh()
{
}
function AWG_Ji()
{
AWG_KE();if(!AWG_KD){
AWG_Yc(AWG_Qa)}
var AWG_A=AWG_CA.LMSInitialize(AWG_$);var AWG_BC=AWG_Of.split(",");for(var i=0;i<AWG_BC.length;++i){
var AWG_T,AWG_Ad,AWG_IA=AWG_BC[i].indexOf("=");if(AWG_IA==-1){
AWG_T=AWG_BC[i];AWG_Ad=""}else{
AWG_T=AWG_BC[i].substr(0,AWG_IA);AWG_Ad=AWG_BC[i].substr(AWG_IA+1)}
AWG_Q(AWG_T,AWG_Ad)}
var AWG_H,i=0,j,AWG_$$;for(AWG_H in AWP_MENU){
AWG_$$="sitos.menus."+i
AWG_CA.AWG_G(AWG_$$+".name",AWG_H);for(j=0;j<AWP_MENU[AWG_H].length;++j){
AWG_CA.AWG_G(AWG_$$+".entries."+j+".title",AWP_MENU[AWG_H][j][0]);AWG_CA.AWG_G(AWG_$$+".entries."+j+".command",AWP_MENU[AWG_H][j][1])}++i}
var AWG_SE=parseFloat(AWG_QI());if(isNaN(AWG_SE))AWG_SE=0;if(AWG_SE==0){
AWG_CA.AWG_G(AWG_Gc,AWG_Ze)}
if(AWG_RB !==AWG_$)AWG_Q(AWG_OC,AWG_RB);if(AWG_NB !==AWG_$)AWG_Q(AWG_Hb,AWG_NB);if(AWG_NE !==AWG_$){
if(AWG_R(AWG_Ca)==AWG_Pc){
AWG_Q(AWG_Ca,AWG_NE)}
}
var tLang=AWG_R(AWG_Fd);if(tLang=="")tLang=AWG_RF;if(tLang=="")tLang="de";AWG_CA.AWG_G(AWG_Fd,tLang);return AWG_A}
function AWG_Qe()
{
var AWG_Ci=new Date(),AWG_Zh=Math.floor(AWG_Ci.getTime()-AWG_Xi.getTime())-AWG_Ag(AWG_R("sitos.paused_time"));AWG_Q(AWG_Ud,AWG_VG(AWG_Zh))}
function AWG_Nf()
{
AWG_Qe();if(typeof(CustomFunction_PreFinish)!="undefined"){
CustomFunction_PreFinish()}
return AWG_CA.LMSFinish()}
function AWG_Pi(){
AWG_Qe();return AWG_CA.LMSCommit()}
function AWG_YK(){AWG_Oi();AWG_Nf()}
AWG_Pj=AWG_Vk=function AWG_BK(){return 0};AWG_FK=AWG_$K=AWG_Dj=AWG_Ok=AWG_Oj=function AWG_PK(){return AWG_$};AWG_SK=AWG_VJ=AWG_$k=AWG_GK=AWG_Pk=AWG_Lk=AWG_Vj=AWG_SJ=function AWG_LK(){return AWG_S};function AWG_Fk(){return AWG_Q(AWG_Ac,AWG_GG)}
function AWG_Hj(){return AWG_Q(AWG_Ac,-1)}
function AWG_Yj(){return AWG_R(AWG_Fd)}
function AWG_Ij(){return AWG_CA.LMSGetLastError()}
function AWG_Lh(){return AWG_R(AWG_Je)}
function AWG_Qk(){
return AWG_R(AWG_DB)}
function AWG_Ik(AWG_Ob){
return AWG_Q(AWG_DB,AWG_Ob)}
function AWG_YJ(AWG_MC)
{
AWG_MC=AWG_MC.toUpperCase();var AWG_Rc=[];AWG_ID(AWG_$+AWG_Lh(),AWG_Rc,AWG_V);if(typeof(AWG_Rc[AWG_MC])==AWG_E$)
AWG_Rc[AWG_MC]=AWG_$;return AWG_Rc[AWG_MC]}
function AWG_NJ(){return AWG_R(AWG_MG)}
function AWG_Lj(){return AWG_R(AWG_OD)}
function AWG_QI(){return AWG_R(AWG_Gc)}
function AWG_MJ(){return AWG_R(AWG_Me)}
function AWG_GH(){return AWG_R(AWG_Fb)}
function AWG_LJ(AWG_C$){AWG_Q(AWG_Fb,AWG_C$)}
function AWG_Hk(){return AWG_R(AWG_Qa)}
function AWG_Mk(AWG_C$)
{
AWG_Q(AWG_Qa,AWG_C$)}
function AWG_ZJ(AWG_C$){AWG_Q(AWG_Ud,AWG_C$)}
function AWG_Oi(){AWG_Q(AWG_AE,"logout")}
function AWG_Kj(){AWG_Q(AWG_AE,"time-out")}
function AWG_Vc(){return AWG_R(AWG_Ca)}
function AWG_AD(AWG_Ga){AWG_Q(AWG_Ca,AWG_Ga)}
function AWG_RK(){return AWG_Vc()==AWG_Bb}
function AWG_QK(){return AWG_Vc()==AWG_BB}
function AWG_OJ(nIndex){return AWG_Vc()==AWG_Db}
function AWG_UJ(nIndex){return AWG_Vc()==AWG_PC}
function AWG_AK(){AWG_AD(AWG_BB)}
function AWG_Pe(){AWG_AD(AWG_Bb)}
function AWG_Uj(){AWG_AD(AWG_Db)}
function AWG_Nj(){AWG_AD(AWG_PC)}
function AWG_EK(AWG_B$,aStatus,aScoreRaw,aScoreMin,aScoreMax,aTitle,aDescription,aSuspendData,aCategory,aTemplate,aUniqueKey){
var i,tObjCount=AWG_PG();if(arguments.length < 9){
aCategory=AWG_Fi}
if(arguments.length <10){
aTemplate=AWG_Yi}
if(arguments.length<11){
aUniqueKey=AWG_MH}
for(i=0;i<tObjCount;++i){
if(AWG_R("cmi.objectives."+i+".id")==AWG_B$)
break}
AWG_Q("cmi.objectives."+i+".id",AWG_B$);AWG_Q("cmi.objectives."+i+".status",aStatus);AWG_Q("cmi.objectives."+i+".score.raw",aScoreRaw);AWG_Q("cmi.objectives."+i+".score.min",aScoreMin);AWG_Q("cmi.objectives."+i+".score.max",aScoreMax);for(i=0;i<tObjCount;++i){
if(AWG_R("sitos.objectives."+i+".id")==AWG_B$)
break}
AWG_Q("sitos.objectives."+i+".id",AWG_B$);AWG_Q("sitos.objectives."+i+".title",aTitle);AWG_Q("sitos.objectives."+i+".description",aDescription);AWG_Q("sitos.objectives."+i+".suspend_data",aSuspendData);AWG_Q("sitos.objectives."+i+".category",aCategory);AWG_Q("sitos.objectives."+i+".template",aTemplate);AWG_Q("sitos.objectives."+i+".unique_key",aUniqueKey)}
function AWG_UK(AWG_L$,AWG_Rb,AWG_Ga){
var i,tObjCount=AWG_PG();for(i=0;i<tObjCount;++i){
if(AWG_R("cmi.objectives."+i+".id")==AWG_L$)
break}
AWG_Q("cmi.objectives."+i+".id",AWG_L$);AWG_Q("cmi.objectives."+i+".status",AWG_Ga);AWG_Q("cmi.objectives."+i+".score.raw",AWG_Rb);AWG_Q("cmi.objectives."+i+".score.min",0);AWG_Q("cmi.objectives."+i+".score.max",100)}
function AWG_Gk(nIndex,AWG_L$,AWG_Rb,AWG_Ga,AWG_Tg,AWG_Hh,AWG_CJ,AWG_LH){
var AWG_Ga=AWG_$;if(AWG_Tg==1)AWG_Ga=AWG_PC;if(AWG_Hh==1)AWG_Ga=AWG_Bb;if(AWG_CJ==1)AWG_Ga=AWG_Db;if(AWG_LH==1)AWG_Ga=AWG_BB;AWG_Q("cmi.objectives."+(nIndex-1)+".id",AWG_L$);AWG_Q("cmi.objectives."+(nIndex-1)+".status",AWG_Ga);AWG_Q("cmi.objectives."+(nIndex-1)+".score.raw",AWG_Rb)}
function AWG_Jj(){return AWG_R("sitos.debug")=="true"}
function AWG_PG(){return AWG_R("cmi.objectives._count")}
function AWG_Zj(nIndex){return AWG_R("cmi.objectives."+(nIndex-1)+".id")}
function AWG_Gj(nIndex){return AWG_R("cmi.objectives."+(nIndex-1)+".score.raw")}
function AWG_Ec(nIndex){return AWG_R("cmi.objectives."+(nIndex-1)+".status")}
function AWG_VK(nIndex){return AWG_Ec(nIndex)==AWG_Bb}
function AWG_Bj(nIndex){return AWG_Ec(nIndex)==AWG_BB}
function AWG_IJ(nIndex){return AWG_Ec(nIndex)==AWG_Db}
function AWG_QJ(nIndex){return AWG_Ec(nIndex)!=AWG_Pc}
function AWG_TJ(){}
function AWG_WJ(){}
function AWG_Ak(AWG_Tj){}
function CMISetGlossary(aGlossary,AWG_KC)
{
AWP_GLOSSARIES[aGlossary]=AWG_KC}
function CreateIFrame(AWG_GA,AWG_KA)
{
var AWG_P=AWG_GA.ownerDocument.getElementById(AWG_KA);if(AWG_P !=null)return AWG_P;AWG_P=AWG_GA.ownerDocument.createElement("IFRAME");AWG_P.id=AWG_KA;AWG_P.style.zIndex=10000;AWG_GA.appendChild(AWG_P);return AWG_P}
function DestroyIFrame(AWG_GA,AWG_KA)
{
var AWG_P=AWG_GA.ownerDocument.getElementById(AWG_KA);if(AWG_P==null){return false}
AWG_P.parentNode.removeChild(AWG_P);return true}
function CMIShowGlossaryEntry(aTerm,aGlossary)
{
if(typeof(aTerm)=="undefined")aTerm="";if(typeof(aGlossary)=="undefined")aGlossary="default";if((""+aGlossary)=="")aGlossary="default";if(typeof(AWP_GLOSSARIES[aGlossary])=="undefined"){
alert("ERROR-Glossary "+aGlossary+" has not been defined!")
return}
var tID='glossary_'+aGlossary;var tWnd=AWG_Dd(tID);if(tWnd){
HOSTING_OBJECT.InvokeMethod(tID+"//glossary","display",{Term: aTerm})}else{
var tSetupData={
SELECTED: aTerm,DATA: AWP_GLOSSARIES[aGlossary],DESIGN: "glossary_"+AWP_DESIGN+".swf",FOREIGN_ID: tID
};HOSTING_OBJECT.InvokeMethod(tID+"//glossary","setup",tSetupData);var tSrc=FormatURL('glossary.swf',tSetupData);AWG_TF(tID,tSrc,AWG_RI,AWG_Eh,AWP_OPEN_GLOSSARY_IN_IFRAME=="1")}
}
function AWG_WG(AWG_B$,aCreate)
{
var i,AWG_Ba=AWG_Ni();for(i=0;i<AWG_Ba;++i){
if(AWG_R("sitos.fields."+i+".id")==AWG_B$)
return i}
return aCreate?AWG_Ba:-1}
function AWG_Ni(){
var AWG_A=parseInt(AWG_R("sitos.fields._count"),10);if(isNaN(AWG_A))AWG_A=0;return AWG_A}
function AWG_Dk(aFieldID,AWG_Ob)
{
var AWG_Ea=AWG_WG(aFieldID,AWG_V);AWG_Q("sitos.fields."+AWG_Ea+".id",aFieldID);AWG_Q("sitos.fields."+AWG_Ea+".data",AWG_Ob)}
function AWG_XK(aFieldID)
{
var AWG_Ea=AWG_WG(aFieldID,AWG_S);if(AWG_Ea==-1)return "";return AWG_R("sitos.fields."+AWG_Ea+".data")}
function AWG_Lf(aLessonLocation,aCreate)
{
var i,AWG_Ba=AWG_Td();if(AWG_Ba=="")AWG_Ba=0;for(i=0;i<AWG_Ba;++i){
if(AWG_R(AWG_$B+i+".lesson_location")==aLessonLocation)
return i}
return aCreate?AWG_Ba:-1}
function AWG_Zf(AWG_Z){return AWG_R(AWG_$B+(AWG_Z-1)+".lesson_location")}
function AWG_Td(){
var AWG_A=parseInt(AWG_R(AWG_$B+"_count"),10);if(isNaN(AWG_A)||(''+AWG_A)=="null")AWG_A=0;return AWG_A}
function AWG_Fc(AWG_FB,bCreate){
var AWG_Ea=AWG_Lf(AWG_FB,bCreate);if(AWG_Ea==-1)return AWG_$;return AWG_$B+AWG_Ea}
function AWG_Th(AWG_FB)
{
var AWG_$$=AWG_Fc(AWG_FB,AWG_S);return(AWG_$$==AWG_$)?AWG_$:AWG_R(AWG_$$+".title")}
function AWG_Qi(AWG_FB)
{
var AWG_$$=AWG_Fc(AWG_FB,AWG_S);return(AWG_$$==AWG_$)?AWG_$:AWG_R(AWG_$$+".annotation")}
function AWG_Mh(AWG_FB,AWG_QA,AWG_La){
var AWG_$$=AWG_Fc(AWG_FB,AWG_V);AWG_Q(AWG_$$+".lesson_location",AWG_FB);AWG_Q(AWG_$$+".title",AWG_QA);AWG_Q(AWG_$$+".annotation",AWG_La)}
function AWG_Ae(AWG_YB){
var AWG_$$="sitos.menus.",i,AWG_Ba=AWG_R(AWG_$$+"_count");for(i=0;i<AWG_Ba;++i){
if(AWG_R(AWG_$$+i+".name")==AWG_YB)
return AWG_$$+i}
return AWG_$}
function AWG_KJ(AWG_YB){
var AWG_$$=AWG_Ae(AWG_YB);return(AWG_$$==AWG_$)?0:AWG_R(AWG_$$+".entries._count")}
function AWG_Nk(AWG_YB,AWG_Z){
var AWG_$$=AWG_Ae(AWG_YB);return(AWG_$$==AWG_$)?AWG_$:AWG_R(AWG_$$+".entries."+(AWG_Z-1)+".title")}
function AWG_CK(AWG_YB,AWG_Z){
var AWG_$$=AWG_Ae(AWG_YB);return(AWG_$$==AWG_$)?AWG_$:AWG_R(AWG_$$+".entries."+(AWG_Z-1)+".command")}
function AWG_Kk(aIndex){
var tJS="AWG_QH(AWG_Zf("+aIndex+"))";setTimeout(tJS,10)}
function AWG_QH(aLessonLocation)
{
if(typeof(CustomFunction_ContentSetLessonLocation)!="undefined"){
CustomFunction_ContentSetLessonLocation(aLessonLocation)}else{
alert("CustomFunction_ContentSetLessonLocation is not implemented. Can not go to lesson_location:\n"+aLessonLocation)}
}
function AWG_Wj(){
var i,AWG_Ua,nEntry=1,AWG_ND,AWG_QD="<dd>",AWG_GB=AWG_R(AWG_$B+"_count"),AWG_QA,AWG_La,AWG_L$;for(i=0;i<AWG_GB;++i){
AWG_L$=AWG_R(AWG_$B+i+".lesson_location");AWG_QA=AWG_R(AWG_$B+i+".title");AWG_La=AWG_R(AWG_$B+i+".annotation");if(AWG_QA==" ")AWG_QA=AWG_$;if(AWG_La==" ")AWG_La=AWG_$;if((AWG_QA!=AWG_$)&&(AWG_L$!=AWG_$)){
AWG_ND=AWLM_ResolveFilename(((AWG_La!=AWG_$)?AWP_BM_ENTRY_WA:AWP_BM_ENTRY)
.replace(new RegExp("\\$ENTRY_NR\\$","g"),nEntry)
.replace(new RegExp("\\$BOOKMARK_ID\\$","g"),AWG_L$)
.replace(new RegExp("\\$BOOKMARK_TITLE\\$","g"),AWG_QA)
.replace(new RegExp("\\$BOOKMARK_ANNOTATION\\$","g"),AWG_La));AWG_QD+=AWG_ND;if(AWG_ND!=AWG_$)++nEntry}
}
AWG_QD+="</dd>";AWG_Ua=AWLM_ResolveFilename(AWP_BM_WINDOW
.replace(new RegExp("\\$BOOKMARK_LIST\\$","g"),AWG_QD));with(window.open(AWG_$,AWG_$,AWG_TE).document){
open();write(AWG_Ua);close()}
}
function FormatURL(aBaseURL,AWG_A$)
{
if(aBaseURL.indexOf("?")==-1){
aBaseURL+="?"}else{
aBaseURL+="&"}
for(var AWG_T in AWG_A$)
{
aBaseURL+=AWG_U(AWG_T)+"="+AWG_U(AWG_A$[AWG_T])+"&"}
return aBaseURL}
function BookmarkDebug()
{
var AWG_A="There are "+AWG_Td()+" bookmarks";for(var i=AWG_Td();i>0;--i){
var tLoc=AWG_Zf(i);AWG_A+="\n"+i+":"+[tLoc,AWG_Th(tLoc),AWG_Qi(tLoc)].join("-")}
alert(AWG_A)}
function AWG_ZI(aLessonLocation,aDefaultTitle,aDefaultText)
{
var tEntryNr=AWG_Lf(aLessonLocation,AWG_S);if(tEntryNr==-1){
tEntryNr=0}
var tURL=FormatURL('bookmark_manage.swf',{
SELECTED : tEntryNr,CURRENT : aLessonLocation,CURRENT_TITLE : aDefaultTitle,CURRENT_TEXT : aDefaultText
})
AWG_TF('bookmarkmanage',tURL,AWG_Gh,AWG_TI,false)}
function AWG_Bk(aLessonLocation,aTitle)
{
if(""+aLessonLocation=="")aLessonLocation=AWG_GH();if(""+aTitle=="")aTitle=aLessonLocation;var tPrefix=AWG_Fc(aLessonLocation,false);if(tPrefix==""){
AWG_Mh(aLessonLocation,aTitle,"")}
AWG_ZI(aLessonLocation,aTitle,'')}
function AWG_Dd(aWindowName)
{
tWnd=AWG_SB[aWindowName];if(typeof(tWnd)=="undefined")
return null;if(tWnd.mIsIFRAME){
return tWnd.mElem.contentWindow}else{
if(tWnd.mWnd.closed){
delete AWG_SB[aWindowName];return null}
return tWnd.mWnd}
}
function AWG_TF(aWindowName,AWG_Ia,AWG_LB,AWG_OB,aOpenInIFrame)
{
var tURI=AWG_Yh+"bookmark.html?WIDTH="+AWG_LB+"&HEIGHT="+AWG_OB+"&ID="+encodeURIComponent(aWindowName)+"&DATA="+encodeURIComponent(AWG_Ia);if(aOpenInIFrame){
var AWG_P=null;if(typeof(CustomFunction_GetIFrame)!="undefined"){
AWG_P=CustomFunction_GetIFrame(aWindowName)}else{
AWG_P=CreateIFrame(document.body,aWindowName)}
if(AWG_P==null){
alert("ERROR-IFRAME '"+aWindowName+"' not found.");return}
AWG_P.style.position="absolute";AWG_P.style.left="100px";AWG_P.style.top="100px";AWG_P.style.width="1px";AWG_P.style.height="1px";AWG_P.style.backgroundColor="#ff00ff";AWG_P.style.display="block";AWG_P.src=tURI;AWG_SB[aWindowName]={mIsIFRAME: true,mElem: AWG_P}}else{
AWG_SB[aWindowName]={mIsIFRAME: false,mWnd: window.open(tURI,aWindowName,"width="+AWG_LB+",height="+AWG_OB)}}
}
function AWLM_ResolveFilename(aFilename)
{
return aFilename.replace(new RegExp("\\$LMDIR\\$","g"),AWC_LMDIR)}
function AWG_Uk(){
var AWG_Ua,AWG_NA;AWG_Ua=AWLM_ResolveFilename(AWP_HELP)
AWG_NA="width="+AWG_Ub+",height="+AWG_Xb+",location=false,scrollbars=yes";window.open(AWG_Ua,AWG_$,AWG_NA)}
function AWG_KK()
{
setTimeout(AWP_QUIT,10)}
function AWG_LG(aKey,aValue,aList)
{
aList[aKey]=aValue}
function AWG_YE(AWG_O$,AWG_MA)
{
var tPos1=AWG_O$.indexOf("*");var tPos2=AWG_O$.indexOf("{");if((tPos1==-1)&&(tPos2==-1)){
AWG_LG(AWG_O$,AWG_Df(AWG_O$),AWG_MA);return}
if(tPos1==-1)tPos1=AWG_O$.length;if(tPos2==-1)tPos2=AWG_O$.length;if(tPos1<tPos2){
var tBase=AWG_O$.substr(0,tPos1);var tCountKey=tBase+"_count";var tCount=AWG_Df(tCountKey);var tAppendix=AWG_O$.substr(tPos1+1);AWG_LG(tCountKey,tCount,AWG_MA);for(var j=0;j<tCount;++j){
AWG_YE(tBase+j+tAppendix,AWG_MA)}
}else{
var tPos3=AWG_O$.indexOf("}");var tValues=AWG_O$.substr(tPos2+1,tPos3-tPos2-1).split(",");var tBase=AWG_O$.substr(0,tPos2);var tAppendix=AWG_O$.substr(tPos3+1);for(var j=0;j<tValues.length;++j){
AWG_YE(tBase+tValues[j]+tAppendix,AWG_MA)}
}
}
function AWG_OK()
{
for(var i=0;i<arguments.length;i+=2){
AWG_YH(arguments[i],arguments[i+1])}
AWG_Pi()}
function EncodeArray(AWG_S$)
{
var tResultStr="";for(var AWG_T in AWG_S$){
if(tResultStr!="")tResultStr+="&";tResultStr+=AWG_U(AWG_T)+"="+AWG_U(AWG_S$[AWG_T])}
return tResultStr}
function AWG_WK()
{
var AWG_A=[];for(var i=0;i<arguments.length;++i){
AWG_YE(arguments[i],AWG_A)}
return EncodeArray(AWG_A)}
function AWG_XJ(AWG_KA,aValue)
{
gFlashToJSBinding.SetVariable('awclient_flash',AWG_KA,aValue)}
function AWG_TK(AWG_KA)
{
return gFlashToJSBinding.GetVariable('awclient_flash',AWG_KA)}
function AWG_Mg(AWG_S$,AWG_MA)
{
var AWG_A=gFlashToJSBinding.AWG_Te(AWG_Bi?"javascript":"javascript_opener",AWG_S$);AWG_MA.AWG_ZC=AWG_A.AWG_ZC;AWG_MA.AWG_Kb=AWG_A.AWG_Kb}
function AWG_Ri(AWG_S$,AWG_MA)
{
if(window.opener){
AWG_MA.SetResult(window.opener.eval(AWG_S$))}else{
AWG_MA.SetResult(window.parent.eval(AWG_S$))}
}
function AWG_XG(AWG_Ya,AWG_Ra)
{
gFlashToJSBinding.RegisterCommand(AWG_Ya,AWG_Ra)}
function AWG_Ti()
{
AWG_XG("cmi",AWG_Mg);AWG_XG("javascript_opener",AWG_Ri)}
function AWG_Qj(aDIV){AWG_$g(aDIV)}
function AWG_$g(aDIV,aOpaque){
var tWindowMode=aOpaque?"window":"transparent";var AWG_Yd=gFlashToJSBinding.FlashObjectHTML('awclient_flash',AWG_Bc,AWG_Ub,AWG_Xb,'',tWindowMode,'.','');with(document.layers[aDIV].document){
open()
write(AWG_Yd);close()}
};var Utf8={
encode : function(string){
string=(""+string).replace(/\r\n/g,"\n");var utftext="";for(var n=0;n < string.length;n++){
var c=string.charCodeAt(n);if(c < 128){
utftext+=String.fromCharCode(c)}
else if((c > 127)&&(c < 2048)){
utftext+=String.fromCharCode((c >> 6)| 192);utftext+=String.fromCharCode((c & 63)| 128)}
else{
utftext+=String.fromCharCode((c >> 12)| 224);utftext+=String.fromCharCode(((c >> 6)& 63)| 128);utftext+=String.fromCharCode((c & 63)| 128)}
}
return utftext},decode : function(utftext){
utftext=""+utftext;var string="";var i=0;var c=c1=c2=0;while(i < utftext.length){
c=utftext.charCodeAt(i);if(c < 128){
string+=String.fromCharCode(c);i++}
else if((c > 191)&&(c < 224)){
c2=utftext.charCodeAt(i+1);string+=String.fromCharCode(((c & 31)<< 6)|(c2 & 63));i+=2}
else{
c2=utftext.charCodeAt(i+1);c3=utftext.charCodeAt(i+2);string+=String.fromCharCode(((c & 15)<< 12)|((c2 & 63)<< 6)|(c3 & 63));i+=3}
}
return string}
}
function AWG_B(AWG_Cc){
if(!confirm(AWG_Cc))
AWG_B=function(){}}
function AWG_$A(AWG_ME){return AWG_ME.length}
function AWG_Le(AWG_ME){return !isNaN(parseInt(AWG_ME))}
function AWG_Ag(AWG_Fe)
{
if(!AWG_Fe)
return 0;var AWG_Nh=/^(\d{2,4}):(\d{2}):(\d{2})(?:.(\d{1,2}))?$/,AWG_Q$=AWG_Fe.match(AWG_Nh);if(!AWG_Q$)return 0;for(i=0;i<5;++i){
var tInt=parseInt(AWG_Q$[i],10);AWG_Q$[i]=isNaN(tInt)?0:tInt}
var AWG_A=(((AWG_Q$[1]*60+AWG_Q$[2])*60+AWG_Q$[3])*100+AWG_Q$[4])*10;if(isNaN(AWG_A))AWG_A=0;return AWG_A}
function AWG_VG(AWG_Ma)
{
var nHours,nMin,nSec,nHS,AWG_F;AWG_Ma=parseInt(AWG_Ma);nHours=Math.floor(AWG_Ma/3600000);AWG_Ma-=nHours*3600000;nMin=Math.floor(AWG_Ma/60000);AWG_Ma-=nMin*60000;nSec=Math.floor(AWG_Ma/1000);AWG_Ma-=nSec*1000;nHS=Math.floor(AWG_Ma/10);AWG_F=AWG_Xd(nHours,2)+":"+AWG_Xd(nMin,2)+":"+AWG_Xd(nSec,2);return AWG_F}
function AWG_Xd(AWG_Qg,AWG_Lg){
var AWG_F=AWG_$+AWG_Qg;while(AWG_F.length<AWG_Lg)AWG_F="0"+AWG_F;return AWG_F}
function AWG_ZF(){
}
AWG_ZF.prototype={
AWG_Sb:AWG_$,AWG_ZB:AWG_$,AWG_Ai:function(AWG_RA){with(this){
AWG_Sb=[];AWG_ZB=[];var i,nPos,AWG_CB=(AWG_$+AWG_RA).split("\n"),AWG_W$=AWG_$,AWG_Da,AWG_$d;for(i=0;i<AWG_CB.length;++i){
AWG_Da=AWG_CB[i].Trim();AWG_$d=AWG_Da.match(/^\[(.*)\]$/);if(AWG_$d){
AWG_W$=AWG_$d[1].toLowerCase();AWG_Sb[AWG_W$]=AWG_$}else if(AWG_W$!=AWG_$){
AWG_Sb[AWG_W$]+=AWG_CB[i]+"\n";nPos=AWG_EB(AWG_Da,"=");if(nPos!=-1){
AWG_RH(AWG_W$,AWG_Da.substr(0,nPos).Trim().toLowerCase(),AWG_Da.substr(nPos+1).Trim())}
}
}
}},AWG_Kd:function(AWG_W$,AWG_IC){with(this){
return(typeof(AWG_Sb[AWG_W$])==AWG_E$)?AWG_IC:AWG_Sb[AWG_W$]}},AWG_F$:function(AWG_W$,AWG_U$,AWG_IC){with(this){
var AWG_N=AWG_IC;if(typeof(AWG_ZB[AWG_W$])!=AWG_E$)
if(typeof(AWG_ZB[AWG_W$][AWG_U$])!=AWG_E$)
AWG_N=AWG_ZB[AWG_W$][AWG_U$];return AWG_N}},AWG_$j:function(AWG_W$,AWG_O){with(this){
AWG_Sb[AWG_W$]=AWG_O}},AWG_RH:function(AWG_W$,AWG_U$,AWG_O){with(this){
if(typeof(AWG_ZB[AWG_W$])==AWG_E$)
AWG_ZB[AWG_W$]=[];AWG_ZB[AWG_W$][AWG_U$]=AWG_O}}
};function AWG_EB(AWG_VA,AWG_HE){return(AWG_$+AWG_VA).indexOf(AWG_HE)}
function AWG_RG(AWG_VA,AWG_$c){return(AWG_$+AWG_VA).substr(AWG_$c)}
function GetCookieDataFile()
{
var tFile=contentlauncher.properties.ResolveDataFilenameDOS("data.txt");return tFile}
function IsContentLauncher()
{
return(typeof(contentlauncher)==AWG_Rf)}
function GetDocumentCookie()
{
if(IsContentLauncher()){
try{
return contentlauncher.properties.ReadTextFile(GetCookieDataFile())}catch(e){
return ""}
}
return document.cookie}
function SetDocumentCookie(aCookieString)
{
if(IsContentLauncher()){
try{
var tFile=GetCookieDataFile();contentlauncher.properties.WriteTextFile(tFile,aCookieString)}catch(e){
AWG_B("Unable to save file:"+tFile)}
return}
document.cookie=aCookieString}
function AWG_Vh(AWG_DF)
{
if(AWG_FA==AWG_JB)return "";return unescape(AWG_RG(AWG_DF,AWG_EB(AWG_DF,"=")+1))}
function AWG_NI(AWG_Lb)
{
if(AWG_FA==AWG_JB)return "";AWG_Lb+="=";var AWG_Ld=(AWG_$+GetDocumentCookie()).split(";");for(var i=0;i<AWG_$A(AWG_Ld);++i)
if(AWG_EB(AWG_Ld[i],AWG_Lb)==0)
return AWG_Vh(AWG_Ld[i]);return AWG_HB}
function AWG_Bh(AWG_Lb,AWG_C$,AWG_Lc)
{
if(AWG_FA==AWG_JB)return "";SetDocumentCookie(AWG_Lb+"="+escape(AWG_C$)+";expires="+AWG_Lc.toGMTString())}
function AWG_FI(AWG_Lb,AWG_C$)
{
if(AWG_FA==AWG_JB)return "";var AWG_SI=new Date(),AWG_Lc=new Date();AWG_Lc.setTime(AWG_SI.getTime()+24*365*3600000);AWG_Bh(AWG_Lb,AWG_C$,AWG_Lc)}
function AWG_XD(AWG_Xa){
while(AWG_V){
if(AWG_Xa.document.API !=null)
return AWG_Xa.document.API;if(AWG_Xa.API !=null)
return AWG_Xa.API;if((AWG_Xa.parent==null)||
(AWG_Xa.parent==AWG_Xa))
return null;AWG_Xa=AWG_Xa.parent}
}
function AWG_Zi(){
AWG_M=AWG_XD(window);if(!AWG_M && window.opener)
AWG_M=AWG_XD(window.opener);if(!AWG_M && window.top.opener)
AWG_M=AWG_XD(window.top.opener);return(AWG_M!=AWG_HB)}
function AWG_Rh()
{
AWG_Zi();AWG_CA=window.API=document.API=new AWG_Jf}
function AWG_HI(AWG_Dh){
return '<APPLET id="javaposter" NAME="javaposter" WIDTH="1" HEIGHT="1" CODE="'+AWG_Dh+'JavaPoster.class"></APPLET>'}
function GetAPIType()
{
if(AWG_FA==AWG_Ed)return AWG_DG;if(AWG_FA==AWG_JB)return AWG_UF;if(AWG_FA==AWG_JE)return AWG_IG;if(AWG_FA==AWG_LE)return AWG_NG;if(AWG_FA==AWG_PD)return AWG_Hf;return ""}
function AWG_Rd(AWG_Wf,AWG_Ob,AWG_Uh){
if(AWG_E[AWG_CI]=="aicc"){
alert("AICC["+AWG_Wf+"]\n"+AWG_Ob)}
var AWG_Tk,AWG_XB,AWG_Da,AWG_CB,AWG_H,AWG_O,nPos,i,AWG_N={},AWG_Xg="command="+AWG_Wf+"&version=3.4&session_id="+AWG_U(AICC_SID)+"&AICC_Data="+AWG_U(AWG_Ob);AWG_N.AWG_Tb=AWG_N.AWG_Jc=AWG_N.AWG_Kh=AWG_N.AWG_Pa=AWG_N.AWG_XA=AWG_$;AWG_XB=(document.POST_PROXY==AWG_$)?AICC_URL:document.POST_PROXY+"?href="+AWG_U(AICC_URL);AWG_N.AWG_XA=AWG_$+document.javaposter.DoPost(AWG_XB,AWG_$,AWG_Xg,AWG_Uh);if(AWG_N.AWG_XA==AWG_$){
AWG_N.AWG_XA="error=4\nerror_text=got invalid data from aicc_url. LastError:"+document.javaposter.getLastError()}
AWG_CB=AWG_N.AWG_XA.split("\n");for(i=0;i<AWG_CB.length;++i){
AWG_Da=AWG_CB[i].Trim();nPos=AWG_EB(AWG_Da,"=");if(nPos!=-1){
AWG_H=AWG_Da.substr(0,nPos).Trim().toLowerCase();AWG_O=AWG_Da.substr(nPos+1);if(AWG_H=="aicc_data"){
AWG_N.AWG_Pa=AWG_Da.substr(nPos+1)+"\n"+AWG_CB.slice(i+1).join("\n");break}else if(AWG_H=="error"){
AWG_N.AWG_Tb=AWG_O}else if(AWG_H=="error_text"){
AWG_N.AWG_Jc=AWG_O}else if(AWG_H=="version"){
AWG_N.AWG_Kh=AWG_O}
}
};if(AWG_N.AWG_Tb==AWG_$){
AWG_N.AWG_Tb="1";AWG_N.AWG_Jc="Invalid response message format. Please contact administrator.\nDiagnostics:\nURL: "+AWG_XB+"\nResponse: "+AWG_N.AWG_XA
}
return AWG_N}
function AWG_Pd(AWG_Z$){
this.AWG_Z$=AWG_Z$;this.AWG_JA=[];this.AWG_Na=[]}
function AWG_Jf(){with(this){
AWG_YD=[]}}
AWG_Jf.prototype={
AWG_D$:0,AWG_CD:-1,AWG_XA:AWG_$,AWG_Pa:null,AWG_ED:0,AWG_YD:0,AWG_AB:AWG_S,AWG_Id:AWG_S,AWG_LD : 0,AWG_DI : AWG_S,mSitosVersion : 0,AWG_QC : 0,AWG_Sc:function(){with(this){
if(AWG_CD==-1){
if(AWG_M){
AWG_CD=(AWG_$+AWG_M.LMSGetValue("bitmedia.wrapper.version"))=="1"}else{
AWG_CD=AWG_S}
}
return AWG_CD}},AWG_CE: function(){
if((this.AWG_ED==1)&& this.AWG_Pa){
return AWG_V}else{
AWG_D$=301;return AWG_S}
},AWG_Mi:function(AWG_XB){
if(typeof(document.POST_FRAME)==AWG_E$)
document.POST_FRAME=AWG_$;if(document.POST_FRAME==AWG_$){
alert("Error: document.POST_FRAME was not specified!")}
if(document.POST_PROXY!=AWG_$)
AWG_XB=document.POST_PROXY+"?href="+AWG_U(AWG_XB);window.parent.frames[document.POST_FRAME].src=AWG_XB;return AWG_$},AWG_IB:function(AWG_K,AWG_Z$,AWG_BH){
var AWG_N=AWG_S;if(AWG_Le(AWG_Z$)){
AWG_Z$=parseInt(AWG_Z$);if(AWG_BH){
while(AWG_$A(AWG_K.AWG_JA)<=AWG_Z$){
AWG_K.AWG_JA[AWG_$A(AWG_K.AWG_JA)]=new AWG_Pd(AWG_$)}
}else{
if(AWG_$A(AWG_K.AWG_JA)<=AWG_Z$)
return AWG_HB}
AWG_N=AWG_K.AWG_JA[AWG_Z$]}else{
if(typeof(AWG_K.AWG_JA[AWG_Z$])!=AWG_Rf){
AWG_K.AWG_JA[AWG_Z$]=new AWG_Pd(AWG_Z$)}
AWG_N=AWG_K.AWG_JA[AWG_Z$]}
return AWG_N},AWG_Li:function(AWG_K){
return AWG_$A(AWG_K.AWG_JA)},AWG_FE:function(AWG_K,AWG_Z$){
if(AWG_K){
this.AWG_D$=0;return(typeof(AWG_K.AWG_Na[AWG_Z$])==AWG_E$)?AWG_$:AWG_K.AWG_Na[AWG_Z$]}else{
return AWG_$}
},AWG_IE:function(AWG_K,AWG_Z$,AWG_O,AWG_SC){
this.AWG_D$=0
AWG_O+="";if((AWG_SC=="")|| AWG_SC.test(AWG_O)){
AWG_K.AWG_Na[AWG_Z$]=AWG_O+AWG_$}else{
this.AWG_D$=405}
},AWG_Wh:function(AWG_KB){
if(AWG_KB==AWG_NG)return AWG_LE;if(AWG_KB==AWG_JI)return AWG_PD;if(AWG_KB==AWG_Hf)return AWG_PD;if(AWG_KB==AWG_IG)return AWG_JE;if(AWG_KB==AWG_DG)return AWG_Ed;if(AWG_KB==AWG_UF)return AWG_JB;return-1},LMSInitialize:function(AWG_Oc){with(this){;AWG_Eg(AWG_$+document.PARAMS);if(typeof(gSitosVersion)!=AWG_E$){
mSitosVersion=gSitosVersion}
AWG_AB=AWG_S;AWG_Id=AWG_S;AICC_URL=AWG_E[AWG_Qf];AICC_SID=AWG_E[AWG_GF];if(typeof(document.POST_PROXY)==AWG_E$)
document.POST_PROXY=AWG_$;if(AICC_URL!=AWG_$){
if(mSitosVersion>=2){
}else{
if((AICC_URL.substr(0,7)!="http://")&&(AICC_URL.substr(0,8)!="https://")&&(AICC_URL.substr(0,7)!="file://"))
AICC_URL="http://"+AICC_URL}
}
if(AWG_J$(AWG_E,AWG_Sf))
document.POST_PROXY=AWG_E[AWG_Sf];if(AWG_M){
AWG_FA=AWG_LE}else if(AICC_URL !=AWG_$){
AWG_FA=AWG_JE}else{
AWG_FA=AWG_Ed}
if(AWG_E[AWG_Od]!=""){
AWG_GC=parseInt(AWG_E[AWG_Od]);if(isNaN(AWG_GC)){
AWG_GC=-1}
}
if(AWG_E[AWG_MD]!=""){
var AWG_Ce=AWG_E[AWG_MD].toLowerCase().split(",");var AWG_Tc=AWG_S;var tFallbackNoCookie=false;for(var i=0;i<AWG_$A(AWG_Ce);++i){
var tType=AWG_Wh(AWG_Ce[i]);if(tType==AWG_FA){
AWG_Tc=AWG_V}
if(tType==AWG_JB)tFallbackNoCookie=true}
if(!AWG_Tc && tFallbackNoCookie){
AWG_FA=AWG_JB;AWG_Tc=true}
if(!AWG_Tc){
if(typeof(CustomFunction_APITypeNotFound)!="undefined"){
CustomFunction_APITypeNotFound(GetAPIType(),AWG_Ce)}
AWG_FA=-1;this.LMSGetValue=AWG_$C;this.LMSSetValue=AWG_$C;this.LMSFinish=AWG_$C;this.LMSGetLastError=AWG_$C;this.LMSGetErrorString=AWG_$C;return AWG_Ab}
}
if(AWG_M){
AWG_M.LMSInitialize(AWG_$);AWG_QC=parseInt(AWG_M.LMSGetValue("sitos._version"),10);if(isNaN(AWG_QC))AWG_QC=0}
AWG_D$=0;if(AWG_Oc!=AWG_$){
AWG_D$=201;return AWG_Ab}
AWG_Pa=new AWG_Pd(AWG_$);if(AWG_Wi()){
AWG_ED=1}
return(AWG_ED==1)?AWG_DC:AWG_Ab}},LMSFinish:function(AWG_Oc){with(this){
if(AWG_AB===AWG_S){
}else{
if(AWG_GC >=0){
var AWG_VD=parseFloat(LMSGetValue(AWG_OC)),AWG_Wd=parseFloat(LMSGetValue(AWG_Hb)),AWG_LA=AWG_AB;if(isNaN(AWG_VD))AWG_VD=0;if(isNaN(AWG_Wd))AWG_Wd=100;AWG_LA=AWG_LA/(AWG_Wd-AWG_VD)*100;var AWG_UD=1;for(var i=0;i<AWG_GC;++i){
AWG_UD*=10}
AWG_LA=Math.round(AWG_LA*AWG_UD);AWG_LA/=AWG_UD;LMSSetValue(AWG_Qa,AWG_LA);LMSSetValue(AWG_OC,0);LMSSetValue(AWG_Hb,100)}
if(!AWG_Id){
var AWG_De=parseFloat(LMSGetValue(AWG_Gc));if(isNaN(AWG_De)){
if(AWG_AB==0){
LMSSetValue(AWG_Ca,AWG_BB)}else{
LMSSetValue(AWG_Ca,AWG_Bb)}
}else{
if(AWG_AB>=AWG_De){
LMSSetValue(AWG_Ca,AWG_Db)}else{
LMSSetValue(AWG_Ca,AWG_BB)}
}
}
}
LMSCommit(AWG_$);if(AWG_M)
AWG_M.LMSFinish(AWG_$);AWG_ED=2;return AWG_DC}},AWG_H$:function(aArray,aFieldType,aField,aValue,aFieldNumber){with(this){
if(aFieldType==0){
aArray.push(aField)}
if(aFieldType==2){
aValue=AWG_L(aValue);aFieldType=1}
if(aFieldType==3){
aField=aField+"."+aFieldNumber;aFieldType=1}
if(aFieldType==1){
aArray.push(aField+"="+aValue)}
if(aFieldType==4){
aArray.push(aField)
}
}},AWG_Zc:function(){with(this){
var tTimeMS,AWG_Zd=AWG_Jd(AWG_Ud);if(!AWG_DI){
tTimeMS=AWG_Ag(AWG_Zd);if(AWG_LD!=0){
AWG_Zd=AWG_VG(tTimeMS-AWG_LD)}
AWG_LD=tTimeMS}
var AWG_PF=AWG_L(AWG_Hb),AWG_OF=AWG_L(AWG_OC),AWG_Hg=AWG_L(AWG_AE),AWG_FF=AWG_L(AWG_Qa),AWG_Rb=AWG_$,AWG_A=[];if(AWG_FF!=AWG_$){
AWG_Rb=AWG_FF+","+(AWG_PF==AWG_$?"100":AWG_PF)+","+(AWG_OF==AWG_$?"0":AWG_OF)}
AWG_H$(AWG_A,0,"[core]");AWG_H$(AWG_A,2,"lesson_location",AWG_Fb)
AWG_H$(AWG_A,1,"lesson_status",AWG_L(AWG_Ca)+(AWG_Hg!=AWG_$?","+AWG_Hg:AWG_$))
AWG_H$(AWG_A,1,"score",AWG_Rb)
AWG_H$(AWG_A,1,"time",AWG_Zd)
AWG_H$(AWG_A,0,"[core_lesson]");AWG_H$(AWG_A,4,AWG_Ef());AWG_H$(AWG_A,0,"[comments]");AWG_H$(AWG_A,4,AWG_L(AWG_BI));AWG_H$(AWG_A,0,"[objectives_status]");var i,j,tID,AWG_Ba=parseInt(AWG_L(AWG_VB+AWG_$b),10),nCountSitos,AWG_Nb
for(i=0;i<AWG_Ba;++i){
AWG_Nb=AWG_VB+i;tID=AWG_L(AWG_Nb+".id")
AWG_H$(AWG_A,3,"J_ID",tID,i+1)
AWG_H$(AWG_A,3,"J_STATUS",AWG_L(AWG_Nb+".status"),i+1)
AWG_H$(AWG_A,3,"J_SCORE",AWG_L(AWG_Nb+".score.raw")+","+AWG_L(AWG_Nb+".score.max")+","+AWG_L(AWG_Nb+".score.min"),i+1)
if(mSitosVersion>=2){
nCountSitos=parseInt(AWG_L(AWG_I+AWG_$b),10);for(j=0;j<nCountSitos;++j){
if(AWG_L(AWG_I+j+".id")==tID){
AWG_H$(AWG_A,3,"J_TITLE",AWG_U(AWG_L(AWG_I+j+".title")),i+1)
AWG_H$(AWG_A,3,"J_DESCRIPTION",AWG_U(AWG_L(AWG_I+j+".description")),i+1)
AWG_H$(AWG_A,3,"J_SUSPEND_DATA",AWG_U(AWG_L(AWG_I+j+".suspend_data")),i+1)
AWG_H$(AWG_A,3,"J_CATEGORY",AWG_U(AWG_L(AWG_I+j+".category")),i+1)
AWG_H$(AWG_A,3,"J_TEMPLATE",AWG_U(AWG_L(AWG_I+j+".template")),i+1)
AWG_H$(AWG_A,3,"J_UNIQUE_KEY",AWG_U(AWG_L(AWG_I+j+".unique_key")),i+1)
break}
}
}
}
AWG_H$(AWG_A,0,"[student_preferences]");AWG_H$(AWG_A,2,"audio",AWG_Ac)
AWG_H$(AWG_A,2,"language","cmi.student_preference.language")
AWG_H$(AWG_A,2,"speed","cmi.student_preference.speed")
AWG_H$(AWG_A,2,"text","cmi.student_preference.text")
return AWG_A.join(AWG_SH)}},AWG_Fh:function(){with(this){
AWG_Rd("putparam",AWG_Zc(),AWG_V)}},AWG_Yg:function(){with(this){
var AWG_Sa=AWG_Rd("putparam",AWG_Zc(),AWG_S);AWG_XA=AWG_Sa.AWG_XA;if(AWG_Sa.AWG_Tb !=0){
try{if(console&&console.log)console.log(AWG_XA)}catch(e){};return AWG_Ab}
return AWG_DC}},AWG_Ef:function(){with(this){
var tOrigSuspendData=AWG_L(AWG_DB);var i,AWG_Z=0,AWG_F="sd="+AWG_U(tOrigSuspendData),AWG_Aa=AWG_L("sitos.bookmarks._count"),AWG_L$,AWG_QA,AWG_La,AWG_Mf,AWG_XF,AWG_YF,AWG_Ve,AWG_AG;for(i=0;i<AWG_Aa;++i){
AWG_L$=AWG_L("sitos.bookmarks."+i+".lesson_location");AWG_QA=AWG_L("sitos.bookmarks."+i+".title");AWG_La=AWG_L("sitos.bookmarks."+i+".annotation");if((AWG_L$!=AWG_$)&&(AWG_QA!=AWG_$)){
AWG_F+="&_b"+AWG_Z+".l="+AWG_U(AWG_L$)+"&_b"+AWG_Z+".t="+AWG_U(AWG_QA)+"&_b"+AWG_Z+".a="+AWG_U(AWG_La);++AWG_Z}
}
AWG_Aa=AWG_L("sitos.fields._count");AWG_Z=0;for(i=0;i<AWG_Aa;++i){
AWG_L$=AWG_L("sitos.fields."+i+".id");AWG_Ff=AWG_L("sitos.fields."+i+".data");if((AWG_L$!=AWG_$)&&(AWG_Ff!=AWG_$)){
AWG_F+="&_f"+AWG_Z+".i="+AWG_U(AWG_L$)+"&_f"+AWG_Z+".d="+AWG_U(AWG_Ff);++AWG_Z}
}
if(mSitosVersion>=2){
}else{
if(AWG_QC<2){
AWG_Aa=AWG_L(AWG_I+AWG_$b);AWG_Z=0;for(i=0;i<AWG_Aa;++i){
AWG_L$=AWG_L(AWG_I+i+".id");AWG_QA=AWG_L(AWG_I+i+".title");AWG_XF=AWG_L(AWG_I+i+".description");AWG_Mf=AWG_L(AWG_I+i+".suspend_data");AWG_YF=AWG_L(AWG_I+i+".category");AWG_Ve=AWG_L(AWG_I+i+".template");AWG_AG=AWG_L(AWG_I+i+".unique_key");if(AWG_L$!=AWG_$){
AWG_F+="&_o"+AWG_Z+".i="+AWG_U(AWG_L$)+"&_o"+AWG_Z+".t="+AWG_U(AWG_QA)+"&_o"+AWG_Z+".d="+AWG_U(AWG_XF)+"&_o"+AWG_Z+".s="+AWG_U(AWG_Mf)+"&_o"+AWG_Z+".c="+AWG_U(AWG_YF)+"&_o"+AWG_Z+".f="+AWG_U(AWG_Ve)+"&_o"+AWG_Z+".k="+AWG_U(AWG_AG)
}
}
}else{
AWG_Aa=AWG_L(AWG_I+AWG_$b);AWG_Z=0;for(i=0;i<AWG_Aa;++i){
AWG_M.LMSSetValue(AWG_I+i+".id",AWG_L(AWG_I+i+".id"));AWG_M.LMSSetValue(AWG_I+i+".title",AWG_L(AWG_I+i+".title"));AWG_M.LMSSetValue(AWG_I+i+".description",AWG_L(AWG_I+i+".description"));AWG_M.LMSSetValue(AWG_I+i+".suspend_data",AWG_L(AWG_I+i+".suspend_data"));AWG_M.LMSSetValue(AWG_I+i+".category",AWG_L(AWG_I+i+".category"));AWG_M.LMSSetValue(AWG_I+i+".template",AWG_L(AWG_I+i+".template"));AWG_M.LMSSetValue(AWG_I+i+".unique_key",AWG_L(AWG_I+i+".unique_key"))}
}
}
return AWG_F}},AWG_Ig:function(AWG_Wg){with(this){
var i,AWG_Za,AWG_FD,nPos,AWG_H,AWG_O,AWG_Ta,AWG_QG,AWG_Z,tRegExp=/^_([bfo])([0-9]+)\.(.)$/;if(AWG_QC>=2){
AWG_Aa=parseInt(AWG_M.LMSGetValue(AWG_I+AWG_$b),10);if(isNaN(AWG_Aa))AWG_Aa=0;AWG_Z=0;for(i=0;i<AWG_Aa;++i){
AWG_G(AWG_I+i+".id",AWG_M.LMSGetValue(AWG_I+i+".id"));AWG_G(AWG_I+i+".title",AWG_M.LMSGetValue(AWG_I+i+".title"));AWG_G(AWG_I+i+".description",AWG_M.LMSGetValue(AWG_I+i+".description"));AWG_G(AWG_I+i+".suspend_data",AWG_M.LMSGetValue(AWG_I+i+".suspend_data"));AWG_G(AWG_I+i+".category",AWG_M.LMSGetValue(AWG_I+i+".category"));AWG_G(AWG_I+i+".unique_key",AWG_M.LMSGetValue(AWG_I+i+".unique_key"));AWG_G(AWG_I+i+".template",AWG_M.LMSGetValue(AWG_I+i+".template"))}
}
AWG_Ta=AWG_Wg.Trim().split("&");AWG_QG=AWG_$A(AWG_Ta);for(i=0;i<AWG_QG;++i){
AWG_FD=AWG_Ta[i];nPos=AWG_EB(AWG_FD,"=");if(nPos==-1)
continue;AWG_H=AWG_WA(AWG_FD.substr(0,nPos));AWG_O=AWG_WA(AWG_FD.substr(nPos+1));if(AWG_H=="sd"){
AWG_G(AWG_DB,AWG_O)}else{
AWG_Za=AWG_H.match(tRegExp);if(!AWG_Za)
continue;AWG_H=AWG_Za[3];if(AWG_Za[1]=="b"){
if(AWG_H=="l")AWG_H=".lesson_location";if(AWG_H=="a")AWG_H=".annotation";if(AWG_H=="t")AWG_H=".title";AWG_G("sitos.bookmarks."+AWG_Za[2]+AWG_H,AWG_O)}else if(AWG_Za[1]=="f"){
if(AWG_H=="i")AWG_H=".id";if(AWG_H=="d")AWG_H=".data";AWG_G("sitos.fields."+AWG_Za[2]+AWG_H,AWG_O)}else{
if(AWG_H=="i")AWG_H=".id";if(AWG_H=="t")AWG_H=".title";if(AWG_H=="d")AWG_H=".description";if(AWG_H=="s")AWG_H=".suspend_data";if(AWG_H=="c")AWG_H=".category";if(AWG_H=="k")AWG_H=".unique_key";if(AWG_H=="f")AWG_H=".template";AWG_G(AWG_I+AWG_Za[2]+AWG_H,AWG_O)}
}
}
}},AWG_KI:function(){with(this){
var AWG_DD,AWG_WD,AWG_FG,AWG_Bg=AWG_E[AWG_Gg],AWG_NH=AWG_Zc();AWG_FI("aicc",AWG_NH);if(AWG_Bg!=AWG_$){
AWG_DD=AWG_$+AWG_Jd(AWG_Qa);if(AWG_DD!=AWG_$){
AWG_WD=AWG_$+AWG_Jd(AWG_Hb);AWG_FG=(AWG_WD==AWG_$)?Math.round(AWG_DD):Math.round(AWG_DD*100/AWG_WD);AWG_Mi(AWG_Bg+AWG_FG)}
}
return AWG_DC}},AWG_Ph:function(){with(this){
if(AWG_Sc()){
AWG_M.LMSSetValue("bitmedia.wrapper.rawdata",AWG_Zc())}
AWG_M.LMSSetValue(AWG_DB,AWG_Ef());return AWG_M.LMSCommit(AWG_$)}},LMSCommit:function(AWG_Oc){with(this){
if(!AWG_CE())
return AWG_Ab;return(AWG_M?AWG_Ph():((AICC_URL==AWG_$)?AWG_KI():AWG_Yg()))}},LMSGetLastError:function(AWG_Oc){
return this.AWG_D$},LMSGetErrorString:function(AWG_RJ){
return AWG_$},AWG_V$:function(AWG_G$,AWG_$a){
return(AWG_$a<AWG_$A(AWG_G$))?AWG_G$[AWG_$a]:AWG_$},AWG_WH:function(AWG_D){
var AWG_N=this.AWG_V$(AWG_D.AWG_G$,AWG_D.AWG_$a);AWG_D.AWG_W=0;if(AWG_Le(AWG_N)){
AWG_D.AWG_$a++;AWG_D.AWG_W=AWG_N;AWG_N=this.AWG_V$(AWG_D.AWG_G$,AWG_D.AWG_$a)}
return AWG_N},AWG_BG:function(AWG_D)
{
},LMSSetValue:function(AWG_U$,AWG_O){with(this){
if(!AWG_CE())return AWG_Ab;AWG_O=""+AWG_O;AWG_D$=401;var AWG_F,AWG_D={};AWG_D.AWG_G$=AWG_U$.split(".");AWG_D.AWG_W=0;AWG_D.AWG_$a=0;AWG_D.AWG_K=AWG_Pa;AWG_D.AWG_TB=AWG_V;AWG_D.AWG_O=AWG_O;AWG_BG(AWG_D);var AWG_Wc=AWG_D.AWG_G$.join(".")
if(AWG_Wc==AWG_Qa){
AWG_O=AWG_O.Trim();if(AWG_O !=AWG_$){
AWG_AB=parseFloat(AWG_O);if(isNaN(AWG_AB)){
AWG_AB=0;AWG_O=0}
}
}else if(AWG_Wc==AWG_Ca){
AWG_Id=AWG_V}
if(AWG_Sc()){
AWG_M.LMSSetValue(AWG_Wc,AWG_O);AWG_F=AWG_Qc(AWG_D)}else{
if(AWG_M &&(AWG_D.AWG_G$[0]!="sitos")&&(AWG_U$!=AWG_DB)){
AWG_F=AWG_M.LMSSetValue(AWG_Wc,AWG_O);AWG_D$=AWG_M.LMSGetLastError()}else{
AWG_F=AWG_Qc(AWG_D)}
}
AWG_Fh();return(LMSGetLastError()==0)?AWG_DC:AWG_Ab}},AWG_Qc:function(AWG_D){
return this.AWG_Ye(AWG_S,AWG_D,AWG_RE)},AWG_L:function(AWG_U$){with(this){
if(!AWG_CE())
return;AWG_D$=401;var AWG_F,AWG_D={};AWG_D.AWG_G$=AWG_U$.split(".");AWG_D.AWG_W=0;AWG_D.AWG_$a=0;AWG_D.AWG_K=AWG_Pa;AWG_D.AWG_O=AWG_$;AWG_D.AWG_TB=AWG_S;AWG_BG(AWG_D);if(AWG_Sc()){
AWG_F=AWG_$+AWG_M.LMSGetValue(AWG_D.AWG_G$.join("."));if(AWG_F=="")
AWG_F=AWG_Qc(AWG_D)}else{
if(AWG_M &&(AWG_D.AWG_G$[0]!="sitos")&(AWG_U$!=AWG_DB)){
AWG_F=AWG_$+AWG_M.LMSGetValue(AWG_D.AWG_G$.join("."));AWG_D$=AWG_M.LMSGetLastError()}else{
AWG_F=AWG_Qc(AWG_D)}
}
return AWG_F}},LMSGetValue:function(AWG_U$){with(this){
AWG_D$=0;var AWG_A=AWG_L(AWG_U$);if(LMSGetLastError()!==0)return "";return AWG_A}},LMSGetDiagnostic:function(AWG_U$){
return this.AWG_YD[AWG_U$]},AWG_G:function(AWG_U$,AWG_O){with(this){
var i,AWG_K=this.AWG_Pa,AWG_G$=AWG_U$.split(".");for(i=0;i<AWG_$A(AWG_G$)-1;++i){
AWG_K=AWG_IB(AWG_K,AWG_G$[i],AWG_V)}
AWG_IE(AWG_K,AWG_G$[AWG_$A(AWG_G$)-1],AWG_O,"")}},AWG_Jd:function(AWG_U$){with(this){
var i,AWG_K=this.AWG_Pa,AWG_G$=AWG_U$.split(".");for(i=0;i<AWG_$A(AWG_G$)-1;++i){
AWG_K=AWG_IB(AWG_K,AWG_G$[i],AWG_V)}
return AWG_FE(AWG_K,AWG_G$[AWG_$A(AWG_G$)-1])}},AWG_Zb:function(AWG_O,AWG_IC){
var i,argv=arguments,argc=AWG_$A(argv),AWG_Ng=AWG_O.substr(0,1).toLowerCase(),AWG_N=AWG_IC;for(i=2;i<argc;++i){
if(argv[i].substr(0,1).toLowerCase()==AWG_Ng){
AWG_N=argv[i];break}
}
return AWG_N},AWG_Ye:function(AWG_UB,AWG_D,AWG_JA){
with(this){
var i,AWG_ZA,AWG_N=AWG_$,AWG_H,AWG_SA=AWG_UB?AWG_WH(AWG_D):AWG_V$(AWG_D.AWG_G$,AWG_D.AWG_$a);if(AWG_SA==AWG_$){
AWG_D$=201}else if(AWG_SA=="_children"){
if(AWG_D.AWG_TB){
AWG_D$=402}else{
AWG_D$=0;for(AWG_H in AWG_JA){
if(AWG_H!="AWG_I$"){
if(AWG_N!=AWG_$)AWG_N+=",";AWG_N+=AWG_H}
}
}
}else if(AWG_SA==AWG_$b){
if(AWG_D.AWG_TB){
AWG_D$=402}else{
if(AWG_UB){
AWG_N=AWG_Li(AWG_D.AWG_K);AWG_D$=0}else{
AWG_D$=203;return 0}
}
}else{
if(typeof(AWG_JA[AWG_SA])!=AWG_E$){
AWG_ZA=AWG_JA[AWG_SA][0];if(typeof(AWG_ZA)==AWG_EJ){
switch(AWG_$A(AWG_D.AWG_G$)-AWG_D.AWG_$a){
case 1:
break;case 2:
AWG_ZA="";var tNextPart=AWG_D.AWG_G$[AWG_D.AWG_$a+1]
if((tNextPart=="_children")||(tNextPart==AWG_$b)){
AWG_D$=301;break}
default:
AWG_ZA="";AWG_D$=401}
if(AWG_ZA=="r"){
if(AWG_D.AWG_TB){AWG_D$=403}else{
if(AWG_UB)AWG_D.AWG_K=AWG_IB(AWG_D.AWG_K,AWG_D.AWG_W,AWG_S);if(AWG_D.AWG_K)
AWG_N=AWG_FE(AWG_D.AWG_K,AWG_SA)}
}else if(AWG_ZA=="w"){
if(AWG_D.AWG_TB){
if(AWG_UB)AWG_D.AWG_K=AWG_IB(AWG_D.AWG_K,AWG_D.AWG_W,AWG_V);AWG_IE(AWG_D.AWG_K,AWG_SA,AWG_D.AWG_O,AWG_JA[AWG_SA][1])}else{
AWG_D$=404}
}else if(AWG_ZA=="rw"){
if(AWG_D.AWG_TB){
if(AWG_UB)AWG_D.AWG_K=AWG_IB(AWG_D.AWG_K,AWG_D.AWG_W,AWG_V);AWG_IE(AWG_D.AWG_K,AWG_SA,AWG_D.AWG_O,AWG_JA[AWG_SA][1])}else{
if(AWG_UB)AWG_D.AWG_K=AWG_IB(AWG_D.AWG_K,AWG_D.AWG_W,AWG_S);if(AWG_D.AWG_K)
AWG_N=AWG_FE(AWG_D.AWG_K,AWG_SA)}
}
}else{
if(AWG_UB){
AWG_D.AWG_K=AWG_IB(AWG_D.AWG_K,AWG_D.AWG_W,AWG_D.AWG_TB)}
if(AWG_D.AWG_K)
AWG_D.AWG_K=AWG_IB(AWG_D.AWG_K,AWG_SA,AWG_V);AWG_D.AWG_$a++;if(AWG_D.AWG_K){
if(typeof(AWG_ZA)=="object"){
AWG_N=this.AWG_Ye(AWG_ZA.AWG_I$,AWG_D,AWG_ZA)}else{
AWG_N=eval(AWG_ZA+"(AWG_D)")}
}
}
}
}
return AWG_N}
},AWG_Wi:function(){with(this){
AWG_G("sitos._version","2");if(location.protocol=="file:"){
AWG_E[AWG_Cb]=AWG_E[AWG_Cb].replace(/\.aam$/,document.AAM_LOCAL)}
AWG_G("sitos.lesson_file",AWG_E[AWG_Cb]);AWG_G("sitos.sbnw","yes|no");return(AWG_M?AWG_JH():((AICC_URL==AWG_$)?AWG_$J():AWG_FJ()))}},AWG_JH:function(){with(this){
if(AWG_Sc()){
AWG_Nd(AWG_$+AWG_M.LMSGetValue("bitmedia.wrapper.rawdata"))}
AWG_Ig(AWG_$+AWG_M.LMSGetValue(AWG_DB));return AWG_V}},AWG_$J:function(){with(this){
AWG_Nd(AWG_NI("aicc"));AWG_G(AWG_OD,AWG_E[AWG_EC]+" "+AWG_E[AWG_TC]);return AWG_V}},AWG_Nd:function(AWG_Vg){with(this){
var AWG_Y=new AWG_ZF()
AWG_Y.AWG_Ai(Utf8.decode(AWG_Vg));var AWG_Wa,AWG_Fg,AWG_N$,AWG_W;AWG_G(AWG_MG,AWG_Y.AWG_F$("core","student_id",AWG_$));AWG_G(AWG_OD,AWG_Y.AWG_F$("core","student_name",AWG_$));AWG_G(AWG_Fb,AWG_Y.AWG_F$("core","lesson_location",AWG_$));AWG_G("cmi.core.credit",AWG_Zb(AWG_Y.AWG_F$("core","credit",AWG_$),"credit","no-credit"));AWG_G("cmi.core.lesson_mode",AWG_Zb(AWG_Y.AWG_F$("core","lesson_mode",AWG_$),"browse","review","normal"));AWG_N$=AWG_Y.AWG_F$("core","lesson_status","n").split(",");AWG_G(AWG_Ca,AWG_Zb(AWG_V$(AWG_N$,0),AWG_Pc,AWG_Db,AWG_Bb,AWG_BB,AWG_PC,"browsed"));AWG_G("cmi.core.entry",AWG_Zb(AWG_V$(AWG_N$,1),AWG_$,"ab initio","resume"));AWG_N$=AWG_V$(AWG_Y.AWG_F$("core","score",AWG_$).split(";"),0).split(",")
if(AWG_V$(AWG_N$,0)==AWG_$){
AWG_N$=["","",""]}else{
if(AWG_V$(AWG_N$,1)==AWG_$)AWG_N$[1]="100";if(AWG_V$(AWG_N$,2)==AWG_$)AWG_N$[2]="0"}
AWG_G(AWG_Qa,AWG_V$(AWG_N$,0));AWG_G(AWG_Hb,AWG_V$(AWG_N$,1));AWG_G(AWG_OC,AWG_V$(AWG_N$,2));AWG_G(AWG_Me,AWG_Y.AWG_F$("core","time","00:00:00"));AWG_Ig(AWG_Y.AWG_Kd("core_lesson",""));AWG_G(AWG_Je,AWG_Y.AWG_Kd("core_vendor",""));AWG_G("cmi.comments_from_lms",AWG_Y.AWG_Kd("comments",""));for(AWG_W=0;;++AWG_W){
AWG_Wa=AWG_Y.AWG_F$("objectives_status","j_id."+(AWG_W+1),AWG_$);if(AWG_Wa==AWG_$)
break;AWG_Fg=AWG_Wa;AWG_G(AWG_VB+AWG_W+".id",AWG_Wa);AWG_N$=AWG_Y.AWG_F$("objectives_status","j_score."+(AWG_W+1),AWG_$).split(";");AWG_N$=AWG_V$(AWG_N$,0).split(",");AWG_G(AWG_VB+AWG_W+".score.raw",AWG_V$(AWG_N$,0));AWG_G(AWG_VB+AWG_W+".score.max",AWG_V$(AWG_N$,1));AWG_G(AWG_VB+AWG_W+".score.min",AWG_V$(AWG_N$,2));AWG_G(AWG_VB+AWG_W+".status",AWG_Zb(AWG_Y.AWG_F$("objectives_status","j_status."+(AWG_W+1),AWG_$),AWG_Pc,AWG_Db,AWG_Bb,AWG_BB,AWG_PC,"browsed"));if(mSitosVersion>=2){
AWG_G(AWG_I+AWG_W+".id",AWG_Fg)
AWG_G(AWG_I+AWG_W+".title",AWG_WA(AWG_Y.AWG_F$("objectives_status","j_title."+(AWG_W+1),AWG_$)))
AWG_G(AWG_I+AWG_W+".description",AWG_WA(AWG_Y.AWG_F$("objectives_status","j_description."+(AWG_W+1),AWG_$)))
AWG_G(AWG_I+AWG_W+".suspend_data",AWG_WA(AWG_Y.AWG_F$("objectives_status","j_suspend_data."+(AWG_W+1),AWG_$)))
AWG_G(AWG_I+AWG_W+".category",AWG_WA(AWG_Y.AWG_F$("objectives_status","j_category."+(AWG_W+1),AWG_$)))
AWG_G(AWG_I+AWG_W+".unique_key",AWG_WA(AWG_Y.AWG_F$("objectives_status","j_unique_key."+(AWG_W+1),AWG_$)))
AWG_G(AWG_I+AWG_W+".template",AWG_WA(AWG_Y.AWG_F$("objectives_status","j_template."+(AWG_W+1),AWG_$)))
}
}
AWG_G(AWG_Gc,AWG_Y.AWG_F$("student_data","mastery_score",AWG_$));AWG_G(AWG_TH,AWG_Y.AWG_F$("student_data","max_time_allowed","00:00:00"));AWG_N$=AWG_Y.AWG_F$("student_data","time_limit_action","c,n").split(",");AWG_Wa=AWG_V$(AWG_N$,0).Trim().substr(0,1).toLowerCase()+AWG_V$(AWG_N$,1).Trim().substr(0,1).toLowerCase();AWG_Wa=((AWG_EB(AWG_Wa,"e")!=-1)?"exit":"continue")+","+((AWG_EB(AWG_Wa,"m")!=-1)?"message":"no message");AWG_G(AWG_Ah,AWG_Wa);AWG_G(AWG_Ac,AWG_Y.AWG_F$("student_preferences","audio","100"));AWG_G("cmi.student_preference.language",AWG_Y.AWG_F$("student_preferences","language",AWG_$));AWG_G("cmi.student_preference.speed",AWG_Y.AWG_F$("student_preferences","speed","0"));AWG_G("cmi.student_preference.text",AWG_Y.AWG_F$("student_preferences","text","0"));return AWG_V}},AWG_FJ:function(){with(this){
var AWG_Sa=AWG_Rd("getparam",AWG_$,AWG_S);AWG_XA=AWG_Sa.AWG_XA;if(AWG_Sa.AWG_Tb!=0){
alert("HACP-Error #4:"+AWG_Sa.AWG_Jc);AWG_D$=101;AWG_YD[AWG_D$]="HACP #"+AWG_Sa.AWG_Tb+": "+AWG_Sa.AWG_Jc;return AWG_S}
return AWG_Nd(AWG_Sa.AWG_Pa)}}
};function AWG_$C(){}
AWG_RE["cmi"]=[{AWG_I$:AWG_S,_version:["r",AWG_NC],comments_from_lms:["r",AWG_Ha],comments:["rw",AWG_Ha],suspend_data:["rw",AWG_Ha],launch_data:["r",AWG_Ha],core:[{AWG_I$:AWG_S,student_name:["r",AWG_EA],student_id:["r",AWG_VC],credit:["r",AWG_Xh],entry:["r",AWG_Ch],total_time:["r",AWG_WC],lesson_mode:["r",AWG_AJ],lesson_status:["rw",AWG_JF],lesson_location:["rw",AWG_EA],exit:["w",AWG_UI],session_time:["w",AWG_WC],score:[{AWG_I$:AWG_S,raw:["rw",AWG_Pb],max:["rw",AWG_Pb],min:["rw",AWG_Pb]
}]
}],objectives:[{AWG_I$:AWG_V,id:["rw",AWG_VC],status:["rw",AWG_JF],score:[{AWG_I$:AWG_S,raw:["rw",AWG_Pb],max:["rw",AWG_Pb],min:["rw",AWG_Pb]
}]
}],interactions:[{AWG_I$:AWG_V,id:["w",AWG_VC],time:["w",AWG_Ki],type:["w",AWG_VH],weighting:["w",AWG_NC],student_response:["w",AWG_LF],result:["w",AWG_OH],latency:["w",AWG_WC],objectives:[{AWG_I$:AWG_V,id:["w",AWG_VC]
}],correct_responses:[{AWG_I$:AWG_V,pattern:["w",AWG_LF]
}]
}],student_data:[{AWG_I$:AWG_S,mastery_score:["r",AWG_NC],max_time_allowed:["r",AWG_WC],time_limit_action:["r",AWG_PI]
}],student_preference:[{AWG_I$:AWG_S,audio:["rw",AWG_XE],language:["rw",AWG_EA],speed:["rw",AWG_XE],text:["rw",AWG_XE]
}]
}];AWG_RE["sitos"]=[{AWG_I$:AWG_S,_version:["r",AWG_NC],sbnw:["r",AWG_EA],lesson_file:["r",AWG_EA],debug:["rw",AWG_ZH],paused_time:["rw",AWG_WC],alternate_design:["r",AWG_NC],fields:[{AWG_I$:AWG_V,id:["rw",AWG_EA],data:["rw",AWG_Ha]
}],bookmarks:[{AWG_I$:AWG_V,lesson_location:["rw",AWG_EA],title:["rw",AWG_EA],annotation:["rw",AWG_EA]
}],loader:[{AWG_I$:AWG_S,loadtext1:["rw",AWG_EA],loadtext2:["rw",AWG_EA]
}],menus:[{AWG_I$:AWG_V,name:["r",AWG_EA],entries:[{AWG_I$:AWG_V,title:["r",AWG_EA],command:["r",AWG_Ha]
}]
}],objectives:[{AWG_I$:AWG_V,id:["rw",AWG_VC],title:["rw",AWG_Ha],description:["rw",AWG_Ha],suspend_data:["rw",AWG_Ha],category:["rw",AWG_Ha],template:["rw",AWG_EA],unique_key:["rw",AWG_EA]
}]
}];ARGUMENTS=AWG_E;AWG_E[AWG_Od]=AWG_E[AWG_MD]=AWG_E[AWG_Gg]=AWG_E[AWG_GF]=AWG_E[AWG_Qf]=AWG_E[AWG_EC]=AWG_E[AWG_TC]=AWG_E[AWG_Cb]=AWG_$;AWG_Eg(window.location.search.substr(1));if(typeof(window.HOSTING_OBJECT)=="undefined"){
window.HOSTING_OBJECT=new CHostingObject()}
gFlashToJS=new CFlashToJS();gFlashToJSBinding=new CJSFlashBinding();gAWLM={
ShowWindow:function(AWG_Y$){
return AWG_UH(AWG_Y$["ID"],AWG_Y$["WIDTH"],AWG_Y$["HEIGHT"])},HideWindow:function(AWG_Y$){
return AWG_BJ(AWG_Y$["ID"])}
};MakeCallable("AWLM",gAWLM,"");AWG_Ti();AWG_Rh();EXTERNAL='CMIGetAttemptScore|AWG_Vk|CMIHelpWindow|AWG_Uk|CMIHideWindow|AWG_BJ|SetLaunchFile|AWG_Sk|getURILocation|AWG_Rk|CMIGetData|AWG_Qk|CMILogin|AWG_Pk|CMIGetDemographics|AWG_Ok|CMIGetMenuEntryTitle|AWG_Nk|CMISetScore|AWG_Mk|CMIReadComplete|AWG_Lk|CMIGotoBookmark|AWG_Kk|CMIGetBookmarkAnnotation|AWG_Qi|CMIFlush|AWG_Pi|CMISetLoggedOut|AWG_Oi|CMISetData|AWG_Ik|AWFlash_RegisterCommandType|AWG_XG|CMIInitialize|AWG_Ji|getErrorText|AWG_Hi|CMIGetScore|AWG_Hk|CMISetObj|AWG_Gk|CMISetAudioOn|AWG_Fk|CMISetField|AWG_Dk|CMIBookmarkSetDialog|AWG_Bk|CMIBookmarkManageDialog|AWG_ZI|CMIAddComment|AWG_Ak|CMIGetObjCount|AWG_PG|CMIIsAttemptPassed|AWG_$k|beautifyPath|AWG_ZK|CMISetStatus|AWG_AD|CMILogout|AWG_YK|CMIGetField|AWG_XK|CMIGetMultiple|AWG_WK|Debug|AWG_WI|CMIIsObjCompleted|AWG_VK|CMISetObjective|AWG_UK|CMIGetMasteryScore|AWG_QI|awclient_flash_getVariable|AWG_TK|CMIIsAttemptCompleted|AWG_SK|CMIIsCompleted|AWG_RK|CMIIsFailed|AWG_QK|CMISetMultiple|AWG_OK|CMIGetStatus|AWG_Vc|BeginDownload|AWG_LI|FormatArgs|AWG_MK|CMIQuit|AWG_KK|CMIGetBookmarkLocation|AWG_Zf|CMIIsAttemptStarted|AWG_GK|CMIGetAttemptStatus|AWG_FK|CMISetObjectiveEx|AWG_EK|CMIFinish|AWG_Nf|CMIGetBookmarkIndex|AWG_Lf|CMIGetMenuEntryCommand|AWG_CK|CMIGetBookmarkTitle|AWG_Th|CMISetFailed|AWG_AK|CMIGetCourseID|AWG_$K|CMIGet|AWG_Df|CMIGetObjID|AWG_Zj|CMIGetLanguage|AWG_Yj|CMIBookmarkWindow|AWG_Wj|CMISetCustomField|AWG_Vj|OpenFlash|AWG_TF|CMISetPassed|AWG_Uj|CMISetBookmark|AWG_Mh|CMIGetConfig|AWG_Lh|CMIGetBookmarkCount|AWG_Td|getLocation|AWG_Ih|WritePluginCode|AWG_Qj|CMIGetAttempt|AWG_Pj|CMIGetPath|AWG_Oj|CMISetStarted|AWG_Nj|CMIGetUserName|AWG_Lj|CMISetTimedOut|AWG_Kj|CMIIsDebug|AWG_Jj|CMIGetLastError|AWG_Ij|CMISetAudioOff|AWG_Hj|CMISet|AWG_YH|CMIGetObjScore|AWG_Gj|CMIShowWindow|AWG_UH|TRACER|AWG_Fj|CMIGetCustomField|AWG_Dj|CMIGotoLessonLocation|AWG_QH|GetFlashWindow|AWG_Dd|CMIIsObjFailed|AWG_Bj|getErrorInfo|AWG_C|CMISetTime|AWG_ZJ|CMIGetConfigVar|AWG_YJ|CMIGetLocation|AWG_GH|awclient_flash_setVariable|AWG_XJ|CMIAddInteractionEx|AWG_WJ|CMIIsAttemptFailed|AWG_VJ|CMIIsStarted|AWG_UJ|CMISetCompleted|AWG_Pe|debugAlert|AWG_B|CMIAddInteraction|AWG_TJ|CMIGetObjStatus|AWG_Ec|CMIShowErrors|AWG_SJ|CMIIsObjStarted|AWG_QJ|CMIIsPassed|AWG_OJ|CMIGetUserID|AWG_NJ|CMIGetTime|AWG_MJ|CMISetLocation|AWG_LJ|CMIGetMenuEntriesCount|AWG_KJ|CMIIsObjPassed|AWG_IJ'.split('|');for(i=0;i<208;i+=2)eval(EXTERNAL[i]+'='+EXTERNAL[i+1]);