function fillAgreementText( agreementText, agreementTitle, agreementVersion, liNumber ){
	
	//Gets text area and global values
	var agreementTextArea = $("#agreementTextArea");
	
	agreeTitle = agreementTitle;
	agreeVersion = agreementVersion;
	
	
	//Populates text area with iframe showing agreement if 
	//the page is using an LI number
	if( liNumber != null && liNumber != "" ){
		agreementTextArea.append(
				"<iframe id='iFrame' width='100%' height='90%' " + 
					"src='" + liHost + liNumber + "'></iframe>");
		
		
	//Otherwise, insert properly formatted agreement 
	//text into text area
	} else {
		
		agreementTextArea.append( "<p class='ibm-h3'> " + agreeTitle + " </p><p>" + agreementText + "</p> " +
				"<p>" + agreeTitle + " (" + agreeVersion + ")</p") ;
		
		var languageDict = {
				"translateId" : 0,
				"language" : defaultLanguage,
				"text"	: agreementText,
				"title" : agreeTitle,
				"version" : agreeVersion
		};
		
		translations[defaultLanguage] = languageDict;
		
	}
}
//Populates agreement text area with correct information

Populates agreement text area with correct information
Populates agreement text area with correct information
function fillAgreementText( agreementText, agreementTitle, agreementVersion, liNumber ){
	var agreementTextArea = $("#agreementTextArea");
	agreeTitle = agreementTitle;
	agreeVersion = agreementVersion;
	if( liNumber != null && liNumber != "" ){
		agreementTextArea.append(
				"<iframe id='iFrame' width='100%' height='90%' " + 
					"src='" + liHost + liNumber + "'></iframe>");
	} else {
		agreementTextArea.append( "<p class='ibm-h3'> " + agreeTitle + " </p><p>" + agreementText + "</p> " +
				"<p>" + agreeTitle + " (" + agreeVersion + ")</p") ;
		var languageDict = {
				"translateId" : 0,
				"language" : defaultLanguage,
				"text"	: agreementText,
				"title" : agreeTitle,
				"version" : agreeVersion
		};
		translations[defaultLanguage] = languageDict;
	}
}
function fillAgreementText ( agreementText , agreementTitle , agreementVersion , liNumber ) { var agreementTextArea = $ ( "#agreementTextArea" ) ; agreeTitle = agreementTitle ; agreeVersion = agreementVersion ; if ( liNumber != null && liNumber != "" ) { agreementTextArea . append ( "<iframe id='iFrame' width='100%' height='90%' " + "src='" + liHost + liNumber + "'></iframe>" ) ; } else { agreementTextArea . append ( "<p class='ibm-h3'> " + agreeTitle + " </p><p>" + agreementText + "</p> " + "<p>" + agreeTitle + " (" + agreeVersion + ")</p" ) ; var languageDict = { "translateId" : 0 , "language" : defaultLanguage , "text" : agreementText , "title" : agreeTitle , "version" : agreeVersion } ; translations [ defaultLanguage ] = languageDict ; } }
Populates agreement text area with correct information
Populates agreement text area with correct information
//Gets text area and global values
 //Populates text area with iframe showing agreement if 
 //the page is using an LI number
 //Otherwise, insert properly formatted agreement 
 //text into text area
