// JavaScript Document
var datasize=142042; // in Bytes
var date = new Date();
var startTime=date.getTime();
var endTime=0;
//var date=0;   
	
function calcThroughput() {		
	var diffTimeMilliseconds = endTime - startTime;
	var diffTimeSeconds = diffTimeMilliseconds/1000;
	var bits = (datasize*8);   // convert Bytes to bits, 
	var kbits = bits/1024;     // convert bits to kbits
	var throughput = kbits/(diffTimeSeconds);
	throughput = throughput * 0.93;
	//alert(throughput);
	if (throughput > 56.0){
		//alert("brard band");		
		if(navigator.userAgent.indexOf('Mac')>-1 && this.ie4){
			return false;
		}else{
			return true;
		}		
	}else{
		SetCookie("MusicWindow","OFF");
		return false;
	}
}