// Annual Report object
function Report() {
	this.aNodes = new Array();
}

function ReportNode(title, hyperlink) {
	this.title = title;
	this.hyperlink = hyperlink;
}

Report.prototype.add = function(title, hyperlink) {
	this.aNodes[this.aNodes.length] = new ReportNode(title, hyperlink);
}

Report.prototype.toString = function() {
	var r = '';
	for (var i = 0; i < this.aNodes.length; i++) {
		r += '<tr valign="top">' + "\n";
		r += '<td background="../../image/common/dots.gif" width="70%"><a href="javascript:;" onclick="window.open(' + "'" + this.aNodes[i].hyperlink + "','','height=680px,directories=no,scrollbars=yes,resizable=no,width=950px,status=no,toolbar=no,menubar=no,location=no');\">" + this.aNodes[i].title + '</a></td>' + "\n";
		r += '<td>';
		r += (this.aNodes[i].hyperlink ? '<a href="javascript:;"><img onclick=window.open("' + this.aNodes[i].hyperlink + '","","height=680px,directories=no,scrollbars=yes,resizable=no,width=950px,status=no,toolbar=no,menubar=no,location=no") src="../../image/common/i_view.gif" border="0" /></a>': '&nbsp;');
		r += '</td>' + "\n";
		r += '</tr>' + "\n";
		r += '<tr><td colspan="2">&nbsp;</td></tr>' + "\n";
	}
	return r;
}
