function hideDiv() {
	$("#SurveyPopup").hide();
}

function showDiv() {
	$("#SurveyPopup").show();
}

function update(duetime){
	$("#SurveyPopup").css("display","none");
	var now = new Date();
	var then = new Date(duetime);
	var seconds = then - now;
	if (seconds > 0) {
		setTimeout(function(){
			$("#SurveyPopup").show();
			
		}, seconds)
	}
}