/*****
Copyright © 2011 UC Regents and ALEKS Corporation
ALEKS® is a registered trademark of ALEKS Corporation.
*****/
var w_Zk=1;var w_l0=1;var w_Xv=1;var w_WB=1;var uap_hcache='.hcache:1';function w_n6(){var d=document;if(d.images){if(!d.PI_p)d.PI_p=new Array();var i,j=d.PI_p.length,a=w_n6.arguments;for(i=0;i<a.length;i++)if(a[i].indexOf("#")!=0){d.PI_p[j]=new Image;d.PI_p[j++].src=a[i];}}}function cap(){w_Zk=Math.ceil(Math.random()*13);w_l0=w_yO('he',w_Zk);w_Xv=w_yO('k12',w_Zk);w_WB=w_yO('iu',w_Zk);w_n6('/aleks/website/gdot_blue'+uap_hcache+'.gif','/aleks/website/Round-Button'+uap_hcache+'.gif','/aleks/website/gdot_gray'+uap_hcache+'.gif','/website/pict/M'+w_Zk+uap_hcache+'.jpg','/website/pict/he/HE'+w_l0+uap_hcache+'.jpg','/website/pict/k12/K'+w_Xv+uap_hcache+'.jpg','/website/pict/iu/IU'+w_WB+uap_hcache+'.jpg');
}cap();function uap(){var mURL='/website/pict/M'+w_Zk+uap_hcache+'.jpg';di('pic_table').style.backgroundImage='url("'+mURL+'")';di('pic_table').className='main_tb';var hURL='/website/pict/he/HE'+w_l0+uap_hcache+'.jpg';di('he_img').style.backgroundImage="url('"+hURL+"')";var kURL='/website/pict/k12/K'+w_Xv+uap_hcache+'.jpg';di('k12_img').style.backgroundImage="url('"+kURL+"')";var iURL='/website/pict/iu/IU'+w_WB+uap_hcache+'.jpg';di('iu_img').style.backgroundImage="url('"+iURL+"')";}function w_yO(type,w_G6){
var w_Ck=6;if(type=='he'){w_Ck=8;}else if(type=='k12'){w_Ck=8;}var U=Math.ceil(Math.random()*w_Ck);var j=0;while(w_G6==1&&U==7&&type=='he'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==2&&U==2&&type=='he'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==3&&U==1&&type=='k12'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==4&&U==3&&type=='he'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==5&&U==2&&type=='k12'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==6&&U==1&&type=='iu'&&j<10){
j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==7&&U==3&&type=='k12'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==9&&U==5&&type=='he'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==10&&U==7&&type=='k12'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==11&&U==3&&type=='iu'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==16&&U==2&&type=='iu'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}while(w_G6==13&&U==4&&type=='iu'&&j<10){j++;U=Math.ceil(Math.random()*w_Ck);}if(U==0){U=w_Ck;}
return U;}
