/* Valtira Configuration Embed Survey */
/* author Benjamin Wilson ben.wilson@valtira.net */

var vlt_surveyWindowHeight = 600;
var vlt_surveyWindowWidth = 500;

/* Global Vars
pageViews - this var works with the pageViews cookie to determine when to show the survey
surveyId - the ID of the survey to display based on the ratios business logic
ratio - the percentage used to determine which survey to deliver
surveyType - if true the survey popup is delivered on page load, otherwise it's on an exit trigger
*/

var vlt_odsUrl = "http://ods30.valtira.com/page/1/valtira-survey-render.jsp";

var vlt_survey1 = {
  surveyId: "200",
  ratio: parseInt("30"),
  surveyType: "true",
  pageCount: parseInt("0")
}

var vlt_survey2 = {
  surveyId: "201",
  ratio: parseInt("70"),
  surveyType: "false",
  pageCount: parseInt("3")
}
