/*
EAS JavaScript Client-Side Solution
Module for text; display, iformation, and associated links.
Conceptually the Page Header and Page Footer.

Intended for EAS modifications.
200811025 

All Rights Reserved
Copyright 2008
Gerhard Computing, Inc.
	----------
 
*/


//	----------
//	Returns text stream for page header.
function pageHeader() {

	var rVal = '';

	rVal = 	'<H1> Consolidate PDF Selection List</H1>' +
					'<BR>Please review the list below and make any modifications to the order in which files are to be consolidated.  To change the order, click the CkBox and change the sort order value.' + 
					'<BR>' + 
					'<BR>Ensure that the e-mail address is correct.  If not, please amend accordingly. This is the address EAS has on file and the one that the Consolidated PDF Report File will be sent to.  If you wish to permanently amend the address, please contact us.' +
					'';
	
	return (rVal);
}	//	-	end


//	----------
//	Returns text stream for page footer.
function pageFooter() {

	var rVal = '';

	rVal = 	'<P><CENTER>' +
					'<A HREF="/Data/' + 
						objClient.getClientNo() +
					'/Index.asp">Back to Current Status</A><BR>' +
					'</CENTER>' +
					'';
	

	//	this wil return to the ClientNo's Main Index/Status page 
	
	return (rVal);
}	//	-	end


//	----------
//	Returns the label text for the email address text box
function txtMail () {

	var rVal = '';

	rVal = 	'e-mail address to send consolidated report to &nbsp;&nbsp;';
	
	return (rVal);
}	//	-	end

//	----------
//	Returns the SMTP addressd to be aplied to the FROM field when sending emails
function txtFrom() {

	var rVal = '';

	rVal = 	'PaulS@EasInc.Com';
	
	return (rVal);
}	//	-	end

//	----------
//	Returns the text to user when trying to access frmConsolidate page without any PDF reports selected
function txtNoFileList () {

	var rVal = '';
	rVal =  'NO PDF FILE LIST:\n' +
					'Please prepare the list of PDF files you want to consolidate and try again.';

	return (rVal);
}	//	-	end

//	----------
//	Returns the text to user when pushed the SUBMIT buttom to confirm 
//	actually sending the list to the server
function txtConfirmSend2Server( pMailAddress ) {

	var rVal = '';

	rVal = 	'Are you sure you want to sent this consolidated pdf\n' +
					'file to  ' + pMailAddress + '?';
	
	return (rVal);
}	//	-	end

//	----------
//	Returns the text for the Submit button
function txtSubmitButton () {

	var rVal = '';
	rVal =  'Generate Consolidated Report';

	return (rVal);
}	//	-	end








