rem: Site.prototype.constructor = function(title, alias, creator) { this.title = title; this.alias = alias; this.creator = creator; this.createtime = this.lastoffline = new Date(); this.email = creator.email; this.online = 0; this.blocked = 0; this.trusted = creator.trusted; this.enableping = 0; 
add: Site.prototype.constructor = function(data, user) { var now = new Date; var locale = root.getLocale(); 
context: Site.prototype.constructor = function(title, alias, creator) {   this.title = title;   this.alias = alias;   this.creator = creator;   this.createtime = this.lastoffline = new Date();   this.email = creator.email;   this.online = 0;   this.blocked = 0;   this.trusted = creator.trusted;   this.enableping = 0;   // create initial preferences   var prefs = new HopObject();   prefs.tagline = null;   prefs.discussions = 1;   prefs.usercontrib = 0;   prefs.archive = 1;   prefs.days = 3;   // retrieve locale-object from root   var loc = root.getLocale();   prefs.language = loc.getLanguage();   prefs.country = loc.getCountry();   prefs.timezone = root.getTimeZone().getID();   prefs.longdateformat = "EEEE, dd. MMMM yyyy, h:mm a";   prefs.shortdateformat = "yyyy.MM.dd, HH:mm";   this.preferences_xml = Xml.writeToString(prefs);   return this;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/d46237ae5555045222f493137c5c51dbcd7b4033/Site.js/clean/code/Site/Site.js