// JavaScript Document


//classe artigos Tecnicos
function objTech(cod,nome,aberto)
{
	this.cod = cod;
	this.nome = nome;
	this.aberto = aberto;
	
	this.getCod = function()
	{
		return this.cod;
	}
	
	this.getNome = function()
	{
		return this.nome;
	}
}

function CatTech(cod,aberto)
{
	this.cod = cod;
	this.tech = new Array();
	this.aberto = aberto;
	this.addTech = function(tch)
	{
		this.tech.push(tch);
	}
	
	this.getCod = function()
	{
		return this.cod;
	}
}

