	function TelefoneTipo(){
		this.id = null;
		this.descricao = null;
	}
	
	function Telefone(){
		this.tipo = new TelefoneTipo();
		this.ddd = '';
		this.numero = '';
		this.ramal = '';
	}
	Telefone.prototype.toString = function(){
		var strTelefone = '';
		strTelefone += ' <b>'+ this.tipo.descricao +':</b>';
		strTelefone += ' ('+ this.ddd +')';
		strTelefone += ' '+ this.numero;
		if(this.ramal != '')
			strTelefone += ' <i>Ramal:</i> '+ this.ramal;
		return strTelefone
	}
	
	function TelefoneCollection(){
		this.colecao = new Array();
		this.uniqueID = 0;
		var a = new Array()

	}
	TelefoneCollection.prototype.Adicionar = function(objTel){
		this.uniqueID++;
		return this.colecao.push(objTel);
	}
	TelefoneCollection.prototype.Remover = function(indice){
		this.colecao.splice(indice,1);
	}
	TelefoneCollection.prototype.length = function(){
		return this.colecao.length;
	}
	TelefoneCollection.prototype.getItem = function(index){
		return this.colecao[index];
	}
	TelefoneCollection.prototype.setItem = function(index, telefone){
		this.colecao[index] = telefone;
	}
