/*****
Copyright © 2009 UC Regents and ALEKS Corporation
ALEKS® is a registered trademark of ALEKS Corporation.
*****/
var g_Pr = (navigator.appName == "Microsoft Internet Explorer");var isIEOld = ((navigator.appName == "Microsoft Internet Explorer") && (parseFloat(navigator.appVersion.split("MSIE")[1]) < 7));var g_PQ = navigator.userAgent.toLowerCase().indexOf("safari") > -1;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 && navigator.userAgent.toLowerCase().indexOf('gecko') != -1);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 || this.g_Cs && g_Ls.scrollTop  || g_EW.scrollTop ) - g_wY,g_9c = g_yd.left + (self.pageXOffset || this.g_Cs && 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];
};}};var g_T4 = new g_Ob();function g_qm(obj,g_yj){if(g_yj && di(g_yj)){var pos1 = g_T4.g_sB(obj);var pos2 = g_T4.g_sB(di(g_yj));return [pos1[0]-pos2[0], pos1[1]-pos2[1]];}else{return g_T4.g_sB(obj);}return [0,0];};function findMousePos(evt){var posx = 0;var posy = 0;if (!evt){var evt = window.event;}if (evt.pageX || evt.pageY){posx = evt.pageX;posy = evt.pageY;}else if (evt.clientX || evt.clientY){posx = evt.clientX + (document.body.scrollLeft || document.documentElement.scrollLeft) - (document.documentElement.clientLeft || document.body.clientLeft);
posy = evt.clientY + (document.body.scrollTop || document.documentElement.scrollTop) - (document.documentElement.clientTop || document.body.clientTop);}return [posx, posy];};function g_6V(){var g_oV, yyyS, d=document;if (window.innerHeight && window.scrollMaxY){ xxxS = d.body.scrollWidth; yyyS = window.innerHeight + window.scrollMaxY;}else if (d.body.scrollHeight > d.body.offsetHeight){ xxxS = d.body.scrollWidth;yyyS = d.body.scrollHeight; }else { xxxS = d.body.offsetWidth; yyyS = 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 scr = g_Fw() || 15;if(yyyS < g_1c){pppH = g_1c -scr;}else {pppH = yyyS;}if(xxxS < g_M6){pppW = g_M6 -scr;}else {pppW = xxxS;}return [g_M6,g_1c,pppW,pppH]};function g_Fw(){var i = document.createElement('p');
i.style.width = '100%';i.style.height = '200px';var o = document.createElement('div');o.style.position = 'absolute';o.style.top = '0px';o.style.left = '0px';o.style.visibility = 'hidden';o.style.width = '200px';o.style.height = '150px';o.style.overflow = 'hidden';o.appendChild(i);document.body.appendChild (o);var w1 = i.offsetWidth;o.style.overflow = 'scroll';var w2 = i.offsetWidth;if (w1 == w2){w2 = o.clientWidth;}document.body.removeChild(o);return (w1 - w2);};function g_uN(html,wid){var div = document.createElement('div');
div.setAttribute('id','temp_div_width');div.style.position = 'absolute';div.style.top = '-1000px';if(wid>=0)div.style.width = wid+'px';div.innerHTML = html;document.body.appendChild(div);var w = div.offsetWidth;var h = div.offsetHeight;document.body.removeChild(div);return [w,h];};function g_ym(html){return g_uN(html,-1);};function g_9b(html){return g_uN(html,-1);};function g_dz(html,wid){var dim = g_uN(html,wid);return dim[1];};function g_GS(html,wid,className){var dim = g_uN('<span class="'+className+'">'+html+'</span>',wid);
return dim[0];};var g_Ut, g_v;function g_tA(id,resize_only,restore_content){if(resize_only == null){resize_only = false;}if(restore_content == null){restore_content = false;}if(!id || !document.getElementById(id)){return;}if(resize_only == true){var div = document.getElementById('temp_popup');if(!div) div = document.getElementById(id);}else{if(!document.getElementById(id).getAttribute('movenode')){var div_temp = document.getElementById(id);var div = div_temp.cloneNode(true);g_v = div_temp.parentNode;
div_temp.parentNode.removeChild(div_temp);div.setAttribute('id','temp_popup');}else {var div = document.getElementById(id);}}var restore_html = "";if(restore_content){restore_html = div.innerHTML;}var g_vd = g_9b(div.innerHTML);if(restore_content){div.innerHTML = restore_html;}g_Ut = id;var dim = 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 win = window.open('about:blank','_blank',"toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no,left="+dim[0]/2+",top="+dim[1]/2+",height="+g_vd[1]+",width="+g_vd[0]);
win.document.open("text/html","replace");win.document.write(div.innerHTML);win.document.close();win.focus();return;}if(resize_only != true){g_pG(dim[2],dim[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 offtop=0;var offleft=0;if(div.getAttribute('offtop')){offtop=parseInt(div.getAttribute('offtop'),10);}if(div.getAttribute('offleft')){
offleft=parseInt(div.getAttribute('offleft'),10);}div.style.top = parseInt(dim[1]/2 - g_vd[1]/2 + g_VA.scrollTop + offtop)+"px";div.style.left = parseInt(dim[0]/2 - g_vd[0]/2 + g_VA.scrollLeft + offleft)+"px";div.style.display = 'block';if(div.getAttribute('div_parent')){var div_parent = document.getElementById(div.getAttribute('div_parent'));var pos=g_qm(div_parent);div.style.left = pos[0]+offleft;div.style.top = pos[1]+div_parent.offsetHeight+offtop;}if(resize_only != true){g_VA.appendChild(div);
}};function dspPopup(id){g_tA(id);};function g_pG(w,h,isTrans,isClosable){var nb_of_div = 1;var over = document.createElement('div');var g_YM = "";var split_limit = 2000;over.setAttribute('id','overlay_img');over.style.display = 'block';over.style.width = w+'px';over.style.height = h+'px';over.style.position = 'absolute';over.style.top = 0;over.style.zIndex = 10000;over.style.left = 0;if(h > split_limit){nb_of_div = Math.floor(h/split_limit)+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 my_h = Math.floor(h/nb_of_div);for(var i = 1; i <= nb_of_div; i++){if(i == nb_of_div){my_h = 0 + h - ((i-1)*Math.floor(h/nb_of_div));}if(isTrans){g_YM += '<div style="opacity: 0; filter: alpha(opacity=0); z-index: 10000; width: 100%; height: '+my_h+'px; position: relative; background-color: #000;"></div>';}else {g_YM += '<div style="opacity: .4; filter: alpha(opacity=40); z-index: 10000; width: 100%; height: '+my_h+'px; position: relative; background-color: #000;"></div>';
}}over.innerHTML = g_YM;if(isClosable){over.onclick = function(){ g_Ej() }}var g_VA = document.getElementsByTagName("body").item(0);g_VA.appendChild(over);over = null;};function g_Ej(){var over = 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 div_temp = div.cloneNode(true);div_temp.setAttribute('id',g_Ut);div_temp.style.display = 'none';
g_v.appendChild(div_temp);g_VA.removeChild(div);}else {div.style.display = 'none';}g_VA.removeChild(over);over = null;};function closePopup(){g_Ej();};function g_8l(){var dim = g_6V();var over = document.getElementById('overlay_img');over.style.width = dim[2]+'px';over.style.height = dim[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(P0, P1, g_F1){return {x: (P0.x + ((P1.x - P0.x) * g_F1)), y: (P0.y + ((P1.y - P0.y) * g_F1))};};function g_hw(P0, P1){return {x: ((P0.x + P1.x) / 2), y: ((P0.y + P1.y) / 2)};};function g_uM(P0, P1, P2, P3){var PA = g_N4(P0, P1, 3/4);var PB = g_N4(P3, P2, 3/4);var dx = (P3.x - P0.x)/16;var dy = (P3.y - P0.y)/16;var Pc1 = g_N4(P0, P1, 3/8);var Pc2 = g_N4(PA, PB, 3/8);Pc2.x -= dx;Pc2.y -= dy;var Pc3 = g_N4(PB, PA, 3/8);Pc3.x += dx;Pc3.y += dy;
var Pc4 = g_N4(P3, P2, 3/8);var Pa1 = g_hw(Pc1, Pc2);var Pa2 = g_hw(PA, PB);var Pa3 = g_hw(Pc3, Pc4);return [[Pc1.x, Pc1.y, Pa1.x, Pa1.y],[Pc2.x, Pc2.y, Pa2.x, Pa2.y],[Pc3.x, Pc3.y, Pa3.x, Pa3.y],[Pc4.x, Pc4.y, P3.x, P3.y]];};function g_qg(g_cW, P0x, P0y, P1x, P1y, P2x, P2y, P3x, P3y){var g_Cq = g_uM({x:P0x, y:P0y}, {x:P1x, y:P1y}, {x:P2x, y:P2y}, {x:P3x, y:P3y});for(var i=0; i<g_Cq.length; i++){g_cW.bezierCurveTo(g_Cq[i][0], g_Cq[i][1], g_Cq[i][2], g_Cq[i][3], 0, 0);}};};(function(){var g_q_ = false, g_zz = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /(.*)/;
this.g_KV = function(){};function is(_c){return (this instanceof _c);};g_KV.g_Xz = function(g_ua){var _super = this.prototype;g_q_ = true;var prototype = new this();g_q_ = false;for (var g_EH in g_ua){prototype[g_EH] = typeof g_ua[g_EH] == "function" &&typeof _super[g_EH] == "function" && g_zz.test(g_ua[g_EH]) ?(function(g_EH, fn){return function(){var g_jq = this._super;this._super = _super[g_EH];var g_1T = fn.apply(this, arguments);this._super = g_jq;return g_1T;};})(g_EH, g_ua[g_EH]) :g_ua[g_EH];
}function g_KV(){if ( !g_q_ && this.g_ZJ ){this.g_ZJ.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;};})();