const logon = {
"0.0.0" : {

  "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},
	
	"pageMain":{
	  "mainTop"  : "${lexis.aeternaTitle}",
	  "mainMid"  : "${lexis.welcome}"
	  },
	
	"pageClose":{		 
	  "btnText"  	: "Proceed please",
		"next"			: "0.0.1"
	 },

	"pageFoot":{
	  "content":"${lexis.footer}"	
	  }

},

"0.0.1": {
  "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},
	
	"pageMain":{
	  "mainTop":	"${lexis.aeternaTitle}",
	  "mainMid":
			"<p>Hello and welcome to the ${lexis.aeternaSystems} augmentation and enhancement centre.</p>"
 	   },
 		
 	"pageClose":{
		  "btnText"  	: "Proceed",
		  "next"			: "0.0.2"
		  },

	"pageFoot":{
	  "content":"${lexis.footer}"	
	  }
	},

"0.0.2":{
	 "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},
	
	"pageMain":{
	  "mainTop": "${lexis.aeternaTitle}",
	
		"mainMid" : {
      "formSheet": {
      	"legend":"<div class='text'><p>Please choose your <i>authentication</i> method:</p><br/></div>",	
        "formType" : "authType",
        "layout"    : "inline",
        "formInput": [
          {
           "label"    : "Registered client ",
           "input"		: {
              "ID":"authSubscrib", 
              "name":"authSubscrib",
              "formType":"button", 
              "value": "Logon",
              "onClick": "0.0.6"
            }
          },
          {
          	"label"			:  "Invitee (with code)",
          	"input"			: {
              "ID":"authSubscrib", 
              "name":"authSubscrib",
              "formType" :"button", 
              "value"    : "Register",
              "onClick"  : "0.0.3"
            }
          },
          {
           "label"				:  "Guest? Get the newsletter.",
           "input"				: {
              "ID":"authInvite", 
              "name":"authInvite",
              "formType":"button", 
              "value": "Welcome",
              "onClick": "0.2.0"
            }
          }
        ]
      }
    }
  },
  "pageClose":{
  	"next"						 : "choice",
    "btnText"					 : "noBtn"
  },

	"pageFoot":{
	  "content":"${lexis.footer}"	
	  }
},

"0.0.3" : {
  "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},
	
 "pageMain":{
	  "mainTop": "${lexis.aeternaTitle}",
	  
	  "mainMid": 
	   {
  		"formSheet": {
    	"legend":"<div class='text'><p>Please enter the code that you received with your invitation:</p></div>",	
      "formType" : "text",
      "layout"    : "inlineText",
      "formInput": [
        {
         "label"    : "Your invitation code:",
         "input"		: {
            "ID":"txtInput", 
            "name":"txtInput",
            "formType":"text", 
            "prompt":"${lexis.placeholder}"
          }
        }
			]
      }
	  }
	},

 "pageClose":{
 		"btnText"	:"Submit",
 		"return" : "txtInput.value",
 		"next"		:"0.0.4"
  },

	"pageFoot":{
	  "content":"${lexis.footer}"	
	  }
},

"0.0.4" : {
  "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},
	
 "pageMain":{
	  "mainTop": "${lexis.aeternaTitle}",
	  "mainMid": { 
	  	
			"formSheet": {
				"formType":"text",
				"legend":"<div class='text'><p>Please create a user name, with which you will be know internally & a passcode for accessing your journal:</p></div>",
				"layout":"inlineText",
			  "formInput": [
			  	{
					 "label":  "Avatar name:",
					 "input": {
					 		"ID":"usrName", 
					 		"name":"name",
					 		"prompt": "${lexis.placeholder}"}
					},
					{
					 "label": "Personal Code:",
					 "input": {
					 		"ID":"passCode", 
					 		"name":"code", 
					 		"prompt": "${lexis.placeholder}"}
					}
				]
			}
	  }
	},

 "pageClose":{
 		"btnText": "Submit",
 		"next":"0.0.5"
  },

  "pageFoot":{
	  "content":"${lexis.footer}"	
	  }
},

"0.0.5": {
  "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},

 	"pageMain":{
	   "mainTop": "${lexis.aeternaTitle}",
	  "mainMid":
   			"<p>Hi <b><i>${parti.userName}</b></i>, it's a pleasure to meet you.</p><p>As this is your first time at the centre, let us proceed to get a few formalities out of the way.</p>"
	 },
	 "pageClose":{
 			"next"				:"0.0.6",
		  "btnText"  		: "Proceed"
		  },

		"pageFoot":{
	  "content":"${lexis.footer}"	
	  }	  
},

"0.0.6": {
  "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},
	
 	"pageMain":{
	 	"mainTop": "${lexis.aeternaTitle}",
		"mainMid" : {
      "formSheet": {
      	"legend":"<div class='text'><p>Personal Identification Information</p></div>",	
        "formType" : "PIIP",
        "layout"    : "inline",
        "formInput": [
			  	{
					 "label":  "First Name(s): ",
					 "input": {
					 		"ID":"firstName", 
					 		"name":"firstName",
					 		"formType":"text", 
					 		"prompt": "${lexis.placeholder}"}
					},
					{
					 "label": "Main telephone nr: ",
					 "input": {
					 		"ID":"primaryTele", 
					 		"name":"primaryTele",
					 		"formType":"text", 
					 		"prompt": "${lexis.placeholder}"}
					},
					{
					 "label": "Secondary telephone nr: ",
					 "input": {
					 		"ID":"secondTele", 
					 		"name":"secondTele",
					 		"formType":"text", 
					 		"prompt": "${lexis.placeholder}"}
					},
					{
					 "label": "Main Email: ",
					 "input": {
					 		"ID":"email", 
					 		"name":"email",
					 		"formType":"text", 
					 		"prompt": "${lexis.placeholder}"}
					},
					{
					 "label": "Alternative Email: ",
					 "input": {
					 		"ID":"email", 
					 		"name":"email",
					 		"formType":"text", 
					 		"prompt": "${lexis.placeholder}"}
					}
				]
      }
    }
  },

 "pageClose":{
 		"btnText": "Submit",
 		"next":"0.0.7"
  },

  "pageFoot":{
	  "content":"${lexis.footer}"	
	  }
},

"0.0.7": 
{
 "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},

	"pageMain":{
		"mainTop": "${lexis.aeternaTitle}",
		"mainMid" : {
      "formSheet": {
      	"legend":"<div class='text'><p>You can choose your way forward below:</p><br/></div>",	
        "formType" : "directLink",
        "layout"    : "inline",
        "formInput": [
          {
           "label"    : "Psychometric Evaluations",
           "input"		: {
              "ID":"authSubscrib", 
              "name":"authSubscrib",
              "formType":"button", 
              "value": "Continue",
              "onClick": "Psychometric"
            }
          },
          {
          	"label"			:  "Psychometric Evaluations",
          	"input"			: {
              "ID":"authSubscrib", 
              "name":"authSubscrib",
              "formType" :"button", 
              "value"    : "Continue",
              "onClick"  : "Psychometric"
            }
          },
          {
           "label"				:  "Psychometric Evaluations",
           "input"				: {
              "ID":"authInvite", 
              "name":"authInvite",
              "formType":"button", 
              "value": "Continue",
              "onClick": "Psychometric"
            }
          }
        ]
      }
    }
   },

"pageClose":{
 		"btnText": "Submit",
 		"next":"0.0.8"
  },

  "pageFoot":{
	  "content":"${lexis.footer}"	
	  }
},


"0.1.0" : {
  "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},
	
 "pageMain":{
	  "mainTop": "<div class='text'><p>Please sign in with your user name &  passcode:</p></div>",
	  "mainMid": { 
			"formSheet": {
				"formType":"logon",
			  "formInput": [
			  	{
					 "label":  "User Name: ",
					 "input": {
					 		"ID":"usrName", 
					 		"name":"usrName",
					 		"formType":"text", 
					 		"prompt": "${lexis.placeholder}"}
					},
					{
					 "label": "Pass code: ",
					 "input": {
					 		"ID":"subCode", 
					 		"name":"usrName",
					 		"formType":"text", 
					 		"prompt": "${lexis.placeholder}"}
					}
				]
			}
	  }
	},

	"pageFoot":{
	  "content":"${lexis.footer}"	
	  }
	},

"0.2.0" : {
  "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},
	
 "pageMain":{
	  "mainTop": "${lexis.aeternaTitle}<br/><br/><div class='text'><p>To receive our newsletter, please enter your name & email:</p></div>",
	  "mainMid": { 
			"formSheet": {
				"formType":"logon",
			  "formInput": [
			  	{
					 "label":  "Name: ",
					 "input": {
					 		"ID":"name", 
					 		"name":"name",
					 		"formType":"text", 
					 		"prompt": "${lexis.placeholder}"}
					},
					{
					 "label": "Email: ",
					 "input": {
					 		"ID":"email", 
					 		"name":"email",
					 		"formType":"text", 
					 		"prompt": "${lexis.placeholder}"}
					}
				]
			}
	  }
	},
	 "pageClose":{
 		"btnText": "Submit",
 		"next":"0.2.1"
  },

  "pageFoot":{
	  "content":"${lexis.footer}"	
	  }
	},

"0.2.1" : {
  "pageHead":{
		"exitIcon"	: "${lexis.exitIcon}",
		"topMenu"	  : "${lexis.topMenu}",
		"menuIcon"  : "${lexis.menuIcon}"
	},
	
 "pageMain":{
	  "mainTop": "${lexis.aeternaTitle}",

	  "mainMid":"<div class='text'><p>Thank you - you should be receiveing a comfirmation email from us very shortly.</p></div>",
	},
	 "pageClose":{
 		"btnText": "Exit",
 		"next":"xit"
  },

  "pageFoot":{
	  "content":"${lexis.footer}"	
	  }
	},


"1.0.1" : {
	"pageHead":{
		"menuIcon":"show",
		"exitIcon":"show",
		"menu":"${dialog.topMenu}"
	 },

	"pageMain":{
	  "mainTop":	"${dialog.aeternaTitle} ${dialog.sted}",
	  "mainMid":
			"<div class='text'><p>Thank you - your profile is ready to be re-loaded. Just click CONTINUE and may continue from where you left off.</p></div>"
 	   },
 		
 	"pageClose":{
 			"next"				:"xxx-load from 'parti'",
		  "btnText"  		: "Proceed"
		  }
		},


"1.1.0" : {
	"controlFlow":
	{
	 "comment_1": "Returning user - get user name",
	 "GoTo": "1.1.0",
	 "NoGo": "1.1.0"
	 },
	"panelHeader":
 		{
 		"headerBar":
 		  {
 			"menu": {
				"Mission": "mission",
				"Career": "career",
				"Members":"1.0.0",
				"Projects": {
					"Cognitive-security": "c-s",
					"Human-Resources": "h-r",
					"Public-Relations": "p-r",
					"Risk-Management": "r-m",
					"Remote-Education":"r-e"
					},
			  "Profile":"profile",		
				"Contact": "contact"
				}
	 	  }
	 	 },		
	"panelBody":
   {
   	"spacer":"13.0rem auto",

		"title":"${dialogue.aeternaTitle}",
		"sted":"BERLIN",
	
 		"spacer-0": "5.0rem 0",
	  "bodyText" : "<p>Welcome back.</p><p>To continue where you left off. Please enter your preferred user name in the box below.</p><br />",

	 "formSheet": 
	  [{
		 "group": "parti",
		 "formInput": 
		   [
				["User name", "name", "${parti.loginID}"],
				["re-entry code", "value", "${parti.pinCode}"]
			 ]
		}],
		"btnNote":"<p class='center'>To return to the authentication page just leave the boxes empty.</p>",
		"btnText"			: "Enter"
	 },
	"panelFooter":"common"
  },


"1.2.0" : {
  "controlFlow":
	 {
	 "comment_1": "give option to try again or to register as new user:",
	 "GoTo": "1.0.0",
	 "NoGo": "1.0.1"
	 },
	"panelHeader":
 		{
 		"headerBar":
 		  {
 			"menu": {
				"Mission": "mission",
				"Career": "career",
				"Members":"1.0.0",
				"Projects": {
					"Cognitive-security": "c-s",
					"Human-Resources": "h-r",
					"Public-Relations": "p-r",
					"Risk-Management": "r-m",
					"Remote-Education":"r-e"
					},
				"Contact": "contact"
				}
	 	  },		
 		"header":"<div class='title' >ÆT&#x039E;R&#x418;&#x039B;</div><div style='color:#898989;font-size:2.5rem;letter-spacing:0.15rem;font-family:Lato;'> BERLIN </div><hr style='color:#696969;background-color:#696969;width:45%;margin:1.0rem auto;'/>"
 	  },
  "panelBody":
	{
	 "bodyText"  : "<p>Your user name as given is not in the registry. If you are certain that you are registered, please try signing on again.</p><p>If you are not registered with us yet leave the input box empty and click <span style='font-family:sans-serif;font-size:1.5rem'>Proceed</>",

		"textBox":{ "placeHolder":"...",
					"returnValue":"textBoxInput.value",
					"btnText":"Proceed"},
	
		"panelFooter":"common"
	}
}
}