				function roundIt2( sub ){
						sub=Math.round(sub*100) / 100;
						if ( (sub % 1) == 0)
							sub+='.00';
						else if ( ((sub*10) % 1) == 0)
							sub+='0';
					return sub;
				}		
			function calculateMe(){
					var total=0;
					var i=document.forms[0].elements.length;
					var myEl;
					var find=0;
					for (j=0; j<i; j++){
						myEl = document.forms[0].elements[j];
						if (myEl.name.substr(0, 4)=="chk_"){
								if (myEl.checked){
									find+=1;
								}
						}
					}
					var allc=0;
					var totalx='';
					if (find>0){
						allc=find;
						if (find>7) alert('Maximum course selection limit is 7 courses.');
						if (find>6) find=6;
						total=299+(find-1)*100;
							
						if (find>=5) totalx='(or as low as $'+roundIt2(total/5)+' for 5 months)';
							else if (find>1) totalx='(or as low as $'+roundIt2(total/find)+' for '+find+' months)';
					}
					var spn=document.getElementById("spn_total");
					if (spn)	
						spn.innerText=roundIt2(total)+' - '+allc+' course(s)';
					var spn2=document.getElementById("spn_total2");
					if (spn2)	
						spn2.innerText=roundIt2(total)+' - '+allc+' course(s)';

					var spnx=document.getElementById("spn_total_x");
					if (spnx)	
						spnx.innerText=totalx;
					var spn2x=document.getElementById("spn_total2_x");
					if (spn2x)	
						spn2x.innerText=totalx;
					
			}
