
/* default values for when user views page after cancelling order at Secure Hosting */
var gvFlag = "2";
var gvDiscount = "1";
var gvDiscountDisplay = "0";


/* create cookie object */
userCookie = new cookieObject("cookieVoucher", null, null, "gvFlag", "gvValue", "gvDiscount", "gvDiscountDisplay");

/* if the cookie exists populate the JS variables */
if (userCookie.found) {
	if(userCookie.get("gvFlag") != "undefined") {
		gvFlag = userCookie.get("gvFlag");
		gvDiscount = userCookie.get("gvDiscount");
		gvDiscountDisplay = userCookie.get("gvDiscountDisplay");
	}
}
