function createCookie(c,d,e){if(c&&d){var a="";
if(e){var b=new Date();
b.setTime(b.getTime()+(e*24*60*60*1000));
a="; expires="+b.toGMTString()
}document.cookie=c+"="+d+a+"; path=/"
}}function readCookie(c){var d=c+"=";
var b=document.cookie.split(";");
for(i=0;
i<b.length;
i++){var a=b[i];
while(a.charAt(0)==" "){a=a.substring(1)
}if(a.indexOf(d)==0){return a.substring(d.length,a.length)
}}return null
}function eraseCookie(a){createCookie(a,"",-1)
}function checkAndDrop(){if(!readCookie("exitSurvey")){if(Math.random()*100<=33.3333){createCookie("exitSurvey","allow")
}else{createCookie("exitSurvey","deny")
}}else{}}var selfUnload=new Boolean(true);
function launchUnload(){if(selfUnload==true){if(readCookie("exitSurvey")=="allow"){window.open("unloadCatcher.html","unloadCatcher","width=1,height=1")
}}}function stopUnload(){selfUnload=false
};
