connectionSpeed=0;function drawCSImageTag(fileLocation,fileSize,imgTagProperties){start=(new Date()).getTime();loc=fileLocation+'?t='+escape(start);document.write('<img src="http://www.learn.nativebiz.com/images/'+loc+'" '+imgTagProperties+' onload="connectionSpeed=computeConnectionSpeed('+start+','+fileSize+');">');return;}
function connectionType(speed){SLOW_MODEM=15;FAST_MODEM=57;ISDN_MODEM=120;if(speed){if(speed<SLOW_MODEM){return"Slow Modem";}else if(speed<FAST_MODEM){return"Fast Modem";}else if(speed<ISDN_MODEM){return"ISDN Modem";}else{return"partial T1 or greater";}}else{return"undetermined connection";}}
function computeConnectionSpeed(start,fileSize){end=(new Date()).getTime();connectSpeed=(Math.floor((((fileSize*8)/((end-start)/1000))/1024)*10)/10);return connectSpeed;}