function getQueryString () {
	var querystring = new Array;

	// parse current url into an array with the keys/values
	var q = String (document.location).split ('?')[1];
	if (!q) return false;
	q = q. split ('&');

	for (var i = 0 ; i < q.length; i++) {
		// for each key/value, split them at the '=' and add them to the qerystring array
		var o = q[i].split('=');
		querystring[o[0]] = o[1];
	}

	return querystring;
	// usage:   q = getQueryString()
	// 			q['foo']
}
function little_pause(numberMillis) {
 var now = new Date();
 var exitTime = now.getTime() + numberMillis;
  while (true) {
   now = new Date();
   if (now.getTime() > exitTime)
    return;
   }
  }
  