// assemble the information that appears
// in the head of each page of the ELDORA
// user guide
function IOP( month1, day1, year1,
              hour1, min1, sec1,
	      month2, day2, year2,
              hour2, min2, sec2, 
	      project, id) {


	// begin date stamp
	this.month1 = month1;
	this.day1 = day1;
	this.year1 = year1;

	// begin time stamp
	this.hour1 = hour1;
	this.min1 = min1;
	this.sec1 = sec1;

	// end date stamp
	this.month2 = month2;
	this.day2 = day2;
	this.year2 = year2;

	// end time stamp
	this.hour2 = hour2;
	this.min2 = min2;
	this.sec2 = sec2;

	// the project
	this.project = project;

	// the iop identifier (flight number)
	this.id = id;

}
//***************************************
IOP.prototype.AssembleTitle = function( label ) {

        // assemble the titles for this object
        var title = this.project + ', ' + this.year1 + ': ' + label + '<br>' +
                    this.id + ': ' + this.day1 + '-' + this.month1 +
                    '-' + this.year1 + ' ' + this.hour1 + ':' +
                    this.min1 + ' - ' + this.hour2 + ':' + this.min2;
        return title;
}
