survdSurveyForm = new Object();
survdSurveyForm.action = "http://www.livingfaith.com/survd/process/savesubmission.php"
survdSurveyForm.title = "Electronic Format Survey";
survdSurveyForm.shortcode = "electronicFormatSurvey";
survdSurveyForm.successmessage = "Thank you for helping us serve you better!";
survdSurveyForm.autostyle = "yes";
survdSurveyForm.submitui = "button";
survdSurveyForm.displaytitle = "yes";
survdSurveyForm.created = "07/03/2011";
survdSurveyForm.modified = "27/09/2011";
// define questions
survdSurveyForm.questions = new Array();
survdSurveyForm.questions[01] = {
         "id" : "01",
         "shortcode" : "doYouSubscribeToLivingFaith",
         "question" : "Do you subscribe to Living Faith?",
         "required" : "optional",
         "type" : "yesno",
         "classes" : "",
         "extend" : true,
         "value" : "",
         "displayValue" : "",
         "subset" : [
         {
                  "id" : "01",
                  "shortcode" : "forHowLongYears",
                  "question" : "For how long (years)",
                  "required" : "optional",
                  "type" : "number",
                  "classes" : "",
                  "value" : "",
                  "displayValue" : ""
         }
         ]
};
survdSurveyForm.questions[02] = {
         "id" : "02",
         "shortcode" : "areYouInterestedInLivingFaithInAnElectro",
         "question" : "Are you interested in Living Faith in an electronic form?",
         "required" : "optional",
         "type" : "yesno",
         "classes" : "",
         "extend" : true,
         "value" : "",
         "displayValue" : "",
         "subset" : [
         {
                  "id" : "01",
                  "shortcode" : "pleaseSelectAllThatYouWouldBeInterestedI",
                  "question" : "Please select all that you would be interested in:",
                  "required" : "optional",
                  "type" : "checkbox",
                  "classes" : "",
                  "value" : ["iPhone","iPad","Android","Blackberry","Digital Book","Mobile Website","Web Browser (ex: Internet Explorer)","Other?"],
                  "displayValue" : ["iPhone App","iPad App","Android App","Blackberry App","Digital Book (Kindle / ePub)","Mobile Website","Web Browser (ex: Internet Explorer)","Other?"],
                  "subset" : [
                  {
                           "id" : "01",
                           "shortcode" : "letUsKnowAnyOtherDeviceFormat",
                           "question" : "Let us know any other device / format",
                           "required" : "optional",
                           "type" : "comment",
                           "classes" : "",
                           "value" : "",
                           "displayValue" : ""
                  }
                  ]
         }
         ]
};
survdSurveyForm.questions[03] = {
         "id" : "03",
         "shortcode" : "howWouldYouLikeToRecieveLivingFaith",
         "question" : "How would you like to receive Living Faith?",
         "required" : "optional",
         "type" : "radio",
         "classes" : "",
         "value" : ["Print","Electronic","Print and Electronic"],
         "displayValue" : ["Print","Electronic","Both"]
};
survdSurveyForm.questions[04] = {
         "id" : "04",
         "shortcode" : "yourAge",
         "question" : "Your age?",
         "required" : "optional",
         "type" : "select",
         "classes" : "",
         "value" : ["20 - 35","36 - 49","50 - 64","65+"],
         "displayValue" : ["20 - 35","36 - 49","50 - 64","65+"]
};
survdSurveyForm.questions[05] = {
         "id" : "05",
         "shortcode" : "howDidYouFirstLearnAboutLivingFaith",
         "question" : "How did you first learn about Living Faith?",
         "required" : "optional",
         "type" : "select",
         "classes" : "",
         "value" : ["Parish","Gift","Bookstore","Internet","Catalog","Other"],
         "displayValue" : ["Parish","Gift","Bookstore","Internet","Catalog","Other"],
         "subset" : [

         ]
};
survdSurveyForm.questions[06] = {
         "id" : "06",
         "shortcode" : "anyOtherComments",
         "question" : "Any other comments?",
         "required" : "optional",
         "type" : "comment",
         "classes" : "",
         "value" : "",
         "displayValue" : ""
};
survdDefaultStyle = {
"select" : {
	"margin-bottom" : "10px"
},
"label.survdQuestionLabel" : {
	"display" : "block",
	"margin-bottom" : "10px",
	"margin-top" : "10px",
	"padding-bottom" : "5px",
	"font-weight" : "bold",
	"font-style" : "italic",
	"letter-spacing" : "1px",
	"color" : "#666",
	"border-bottom" : "1px solid #ddd",
	"font-family" : "Arial, sans-serif"
},
"label.survdQuestionLabel span.survdValidationError" : {
	"padding-left" : "10px",
	"color" : "#991111"
},
"label.survdRadioLabel" : {
	"padding-left" : "5px",
	"color" : "#666",
	"font-size" : "0.8em",
	"font-family" : "Arial, sans-serif"
},
"label.survdCheckboxLabel" : {
	"padding-left" : "5px",
	"color" : "#666",
	"font-size" : "0.8em",
	"font-family" : "Arial, sans-serif"
},
"label.survdBinaryLabel" : {
	"padding-left" : "5px",
	"color" : "#666",
	"font-size" : "0.9em",
	"font-family" : "Arial, sans-serif"
},
"input[type=text]" : {
	"border" : "1px solid #ddd",
	"background" : "#eee",
	"padding" : "5px",
	"margin" : "5px 0px 10px 0px",
	"color" : "#444",
	"width" : "500px"
},
"textarea" : {
	"border" : "1px solid #ddd",
	"background" : "#eee",
	"padding" : "5px",
	"margin" : "5px 0px 10px 0px",
	"color" : "#444",
	"width" : "500px",
	"height" : "150px"
},
"div.survdOption" : {
	"margin" : "5px 0px"
},
"div.extendSubset" : {
	"margin-left" : "40px"
},
"div.survdOnoff" : {
	"margin" : "10px 0px"
},
"input[type=checkbox]" : {
	"margin-left" : "5px"
},
"div.formButtons" : {
	"margin-top" : "20px",
	"margin-left" : "0px"
},
"div.subset" : {
	"margin-left" : "40px"
},
"select.error" : {
	"color" : "#444"
},
"#survdSubmitButton" : {
	"color" : "#fff",
	"background" : "#444",
	"padding" : "5px",
	"font-family" : "Arial, sans-serif",
	"font-size" : "0.8em"
}
}
