scheduler._loaded={}; scheduler._load=function(url,from){ url=url||this._load_url; url+=(url.indexOf("?")==-1?"?":"&")+"timeshift="+(new Date()).getTimezoneOffset(); if (this.config.prevent_cache) url+="&uid="+this.uid(); var to; from=from||this._date; if (this._load_mode){ var lf = this.templates.load_format; from = this.date[this._load_mode+"_start"](new Date(from.valueOf())); while (from>this._min_date) from=this.date.add(from,-1,this._load_mode); to = from; var cache_line = true; while (tofrom && this._loaded[lf(temp_to)]); if (to<=from) return false; //already loaded dhtmlxAjax.get(url+"&from="+lf(from)+"&to="+lf(to),function(l){scheduler.on_load(l);}); while(from