var lstProdType = new Array();

// add new brochure info
function Newbrochure(brochure, imageName, pdfName, printdate, articleType, docSize, techspecsize) {
	this.brochure = brochure;
	this.imageName = imageName;
	this.pdfName = pdfName;
	this.printdate = printdate;
	this.articleType = articleType;
	this.docSize = docSize;
        this.techspecsize = techspecsize;
	return (this);
}

// add new brochure info
function Addbrochure(brochure, imageName, pdfName, printdate, articleType, docSize, techspecsize) {
	var t=0, l=0;
	t = lstProdType.length - 1;
	l = lstProdType[t].lstBrochure.length;	
	lstProdType[t].lstBrochure[l] = new Newbrochure(brochure, imageName, pdfName, printdate, articleType, docSize, techspecsize);
}

// add new Product Type
function ProdType(prodName) {
	this.prodName = prodName;
	this.lstBrochure = new Array();
	return (this);
}

// Add new product type to the brochure list
function AddProd(prodName) {
	var t=0;
	t = lstProdType.length;
	lstProdType[t] = new ProdType(prodName);
}

