//======================================================================= // Springshare API object. function SpringshareAPI(object_id) { this.div_id = object_id; this.content = ''; } SpringshareAPI.prototype.render = function() { var content_div = document.getElementById(this.div_id); if ( content_div != null ) { content_div.innerHTML = this.content; } else { alert('Content div not found: ' + this.div_id); } } var obj_api_hours_today_iid1486_lid241 = new SpringshareAPI('api_hours_today_iid1486_lid241'); obj_api_hours_today_iid1486_lid241.content = ''; obj_api_hours_today_iid1486_lid241.render();