/* database records 
 Format = add("item_name","amount","video_clip","image_name","link_page","description","oos","remove")
*/
function trecords(){
	this.index=(trecords.count++)
	this.item_name=''
	this.amount=''
	this.video_clip=''
	this.image_name=''
	this.link_page=''
	this.description=''
	this.oos=''
	this.remove=''
	return this
	}
	
trecords.prototype.set=function(item_name,amount,video_clip,image_name,link_page,description,oos,remove) {
	this.item_name=item_name
	this.amount=amount
	this.video_clip=video_clip
	this.image_name=image_name
	this.link_page=link_page
	this.description=description
	this.oos=oos
	this.remove=remove
	}
	
function add(item_name,amount,video_clip,image_name,link_page,description,oos,remove) {
	al=records.length
	records[al]=new trecords()
	records[al].set(item_name,amount,video_clip,image_name,link_page,description,oos,remove)
	}
	
records = new Array()

