
function CompleteAdvertiseVO(
		guide, 
		searchId, 
		endeId, 
		teleId, 
		nomeHtml, 
		anunId, 
		prioridade, 
		latitude, 
		longitude, 
		typeProduct, 
		promotion, 
		lineInfo, 
		logotype, 
		hasTourvirtual, 
		hasHotmedia, 
		hasMap, 
		hasPromotion, 
		hasSaibaMais, 
		clientId, 
		templateName,
		templateNameMoreInfo,
		top,
		activityMainId,
		activityMainDesc,
		hasMoreAddresses,
		hasMoreEmails,
		hasMoreActivities,
		pos, 
		status,
		zipCode, 
		mainFone, 
		ddd, 
		type, 
		foneNumber, 
		advertiseProductType, 
		url, 
		mail, 
		dddfax, 
		faxNumber, 
		address, 
		addressNumber, 
		district, 
		city, 
		uf, 
		cnpj, 
		ddd2, 
		type2, 
		foneNumber2,	
		ddd3,
		type3,
		foneNumber3,
		addressVisible,
		hasQuotation,
		hasPictureEditorial
	)
{    
	this.guide = guide;
	this.searchId = searchId;
	this.endeId = endeId;
	this.teleId = teleId;
	this.nomeHtml = nomeHtml;
	this.anunId = anunId;
	this.prioridade = prioridade;
	this.latitude = latitude;
	this.longitude = longitude;
	this.typeProduct = typeProduct;
	this.promotion = promotion;
	this.lineInfo = lineInfo;
	this.mail = mail;
	this.url = url;
	this.logotype = logotype;
	this.hasTourvirtual = hasTourvirtual;
	this.hasHotmedia = hasHotmedia;
	this.hasMap = hasMap;
	this.hasPromotion = hasPromotion;
	this.hasSaibaMais = hasSaibaMais;
	this.clientId = clientId;
    this.templateName = templateName;
    this.templateNameMoreInfo = templateNameMoreInfo;
    this.top = top;
    this.activityMainId = activityMainId;
    this.activityMainDesc = activityMainDesc;
    this.hasMoreAddresses = hasMoreAddresses;
    this.hasMoreEmails = hasMoreEmails;
    this.hasMoreActivities = hasMoreActivities;
	this.pos = pos;
	this.status = status;
	this.zipCode = zipCode;
	this.mainFone = mainFone;
	this.ddd = ddd;
	this.type = type;
	this.foneNumber = foneNumber;
	this.advertiseProductType = advertiseProductType;
	this.url = url;
	this.mail = mail;
	this.dddfax = dddfax;
	this.faxNumber = faxNumber;
	this.address = address;
	this.addressNumber = addressNumber;
	this.district = district;
	this.city = city;
	this.uf = uf;
	this.cnpj = cnpj;
	this.ddd2 = ddd2;
	this.type2 = type2;
	this.foneNumber2 = foneNumber2;
	this.ddd3 = ddd3;
	this.type3 = type3;
	this.foneNumber3 = foneNumber3;
	this.addressVisible = addressVisible;
	this.hasQuotation = hasQuotation;
	this.hasPictureEditorial = hasPictureEditorial;

	
	function reset() {
		this.guide = null;
		this.searchId = null;
		this.endeId = null;
		this.teleId = null;
		this.nomeHtml = null;
		this.anunId = null;
		this.prioridade = null;
		this.latitude = null;
		this.longitude = null;
		this.typeProduct = null;
		this.promotion = null;
		this.lineInfo = null;
		this.mail = null;
		this.url = null;
		this.logotype = null;
		this.hasTourvirtual = null;
		this.hasHotmedia = null;
		this.hasMap = null;
		this.hasPromotion = null;
		this.hasSaibaMais = null;
		this.clientId = null;
	    this.templateName = null;
	    this.templateNameMoreInfo = null;
	    this.top = null;
	    this.activityMainId = null;
	    this.activityMainDesc = null;
	    this.hasMoreAddresses = null;
	    this.hasMoreEmails = null;
	    this.hasMoreActivities = null;
		this.pos = null;
		this.status = null;
		this.zipCode = null;
		this.mainFone = null;
		this.ddd = null;
		this.type = null;
		this.foneNumber = null;
		this.advertiseProductType = null;
		this.url = null;
		this.mail = null;
		this.dddfax = null;
		this.faxNumber = null;
		this.address = null;
		this.addressNumber = null;
		this.district = null;
		this.city = null;
		this.uf = null;
		this.cnpj = null;
		this.ddd2 = null;
		this.type2 = null;
		this.foneNumber2 = null;
		this.hasMoreAddresses = null;
		this.ddd3 = null;
		this.type3 = null;
		this.foneNumber3 = null;
		this.addressVisible = null;
		this.hasQuotation = null;
		this.hasPictureEditorial = null;
	}
	
	function toString() {
		var str = '';
		str += 'guide: ' + this.guide + '\n';
		str += 'searchId: ' + this.searchId + '\n';
		str += 'endeId: ' + this.endeId + '\n';
		str += 'teleId: ' + this.teleId + '\n';
		str += 'nomeHtml: ' + this.nomeHtml + '\n';
		str += 'anunId: ' + this.anunId + '\n';
		str += 'prioridade: ' + this.prioridade + '\n';
		str += 'latitude: ' + this.latitude + '\n';
		str += 'longitude: ' + this.longitude + '\n';
		str += 'typeProduct: ' + this.typeProduct + '\n';
		str += 'promotion: ' + this.promotion + '\n';
		str += 'lineInfo: ' + this.lineInfo + '\n';
		str += 'mail: ' + this.mail + '\n';
		str += 'url: ' + this.url + '\n';
		str += 'logotype: ' + this.logotype + '\n';
		str += 'hasTourvirtual: ' + this.hasTourvirtual + '\n';
		str += 'hasHotmedia: ' + this.hasHotmedia + '\n';
		str += 'hasMap: ' + this.hasMap + '\n';
		str += 'hasPromotion: ' + this.hasPromotion + '\n';
		str += 'hasSaibaMais: ' + this.hasSaibaMais + '\n';
		str += 'clientId: ' + this.clientId + '\n';
		str += 'templateName: ' + this.templateName + '\n';
		str += 'templateNameMoreInfo: ' + this.templateNameMoreInfo + '\n';
		str += 'activityMainId: ' + this.activityMainId + '\n';
		str += 'activityMainDesc: ' + this.activityMainDesc + '\n';
		str += 'hasMoreAddresses: ' + this.hasMoreAddresses + '\n';
		str += 'hasMoreEmails: ' + this.hasMoreEmails + '\n';
		str += 'hasMoreActivities: ' + this.hasMoreActivities + '\n';
		str += 'pos: ' + this.pos + '\n';
		str += 'status: ' + this.status + '\n';
		str += 'zipCode: ' + this.zipCode + '\n';
		str += 'mainFone: ' + this.mainFone + '\n';
		str += 'ddd: ' + this.ddd + '\n';
		str += 'type: ' + this.type + '\n';
		str += 'foneNumber: ' + this.foneNumber + '\n';
		str += 'advertiseProductType: ' + this.advertiseProductType + '\n';
		str += 'dddfax: ' + this.dddfax + '\n';
		str += 'faxNumber: ' + this.faxNumber + '\n';
		str += 'address: ' + this.address + '\n';
		str += 'addressNumber: ' + this.addressNumber + '\n';
		str += 'district: ' + this.district + '\n';
		str += 'city: ' + this.city + '\n';
		str += 'uf: ' + this.uf + '\n';
		str += 'cnpj: ' + this.cnpj + '\n';
		str += 'ddd2: ' + this.ddd2 + '\n';
		str += 'type2: ' + this.type2 + '\n';
		str += 'foneNumber2: ' + this.foneNumber2 + '\n';
		str += 'ddd3: ' + this.ddd3 + '\n';
		str += 'type3: ' + this.type3 + '\n';
		str += 'foneNumber3: ' + this.foneNumber3 + '\n';
		str += 'addressVisible: ' + this.addressVisible + '\n';
		str += 'hasQuotation: ' + this.hasQuotation + '\n';
		str += 'hasPictureEditorial: ' + this.hasPictureEditorial + '\n';
		return str;
	}

	this.reset = reset;
	this.toString = toString;
} 
