function refreshAds() {
	
        return;  //Disable ajax ad refresh.
        
	for(i = 0; i < this.callbacks.length; i++){
		if(i == this.callbacks.length - 1){
			//last one, call close
			this.callbacks[i](true);
		} else {
			this.callbacks[i](false);
		}
	}
}

function addCallback(f){
	this.callbacks.push(f);
}

var udadrefresher = function(){
  this.callbacks = Array();
  this.addCallback = addCallback;
  this.refreshAds = refreshAds;
};

UDRefresh = new udadrefresher();
