function Rcertify() {
			popupWin = window.open('http://www.bbbonline.org/cks.asp?id=10308261225434986', 'Participant','location=yes,scrollbars=yes,width=450,height=300');
			window.name = 'opener';
		}

		function formHandler() {
			var URL = document.form.sites.options[document.form.sites.selectedIndex].value;
			window.open(URL,"window");
		}

		//calculate expire date for 7-day cookie (will use for brochure popup)
		function sevenDays() {
			//get current date
			var today = new Date();

			//break date into date parts
			var month = today.getMonth();
			var date = today.getDate();
			var year = today.getYear();
			var hour = today.getHours();
			var minute = today.getMinutes() + 1;
			var second = today.getSeconds();

			if(month == 1 && date >=  22) {
				//if month == 1 (february)

				if (date == 22) {
					date = 1;
				}
				else if (date == 23) {
					date = 2;
				}
				else if (date == 24) {
					date = 3;
				}
				else if (date == 25) {
					date = 4;
				}
				else if (date == 26) {
					date = 5;
				}
				else if (date == 27) {
					date = 3;
				}
				else if (date == 28) {
					date = 7;
				}

				month = 2;
			}
			else if((month == 0 || month == 2 || month == 4 || month ==  6 || month == 7 || month == 9 || month == 11) && date >= 25) {
				//if month has 31 days

				if (date == 25) {
					date = 1;
				}
				else if (date == 26) {
					date = 2;
				}
				else if (date == 27) {
					date = 3;
				}
				else if (date == 28) {
					date = 4;
				}
				else if (date == 29) {
					date = 5;
				}
				else if (date == 30) {
					date = 6;
				}
				else if (date == 31) {
					date = 7;
				}

				//when original month is 11 (december), new month will be 12.  needs to be 0
				month = month + 1;
				if (month == 12) {
					month = 0;
				}
			}
			else if((month ==  3 || month == 5 || month == 8 || month == 10) && date >= 24) {
				//if month has 30 days

				if (date == 24) {
					date = 1;
				}
				else if (date == 25) {
					date = 2;
				}
				else if (date == 26) {
					date = 3;
				}
				else if (date == 27) {
					date = 4;
				}
				else if (date == 28) {
					date = 5;
				}
				else if (date == 29) {
					date = 6;
				}
				else if (date == 30) {
					date = 7;
				}

				month = month + 1;
			}
			else {
				date = date + 5;
			}

			var expireDate = new Date(year, month, date, hour, minute, second);
			return expireDate.toGMTString();
		}

		//see if cookie exists
		function GetCookie(name) {
			var arg = name + "=";
			var alen = arg.length;
			var clen = document.cookie.length;
			var i = 0;

			while (i < clen) {
				var j = i + alen;
				if (document.cookie.substring(i, j) == arg) {
					return 1;
				}

				i = document.cookie.indexOf(" ", i) + 1;
				if (i == 0) {
					break;
				}
			}

			return null;
		}

		//set cookie
		function SetCookie(name, value) {
			var expiretime = sevenDays();
			document.cookie = name + "=" + escape(value) + ";expires=" + expiretime;
		}

		//check for cookies.  if cookies do not exist, set and display popup. o'wise, do nothing.
		function checkPrev() {
			var count = GetCookie('CHARLESTON_POPUP');
			if (count == null) {
				SetCookie('CHARLESTON_POPUP','true');
				window.open('popup.cfm', 'popup', 'toolbar=no,scrollbars=no,location=no,resizable=no,directories=no,status=no,menubar=no,width=430,height=325,top=0,left=0')
			}
		}
		
		function checkRelocationPrev() {
			var count = GetCookie('CHASRELOCATION_POPUP');
			if (count == null) {
				SetCookie('CHASRELOCATION_POPUP','true');
				window.open('relocationPopup.cfm','relocationPopup','toolbar=no,scrollbars=no,location=no,resizable=no,directories=no,status=no,menubar=no,width=250,height=178,top=0,left=0')
			}
		}

		function NewWindow(mypage, myname, w, h, scroll) {
			var winl = (screen.width - w) / 2;
			var wint = (screen.height - h) / 2;
			winprops = 'height='+h+',width='+w+',top=0,left=0,scrollbars=no,resizable=no,directories=no,status=yes,menubar=no';
			win = window.open(mypage, myname, winprops);

			if (parseInt(navigator.appVersion) >= 4) {
				win.window.focus();
			}
		}
		
		function pop(url) {
			window.open(url,"","toolbar=no,scrollbars=no,location=no,screenx=42,screeny=50,resizable=no,directories=no,status=no,menubar=no,width=715,height=500");
		}