
////////////////////////////////////////////////////// BEGIN GLOBAL VARS //////////////////////////////////////////////////////////
var z=0;
var posTypes         =new Array();

////////////////////////////////////////////////////BEGIN CONSTRUCTORS////////////////////////////////////////////////////////////



function Pos() {

}

Pos.prototype.setPosNumber    =       function setPosNumber(number)     {this.Number = number;}
Pos.prototype.getPosNumber    =       function getPosNumber()           {return this.Number;}


Pos.prototype.setEmailAddress =       function  setsetEmailAddress(eaddress){this.EAddress= eaddress;} 
Pos.prototype.getEmailAddress =       function  getsetEmailAddress()        {return this.EAddress;} 


Pos.prototype.setPhoneNumber  =       function setPhoneNumber(pnumber)  {this.PhoneNum=pnumber;}
Pos.prototype.getPhoneNumber  =       function getPhoneNumber()         {return this.PhoneNum;}


Pos.prototype.setPosType      =       function setPosType(ptype)        {this.PType=ptype;}
Pos.prototype.getPosType      =       function getPosType()             {return this.PType;}

Pos.prototype.setPosName      =       function setPosName(pname)        {this.PName=pname;}
Pos.prototype.getPosName      =       function getPosName()             {return this.PName;}

Pos.prototype.setPosAddress   =       function setPosAddress(paddress)  {this.PAddress=paddress;}
Pos.prototype.getPosAddress   =       function getPosAddress()          {return this.PAddress;}

Pos.prototype.setLocation     =       function setLocation(ploc)        {this.PLoc=ploc;}
Pos.prototype.getLocation     =       function getLocation()            {return this.PLoc;}

Pos.prototype.setCommunity    =       function setCommunity(pcomm)      {this.PComm=pcomm;}
Pos.prototype.getCommunity    =       function getCommunity()           {return this.PComm;}

Pos.prototype.setLatitude     =       function setLatitude(plat)        {this.PLat=plat;}
Pos.prototype.getLatitude     =       function getLatitude()            {return this.PLat;}

Pos.prototype.setLongitude    =       function setLongitude(plong)      {this.PLong=plong;} 
Pos.prototype.getLongitude    =       function getLongitude()           {return this.PLong;} 

Pos.prototype.setEnc          =       function setEnc(penc)             {this.PEnc=penc;}
Pos.prototype.getEnc          =       function getEnc()                 {return this.PEnc;}

Pos.prototype.setEst          =       function setEst(pest)             {this.PEst=pest;}
Pos.prototype.getEst          =       function getEst()                 {return this.PEst;}

Pos.prototype.setBrocom       =       function setBrocom(pbroc)         {this.PBrocom=pbroc;}
Pos.prototype.getBrocom       =       function getBrocom()              {return this.PBrocom;}




//function createPOS(n,ea,pn,pt,pnam,paddr,ploc,plat,plong,penc,pbroc) {

function createPOS(n,ea,pn,pt,pnam,paddr,ploc,pcomm,plat,plong,penc,pest,pbroc) {
posTypes[z]=new Pos();

posTypes[z].setPosNumber(n);
posTypes[z].setEmailAddress(ea);
posTypes[z].setPhoneNumber(pn);
posTypes[z].setPosType(pt);
posTypes[z].setPosName(pnam);
posTypes[z].setPosAddress(paddr);
posTypes[z].setLocation(ploc);
posTypes[z].setCommunity(pcomm);
posTypes[z].setLatitude(plat);
posTypes[z].setLongitude(plong);
posTypes[z].setEnc(penc);
posTypes[z].setEst(pest);
posTypes[z].setBrocom(pbroc);
z++;
}








