var lstProdType = new Array();

// add new brochure info
function Newbrochure(brochure, imageName, pdfName, printdate, docSize, articleType, docLang) {
	this.brochure = brochure;
	this.imageName = imageName;
	this.pdfName = pdfName;
	this.printdate = printdate;
	this.articleType = articleType;
	this.docSize = docSize;
	this.docLang = docLang;

	return (this);
}

// add new brochure info
function Addbrochure(brochure, imageName, pdfName, printdate, docSize, articleType, docLang) {
	var t=0, l=0;
	t = lstProdType.length - 1;
	l = lstProdType[t].lstBrochure.length;	
	lstProdType[t].lstBrochure[l] = new Newbrochure(brochure, imageName, pdfName, printdate, docSize, articleType, docLang);
}

// 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);
}


