function blank(o) {
  e = o;
  for(prop in o) {
    alert(prop);
    if(typeof o[prop] == "string") {
      o[prop] = "";
    }
    else {
      o[prop] = blank(o[prop]);
    }
  }
}

function add(str) {
  element = new Object()

  pairs = str.split("|");
  for(i=0;i<pairs.length-1; i++) {
    pair = pairs[i].split("=");
    name = pair[0];
    value = pair[1];
    if(value.indexOf("~") != -1) {
      value = value.slice(1).split("~");
    }
    //alert(i + ":" + name + " = " + value);
    element[name] = value;
  }
  this.list.push(element);

  this.blankElement = element;
}

function DataList() {
  this.list = new Array();
  this.blankElement = new Object()

  this.add = add;
}

//alert('DataLoad loaded.');