/*
 *
 * Copyright (C) 2009 EmbedOne.
 * Contact: EmbedOne Software Information (info@embedone.com)
 *
 * Commercial Usage
 * Licensees holding valid EmbedOne Commercial licenses may use this file
 * in accordance with the EmbedOne Commercial License Agreement provided
 * with the Software or, alternatively, in accordance with the terms
 * contained in a written agreement between you and EmbedOne.
 *
 * GNU General Public License Usage
 * Alternatively, this file may be used under the terms of the GNU
 * General Public License version 3.0 as published by the Free Software
 * Foundation and appearing in the file LICENSE.GPL included in the
 * packaging of this file.  Please review the following information to
 * ensure the GNU General Public License version 3.0 requirements will be
 * met: http://www.gnu.org/copyleft/gpl.html.
 *
 * If you are unsure which license is appropriate for your use, please
 * contact the EmbedOne sales department at sales@embedone.com.
 *
 */

var objTxtConfiguration = new oTxtConfiguration();

// Creating an object with multiple constants
function oTxtConfiguration(){
	this.iTitleEdit = "<h1>System Configuration Edit</h1>";
	this.iTitleReview = "<h1>System Review Changes</h1>";
	this.iSubNav ="<ul> "
		    		+'<li><a class="current" href="#" title="Configuration Edit" id="iConfigEdit"><span '
					+"onclick='mSubNavMouseClick("+'"iConfigEdit"'+");' "
					+'>Configuration Edit</span></a></li> '
		    		+'<li><a href="#" title="Review Changes (5)" id="iConfigReview"><span id="iReviewChangesS" '
					+"onclick='mSubNavMouseClick("+'"iConfigReview"'+");' "
					+'>Review Changes (5)</span></a></li> '
					+"</ul>"
					;
	this.iContent = '<textarea name="data" id="data" rows="10" cols="80"></textarea>';
	/*this.iActions = '<input name="apply_changes" type="submit" id="button" value="Apply Changes" onclick="mConfigurationApply();" /> ' 
					+'<input name="save_changes" type="submit" id="id_save_changes" value="Save Changes" onclick="mConfigurationSet();" /> '
					;*/
	this.iActions = '<input name="save_changes" type="submit" id="id_save_changes" value="Save Changes" onclick="mConfigurationSet();" /> ';
	this.iReviewActions = '<input name="apply_changes" type="submit" id="button" value="Apply Changes" onclick="mConfigurationApply();" /> ' 
			+'<input name="save_changes" type="submit" id="id_save_changes" value="Save Changes" onclick="mConfigurationSet();" /> '
			+'<input name="refresh_changes" type="submit" id="id_refresh_changes" value="Refresh" onclick="mConfigurationRefresh();" /> '
			+'<input name="refresh_changes" type="submit" id="id_save_config" value="Flash Configuration" onclick="mConfigurationSave();" /> '
			;

	this.iFooter = '<div id="copyright"> '
			+"<p>Copyright &copy; 2009 EmbedOne. All rights reserved.</p> "
			+"</div>"
			;
			
	this.iTabCurrent = "iConfigEdit";
}


var objTxtReviewConfiguration = new oTxtReviewConfiguration();

function oTxtReviewConfiguration(){
	this.iTitleEdit = "<h1>System Configuration Edit</h1>";
	this.iTitleReview = "<h1>System Review Changes</h1>";
	this.iSubNav ="<ul> "
		    		+'<li><a class="current" href="#" title="Configuration Edit" id="iConfigEdit"><span '
					+"onclick='mSubNavMouseClick("+'"iConfigEdit"'+");' "
					+'>Configuration Edit</span></a></li> '
		    		+'<li><a href="#" title="Review Changes (5)" id="iConfigReview"><span id="iReviewChangesS" '
					+"onclick='mSubNavMouseClick("+'"iConfigReview"'+");' "
					+'>Review Changes (5)</span></a></li> '
					+"</ul>"
					;
	//this.iContent = '<table width="100%" border="1" ><tr><td width="50%" id="data_old"></td> <td width="50%" id="data_new"></td></tr></table>';
	this.iContent = '<div id="confold"></div><div id="confnew"></div>';
	this.iActions = '<input name="apply_changes" type="submit" id="button" value="Apply Changes" onclick="mConfigurationApply();" /> ' 
					+'<input name="save_changes" type="submit" id="id_save_changes" value="Save Changes" onclick="mConfigurationSet();" /> '
					;
	this.iFooter = '<div id="copyright"> '
			+"<p>Copyright &copy; 2009 EmbedOne. All rights reserved.</p> "
			+"</div>"
			;
			
	this.iTabCurrent = "iConfigEdit";
}
