<% if ( String(Session("no_of_items")) =="undefined") Session("no_of_items")="0"; if ( String(Session("session_total"))=="undefined") Session("session_total")="0.00"; %> <% function dec(t) { t=t*1; neg="false"; if (t<0) neg="true" t=Math.sqrt(t*t); t=t+""; d=t.indexOf('.'); if (d!=-1) { i=t.substring(0,d); f=t.substring(d+1,d+3); f1=t.substring(d+1,d+2); if (f1=="") f1="0"; f2=t.substring(d+2,d+3); if (f2=="") f2="0"; f3=t.substring(d+3,d+4); if (f3>=5) { if (neg=="false") { f2++; } else { f2--; } } f=f1+f2; } else { if (t=="") t="0"; i=t; f="00"; } if (neg=="true") { return "-"+i+"."+f.substring(0,2); } else { return i+"."+f.substring(0,2); } } %> Football For Fun = Professional Coaching for Children