/*****
Copyright © 2011 UC Regents and ALEKS Corporation
ALEKS® is a registered trademark of ALEKS Corporation.
*****/
var g_Q7=document.compatMode=="BackCompat";var g_qV=document.compatMode=="CSS1Compat";var g_Pr=(navigator.appName=="Microsoft Internet Explorer");var g_J9=g_Pr&&g_Q7;var isIEOld=((navigator.appName=="Microsoft Internet Explorer")&&(parseFloat(navigator.appVersion.split("MSIE")[1])<7));if(g_Pr){var IEVersion=Number(document.documentMode);if(!IEVersion){if(g_J9){IEVersion=5;}else if(isIEOld){IEVersion=6;}else{IEVersion=7;}}}var g_5V=navigator.userAgent.toLowerCase().indexOf('chrome')!=-1;var g_PQ=(navigator.userAgent.toLowerCase().indexOf("safari")>-1&&!g_5V);
var g_qs=parseInt(navigator.appVersion.toLowerCase().split('safari/')[1])<500;var g_9l=parseInt(navigator.appVersion.toLowerCase().split('safari/')[1])<400;var g_x1=(!(g_PQ||g_5V)&&navigator.userAgent.toLowerCase().indexOf('gecko')!=-1);var g_D1=(navigator.userAgent.toLowerCase().indexOf('macintosh')!=-1);var canvasBrowser=(!g_Pr||IEVersion>8);if(g_Pr&&IEVersion>7){document.namespaces.add('v', 'urn:schemas-microsoft-com:vml', "#default#VML");}var g_T4=new g_Ob();var g_8i=[];function di(name){return document.getElementById(name);
};function g_Ob(){var g_te=document.defaultView||{};this.g_1z=function(){if(this.g_jw)return;var g_EW=document.body, g_wd=document.createElement('div'), g_x9, g_aE, g_Q9, g_VI, g_3g, g_S6, g_80=g_EW.style.marginTop,g_85='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';
g_3g={position: 'absolute', top: 0, left: 0, margin: 0, border: 0, width: '1px', height: '1px', visibility: 'hidden'};for(g_S6 in g_3g){g_wd.style[g_S6]=g_3g[g_S6];}g_wd.innerHTML=g_85;g_EW.insertBefore(g_wd, g_EW.firstChild);g_x9=g_wd.firstChild, g_aE=g_x9.firstChild, g_VI=g_x9.nextSibling.firstChild.firstChild;this.g_Cu=(g_aE.offsetTop !==5);this.g_cS=(g_VI.offsetTop===5);g_x9.style.overflow='hidden', g_x9.style.position='relative';this.g_j1=(g_aE.offsetTop===-5);g_EW.style.marginTop='1px';this.g_t6=(g_EW.offsetTop===0);
g_EW.style.marginTop=g_80;g_EW.removeChild(g_wd);g_wd=document.createElement("div");g_wd.style.width=g_wd.style.paddingLeft="1px";g_EW.insertBefore(g_wd, g_EW.firstChild);this.g_Cs=g_wd.offsetWidth===2;g_EW.removeChild(g_wd);this.g_jw=true;};this.g_Rx=function(g_EW){this.g_jw||this.g_1z();var g_w4=g_EW.offsetTop, g_9c=g_EW.offsetLeft;if(this.g_t6)g_w4+=parseInt(this.g_Cw(g_EW, 'marginTop'), 10)||0,g_9c+=parseInt(this.g_Cw(g_EW, 'marginLeft'), 10)||0;return [g_9c, g_w4];};this.g_Cw=function(g_UV, g_oH){
var g_nm;if(this.g_te.getComputedStyle){var g_1G=g_te.getComputedStyle(g_UV, null);if(g_1G){g_nm=g_1G.getPropertyValue(g_oH);}}else if(g_UV.currentStyle){g_nm=g_UV.currentStyle[ g_oH ];}return g_nm;};if(document.documentElement["getBoundingClientRect"]){this.g_sB=function(g_k3){if(!g_k3){return [0,0];}if(g_k3===g_k3.ownerDocument.body){return this.g_Rx(g_k3);}var g_yd=g_k3.getBoundingClientRect(), g_wr=g_k3.ownerDocument, g_EW=g_wr.body, g_Ls=g_wr.documentElement,g_wY=g_Ls.clientTop||g_EW.clientTop||0, g_sD=g_Ls.clientLeft||g_EW.clientLeft||0,g_w4=g_yd.top+(self.pageYOffset||g_Ls.scrollTop||g_EW.scrollTop)-g_wY,g_9c=g_yd.left+(self.pageXOffset||g_Ls.scrollLeft||g_EW.scrollLeft)-g_sD;
return [g_9c, g_w4];};}else{this.g_sB=function(g_k3){if(!g_k3){return [0,0];}if(g_k3===g_k3.ownerDocument.body){return this.g_Rx(g_k3);};this.g_jw||this.g_1z();var g_UV=g_k3, g_dm=g_UV.offsetParent, g_ks=g_UV,g_wr=g_UV.ownerDocument, g_1G, g_Ls=g_wr.documentElement,g_EW=g_wr.body, g_te=g_wr.defaultView,g_u9=g_te.getComputedStyle(g_UV, null),g_w4=g_UV.offsetTop, g_9c=g_UV.offsetLeft;while((g_UV=g_UV.parentNode)&&g_UV !==g_EW&&g_UV !==g_Ls){g_1G=g_te.getComputedStyle(g_UV, null);g_w4-=g_UV.scrollTop, g_9c-=g_UV.scrollLeft;
if(g_UV===g_dm){g_w4+=g_UV.offsetTop, g_9c+=g_UV.offsetLeft;if(this.g_Cu&&!(this.g_cS&&/^t(able|d|h)$/i.test(g_UV.tagName))){g_w4+=parseInt(g_1G.borderTopWidth,  10)||0;g_9c+=parseInt(g_1G.borderLeftWidth, 10)||0;}g_ks=g_dm, g_dm=g_UV.offsetParent;}if(this.g_j1&&g_1G.overflow !=="visible"){g_w4+=parseInt(g_1G.borderTopWidth,  10)||0;g_9c+=parseInt(g_1G.borderLeftWidth, 10)||0;}g_u9=g_1G;}if(g_u9.position==="relative"||g_u9.position==="static"){g_w4+=g_EW.offsetTop;g_9c+=g_EW.offsetLeft;}if(g_u9.position==="fixed"){
g_w4+=Math.max(g_Ls.scrollTop, g_EW.scrollTop);g_9c+=Math.max(g_Ls.scrollLeft, g_EW.scrollLeft);}return [g_9c,g_w4];};}};function g_qm(k,g_yj){if(g_yj&&di(g_yj)){var f=g_T4.g_sB(k);var m=g_T4.g_sB(di(g_yj));return [f[0]-m[0], f[1]-m[1]];}else{return g_T4.g_sB(k);}return [0,0];};function findMousePos(g){var O=0;var N=0;if(!g){var g=window.event;}if(g.pageX||g.pageY){O=g.pageX;N=g.pageY;}else if(g.clientX||g.clientY){O=g.clientX+(document.body.scrollLeft||document.documentElement.scrollLeft)-(document.documentElement.clientLeft||document.body.clientLeft);
N=g.clientY+(document.body.scrollTop||document.documentElement.scrollTop)-(document.documentElement.clientTop||document.body.clientTop);}return [O, N];};function g_6V(){var g_oV, w, d=document;if(window.innerHeight&&window.scrollMaxY){xxxS=d.body.scrollWidth;w=window.innerHeight+window.scrollMaxY;}else if(d.body.scrollHeight>d.body.offsetHeight){xxxS=d.body.scrollWidth;w=d.body.scrollHeight;}else{xxxS=d.body.offsetWidth;w=d.body.offsetHeight;}var g_M6, g_1c;if(self.innerHeight){g_M6=self.innerWidth;g_1c=self.innerHeight;
}else if(d.documentElement&&d.documentElement.clientHeight){g_M6=d.documentElement.clientWidth;g_1c=d.documentElement.clientHeight;}else if(d.body){g_M6=d.body.clientWidth;g_1c=d.body.clientHeight;}var B=g_Fw()||15;if(w<g_1c){pppH=g_1c-B;}else{pppH=w;}if(xxxS<g_M6){pppW=g_M6-B;}else{pppW=xxxS;}return [g_M6,g_1c,pppW,pppH];};function getWindowWidthHeight2(){var d=document;var g_M6, g_1c;if(self.innerHeight){g_M6=self.innerWidth;g_1c=self.innerHeight;}else if(d.documentElement&&d.documentElement.clientHeight){g_M6=d.documentElement.clientWidth;g_1c=d.documentElement.clientHeight;
}else if(d.body){g_M6=d.body.clientWidth;g_1c=d.body.clientHeight;}return [g_M6,g_1c, d.body.scrollWidth, d.body.scrollHeight];};function g_Fw(){var N=document.createElement('p');N.style.width='100%';N.style.height='200px';var M=document.createElement('div');M.style.position='absolute';M.style.top='0px';M.style.left='0px';M.style.visibility='hidden';M.style.width='200px';M.style.height='150px';M.style.overflow='hidden';M.appendChild(N);document.body.appendChild(M);var E=N.offsetWidth;M.style.overflow='scroll';
var w=N.offsetWidth;if(E==w){w=M.clientWidth;}document.body.removeChild(M);return(E-w);};function g_uN(html,l){var div=document.createElement('div');div.setAttribute('id','temp_div_width');div.style.position='absolute';div.style.top='-1000px';if(l>=0)div.style.width=l+'px';div.innerHTML=html;document.body.appendChild(div);var H=div.offsetWidth;var B=div.offsetHeight;document.body.removeChild(div);return [H,B];};function g_ym(html){return g_uN(html,-1);};function g_9b(html){return g_uN(html,-1);};
function g_dz(html,h){var F=g_uN(html,h);return F[1];};function g_GS(html,k,className){var t=g_uN('<span class="'+className+'">'+html+'</span>',k);return t[0];};function g_sS(l,c){var div=document.createElement('div');div.setAttribute('id','temp_div_width');div.style.position='absolute';div.style.visibility='hidden';div.style.top='-1000px';if(c>=0){div.style.width=c+'px';}document.body.appendChild(div);div.appendChild(l);var O=l.offsetWidth;var o=l.offsetHeight;document.body.removeChild(div);return [O,o];
};var g_Ut, g_v;function g_tA(f,g_7l,e){if(g_7l==null){g_7l=false;}if(e==null){e=false;}if(!f||!document.getElementById(f)){return;}if(g_7l==true){var div=document.getElementById('temp_popup');if(!div)div=document.getElementById(f);}else{if(!document.getElementById(f).getAttribute('movenode')){var N=document.getElementById(f);var div=N.cloneNode(true);g_v=N.parentNode;N.parentNode.removeChild(N);div.setAttribute('id','temp_popup');}else{var div=document.getElementById(f);}}if(div.getAttribute('popup_w')&&div.getAttribute('popup_h')){
var g_Nc=true;var g_vd=[div.getAttribute('popup_w'), div.getAttribute('popup_h')];}else{var g_Nc=false;var S="";if(e){S=div.innerHTML;}var g_vd=g_9b(div.innerHTML);if(e){div.innerHTML=S;}}g_Ut=f;var G=g_6V();if(div.getAttribute('popup')){if(g_vd[0]<100)g_vd[0]=100;if(g_vd[1]<100)g_vd[1]=100;var U=window.open('about:blank','_blank',"toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no,left="+G[0]/2+",top="+G[1]/2+",height="+g_vd[1]+",width="+g_vd[0]);
U.document.open("text/html","replace");U.document.write(div.innerHTML);U.document.close();U.focus();return;}if(g_7l !=true){g_pG(G[2],G[3],((div.getAttribute('transparent'))?true:false),((div.getAttribute('closable'))?true:false));}var g_VA=document.getElementsByTagName("body").item(0);div.style.position='absolute';div.style.zIndex=10001;var s=0;var n=0;if(div.getAttribute('offtop')){s=parseInt(div.getAttribute('offtop'),10);}if(div.getAttribute('offleft')){n=parseInt(div.getAttribute('offleft'),10);
}div.style.top=Math.max(0,parseInt(G[1]/2-g_vd[1]/2+g_dK()+s))+"px";div.style.left=parseInt(G[0]/2-g_vd[0]/2+g_VA.scrollLeft+n)+"px";div.style.display='block';if(div.getAttribute('div_parent')){var P=document.getElementById(div.getAttribute('div_parent'));var pos=g_qm(P);div.style.left=Math.max(0,pos[0]+n)+'px';div.style.top=Math.max(0,pos[1]+P.offsetHeight+s)+'px';}if(g_7l !=true&&g_Nc==false){g_VA.appendChild(div);}};function dspPopup(O){g_tA(O);};function g_pG(F,w,m,V,t){if(t==null){t="";}var C=1;
var A=document.createElement('div');var g_YM="";var L=2000;A.setAttribute('id','overlay_img');A.style.display='block';A.style.width=F+'px';A.style.height=w+'px';A.style.position='absolute';A.style.top=0;A.style.zIndex=10000;A.style.left=0;if(w>L){C=Math.floor(w/L)+1;}if(window.external&&typeof window.XMLHttpRequest=="undefined"){g_YM+='<iframe style="z-index:-1;width: 100%;position: absolute;height:100%;opacity: 0;filter: alpha(opacity=0);" src="" frameborder="0"></iframe>';}var U=Math.floor(w/C);
for(var e=1;e<=C;e++){if(e==C){U=0+w-((e-1)*Math.floor(w/C));}if(m){g_YM+='<div style="opacity: 0;filter: alpha(opacity=0);z-index: 10000;width: 100%;height: '+U+'px;position: relative;background-color: #000;"></div>';}else{g_YM+='<div style="opacity: .4;filter: alpha(opacity=40);z-index: 10000;width: 100%;height: '+U+'px;position: relative;background-color: #000;"></div>';}}A.innerHTML=g_YM;if(V){A.onclick=function(){g_Ej();};}if(t!=""){document.getElementById(t).appendChild(A);}else{var g_VA=document.getElementsByTagName("body").item(0);
g_VA.appendChild(A);}A=null;};function g_kl(){try{var o=document.getElementById('overlay_img');o.parentNode.removeChild(o);}catch(e){}}function g_Ej(){var c=document.getElementById('overlay_img');var g_VA=document.getElementsByTagName("body").item(0);var div=document.getElementById('temp_popup');if(!div)div=document.getElementById(g_Ut);if(!div.getAttribute('movenode')){var w=div.cloneNode(true);w.setAttribute('id',g_Ut);w.style.display='none';g_v.appendChild(w);g_VA.removeChild(div);}else{div.style.display='none';
}g_VA.removeChild(c);g_mA();c=null;};function g_mA(){}function closePopup(){g_Ej();};function g_8l(){var f=g_6V();var G=document.getElementById('overlay_img');G.style.width=f[2]+'px';G.style.height=f[3]+'px';};if(!window.g_dK){function g_dK(){if(self.pageYOffset){return self.pageYOffset;}else if(document.documentElement&&document.documentElement.scrollTop){return document.documentElement.scrollTop;}else if(document.body){return document.body.scrollTop;}};}if(g_9l){function g_N4(m, h, ratio){return{x:(m.x+((h.x-m.x)*ratio)), y:(m.y+((h.y-m.y)*ratio))};
};function g_hw(E, L){return{x:((E.x+L.x)/2), y:((E.y+L.y)/2)};};function g_uM(l, L, F, E){var T=g_N4(l, L, 3/4);var C=g_N4(E, F, 3/4);var U=(E.x-l.x)/16;var j=(E.y-l.y)/16;var u=g_N4(l, L, 3/8);var N=g_N4(T, C, 3/8);N.x-=U;N.y-=j;var o=g_N4(C, T, 3/8);o.x+=U;o.y+=j;var s=g_N4(E, F, 3/8);var B=g_hw(u, N);var n=g_hw(T, C);var S=g_hw(o, s);return [[u.x, u.y, B.x, B.y],[N.x, N.y, n.x, n.y],[o.x, o.y, S.x, S.y],[s.x, s.y, E.x, E.y]];};function g_qg(g_cW, s, T, c, C, i, h, n, b){var g_Cq=g_uM({x:s, y:T},{x:c, y:C},{x:i, y:h},{x:n, y:b});
for(var o=0;o<g_Cq.length;o++){g_cW.bezierCurveTo(g_Cq[o][0], g_Cq[o][1], g_Cq[o][2], g_Cq[o][3], 0, 0);}};};(function(){var initializing=false, fnTest=/xyz/.test(function(){xyz;})?/\b_super\b/:/(.*)/;this.g_KV=function(){};function is(O){return(this instanceof O);};g_KV.g_Xz=function(objProp){var _super=this.prototype;initializing=true;var prototype=new this();initializing=false;for(var g_EH in objProp){prototype[g_EH]=typeof objProp[g_EH]=="function"&&typeof _super[g_EH]=="function"&&fnTest.test(objProp[g_EH])?(function(g_EH, P){
return function(){var g_jq=this._super;this._super=_super[g_EH];var g_1T=P.apply(this, arguments);this._super=g_jq;return g_1T;};})(g_EH, objProp[g_EH]):objProp[g_EH];}function g_KV(){if(!initializing&&this.init){this.init.apply(this, arguments);}}g_KV.prototype=prototype;g_KV.prototype.is=is;g_KV.prototype.myClass=g_KV;g_KV.constructor=g_KV;g_KV.g_Xz=arguments.callee;return g_KV;};})();function clonePrototype(w){if(w==null||typeof(w)!='object'){return w;}if(w.prototype){var o=clonePrototype(w.prototype);
}else if(w.constructor.toString().match(/^\s*function\sArray()/)){return w.slice(0);}else{var o=new Object();}for(var S in w){o[S]=clonePrototype(w[S]);}return o;};function g_4s(g_wQ){if(g_wQ.g_Xz !=null||g_wQ.init !=null||g_wQ.g_kV !=null||g_wQ.g_To !=null){return;}g_wQ.g_kV=g_wQ;g_wQ.g_To=true;g_wQ.g_Xz=function(objProp){var initializing=false, fnTest=/xyz/.test(function(){xyz;})?/\b_super\b/:/(.*)/;function is(O){return(this instanceof O);};var _super=this.prototype;initializing=true;var prototype=clonePrototype(this.prototype);
initializing=false;if(this.g_To&&objProp.init){_super.init=this.g_kV;}else if(this.g_To&&!objProp.init){prototype.init=this.g_kV;}for(var g_EH in objProp){prototype[g_EH]=typeof objProp[g_EH]=="function"&&typeof _super[g_EH]=="function"&&fnTest.test(objProp[g_EH])?(function(g_EH, P){return function(){var g_jq=this._super;this._super=_super[g_EH];var g_1T=P.apply(this, arguments);this._super=g_jq;return g_1T;};})(g_EH, objProp[g_EH]):objProp[g_EH];}function g_KV(){if(!initializing&&this.init){this.init.apply(this, arguments);}
}g_KV.prototype=prototype;g_KV.prototype.is=is;g_KV.prototype.myClass=g_KV;g_KV.constructor=g_KV;g_KV.g_Xz=arguments.callee;return g_KV;};};function g_FC(L,G){var g_ev=document.getElementsByTagName("*");var g_h=new Array();for(var S=0;S<g_ev.length;S++){if(g_B(g_ev[S].id)!=''&&!isNaN(parseInt(g_ev[S].style.width))&&parseInt(g_ev[S].style.width)>0&&!isNaN(parseInt(g_ev[S].style.height))&&parseInt(g_ev[S].style.height)>0){var g_SE=g_qm(di(g_ev[S].id));var g_M1=parseInt(g_ev[S].style.width);var g_9w=parseInt(g_ev[S].style.height);
if(L>=g_SE[0]&&L<g_SE[0]+g_M1&&G>=g_SE[1]&&G<g_SE[1]+g_9w){g_h.push(g_ev[S].id);}}}return g_h;};function g_Ia(){this.o=null;if(window.XMLHttpRequest)this.o=new XMLHttpRequest();else if(window.ActiveXObject){try{this.o=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){this.o=new ActiveXObject("Microsoft.XMLHTTP");}}else{throw new Error("Cannot create XMLHttpRequest object");this.o=false;}};function g_9n(){return new g_Ia().o;};var g_qR=["borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","paddingLeft","paddingRight","paddingTop","paddingBottom"];
function g_UZ(s, width, height){width=Number((""+width).replace(/px/));height=Number((""+height).replace(/px/));if(g_qV||!g_Pr){s.style.width=width+"px";s.style.height=height+"px";return;}var g_sA={};var g_hL=s.currentStyle?s.currentStyle : s.style;for(var c=0;c<g_qR.length;c++){g_sA[g_qR[c]]=Number(g_hL[g_qR[c]].replace(/[^0-9]/g, ''));}s.style.width=Math.max(0,(width+g_sA.borderLeftWidth+g_sA.borderRightWidth+g_sA.paddingLeft+g_sA.paddingRight))+"px";s.style.height=Math.max(0,(height+g_sA.borderTopWidth+g_sA.borderBottomWidth+g_sA.paddingTop+g_sA.paddingBottom))+"px";
};function g_Fv(F){if(typeof(g_8i)!='undefined'){for(var a=0;a<g_8i.length;a++){if(F==g_8i[a]){return true;}}}return false;};
