oProperties=new Object();
API.window.properties=oProperties;
oProperties.length=0;
oProperties.New=function(property) {
	API.window.properties[this.length-1]=property;
	this.length++;
	return property;

}
oProperties.Get=function(id) {
	for(iProperties=0;iProperties<this.length;i++) {
		if(API.window.properties[iProperties].id && API.window.properties[iProperties].id==id)
			return API.window.properties[iProperties];
	}
	return false;
}
