function dropOrg(name)
{
    this.name = name;
	this.firstoid = 0
	this.firstindex = 0
	this.secondoid = 0
	this.secondindex = 0
	this.thirdoid = 0
	this.thirdindex = 0
	this.count = 0
}
dropOrg.prototype.setIndex = function(theoid, theindex)
{
if (this.count == 0){
	this.firstoid = theoid
	this.firstindex = theindex
}
else if (this.count == 1){
	if (parseInt(theoid) < parseInt(this.firstoid)){
		this.secondoid = this.firstoid
		this.secondindex = this.firstindex
		this.firstoid = theoid
		this.firstindex = theindex
	}else{
		this.secondoid = theoid
		this.secondindex = theindex
	}
}
else if (this.count == 2){
	if (parseInt(theoid) < parseInt(this.firstoid)){
		tempoid = this.secondoid
		tempindex = this.secondindex
		this.secondoid = this.firstoid
		this.secondindex = this.firstindex
		this.firstoid = theoid
		this.firstindex = theindex
		this.thirdoid = tempoid
		this.thirdindex = tempindex
	}
	else if (parseInt(theoid) < parseInt(this.secondoid)){
		this.thirdoid = this.secondoid
		this.thirdindex = this.secondindex
		this.secondoid = theoid
		this.secondindex = theindex
	}else{
		this.thirdoid = theoid
		this.thirdindex = theindex
	}	
}
this.count = this.count + 1
}

dropOrg.prototype.clear = function()
{
	this.firstoid = 0
	this.firstindex = 0
	this.secondoid = 0
	this.secondindex = 0
	this.thirdoid = 0
	this.thirdindex = 0
	this.count = 0
}
dropOrg.prototype.returnindexone = function()
{return this.firstindex}
dropOrg.prototype.returnindexsecond = function()
{return this.secondindex}
dropOrg.prototype.returnindexthird = function()
{return this.thirdindex}
