
function launchAsthmaAssessment() {
 var pageURL = 'http://www.mysymbicort.com/c/survey/start.aspx';
 window.open( pageURL, "survey", "width=790,height=600,left=20,top=20,resizable=no,directories=no,menubar=no,toolbar=no,scrollbars=yes")
}

/* end --
open survey *********************************************** */


function getCookie(name) {

	var pos = document.cookie.indexOf(name + "=");
	if (pos == -1) {
		return null;
	} else {
	var pos2 = document.cookie.indexOf(";" , pos);
	if (pos2 == -1) {
		return unescape(
			document.cookie.substring(
				pos + name.length + 1));
	} else {
		return unescape(
			document.cookie.substring(
				pos + name.length + 1, pos2));
	}
	}
}


//email page URL
function emailpage(){
            var page = window.location.href;
            window.open('mailto:?X-Mailer=Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en&subject=Visit this page on AsthmaGAP.org&body='+escape('While exploring AsthmaGAP.org, I came across the following information. To access this page, click on the link below.\n')+page);
}

//email page URL
function emailpagecontact(){
            var page = window.location.href;
            window.open('mailto:Info@aafa.org?X-Mailer=Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en&subject=RE: asthmagap.com&body='+escape('\n'));
}

