var Survey = Class.create();Survey.prototype = {	initialize: function(timerMax, timerCalloutMax, element, surveyDistance){		this.timerMax = timerMax;		this.timerCalloutMax = timerCalloutMax;		this.element = $(element);		this.surveyDistance = surveyDistance;				this.timer = 0;		this.timerInterval = null;		this.calloutTimer = 0;		this.calloutInterval = null;				this.timerCleared = false;				Event.observe(this.element, "mouseover", this.pauseTimer.bindAsEventListener(this));		Event.observe(this.element, "mouseout", this.restartTimer.bindAsEventListener(this));		this.surveyInit();	},		fadeSurvey: function(){		clearInterval(this.timerInterval);		new Effect.Fade(this.element);		new Effect.MoveBy(this.element, -500, 0);	},			surveyInit: function(){		new Effect.MoveBy(this.element, 0, -(this.surveyDistance));		this.timerInterval = setInterval(this.startTimer.bind(this), 1000);	},		startTimer: function(){		this.timer++;		if (this.timer == this.timerMax){			clearInterval(this.timerInterval);			new Effect.Fade(this.element);			new Effect.MoveBy(this.element, -500, 0);		}	},		pauseTimer: function(){		if (!this.timerCleared){			clearInterval(this.timerInterval);			this.calloutInterval = setInterval(this.startCalloutTimer.bind(this), 1000);		}	},		startCalloutTimer: function(){		this.calloutTimer++;		if (this.calloutTimer == this.timerCalloutMax){			clearInterval(this.calloutInterval);			this.timerInterval = setInterval(this.startTimer.bind(this), 1000);		}	},		restartTimer: function(){		if (!this.timerCleared){			this.timerInterval = setInterval(this.startTimer.bind(this), 1000);			clearInterval(this.calloutInterval);			this.calloutTimer = 0;		}	},		clearTimer: function(){		this.timerCleared = true;		clearInterval(this.timerInterval);		clearInterval(this.calloutInterval);		this.timer = 0;		this.calloutTimer = 0;		new Effect.MoveBy(this.element, 0, this.surveyDistance);	}};function interstitial() {	  document.getElementById('inner_box').innerHTML='<h3>Thank you</h3><p>Thank you for agreeing to answer a few questions&mdash;it should take less than five minutes of your time.</p><p class="small">This link will take you to a Web site maintained by a third party.</p><p class="small">AstraZeneca provides this link as a service to Web site visitors. AstraZeneca is not responsible for the Privacy Policy of any third party Web sites.  We encourage you to read the provacy policy of every Web site you visit.</p><p>Click Cancel to return or OK to continue.</p><p><a href="http://www.cnn.com" onclick="Survey.clearTimer();"><img src="/images/pre_post/ok_btn.gif" alt="OK" title="OK" /></a> &nbsp; &nbsp; <a href="http://www.cnn.com" onclick="Survey.clearTimer();"><img src="/images/pre_post/cancel_btn.gif" alt="Cancel" title="Cancel" /></a></p>';}