/**
 * Survey Callout
 * Version 2.1
*/

// Survey information and statistics
var x = 1; // 1 of x are eligible to particiate
var y = 4;  // 1 of y are eligible for Pre survey
var z = 2;  // 1 of z are eligible for Post survey
var numOfPagesToView = 2;  // Number of pages the viewer sees before being given post survey


//var preSurveyUrl = "http://www.rosettasurveys.com/survey/Surveys/TakeSurvey.aspx?s=2F6AF522D2A845D8A4D6C738670E23A5";

//var postSurveyUrl = "http://www.rosettasurveys.com/survey/Surveys/TakeSurvey.aspx?s=EF0A085A148F441EB0E537D3528983BA";

var widthOfPopUp = 500; // Popup Survey Width
var heightOfPopUp = 600; // Popup Survey Height
// Callout config
var timerMax = 10;
var timerCalloutMax = 10;
var surveyDistance = 250; // How far out the callout will go
var imagePath = "/images/survey/";
var formName = "CalloutSurveyForm"; // name and Id of the survey form
var logo = "plavix_logo.gif";
var logoWidth = 189;
var logoHeight = 51;
var logoAlt = "Plavix (clopidogrel bisulfate) 75 mg tablets";
var calloutHeaderText = "Please help!";
var calloutText = "We need your feedback to improve this site.<br /><br />Would you like to participate?";
var confirmButton = "ok_btn.gif";
var confirmButtonAlt = "OK";
var confirmButtonWidth = 53;
var confirmButtonHeight = 20;
var cancelButton = "cancel_btn.gif";
var cancelButtonAlt = "Cancel";
var cancelButtonWidth = 53;
var cancelButtonHeight = 20;

// Cookie Info
var pageCountCookie = "pageCount";
var trackedStatusCookie = "tracked";
var surveyCookie = "survey";
var cookieExpires = 1000000