function popitup() {
	blah=window.open('http://slv.research.sgizmo.com/','testing');
	setCookie('Survey',1,1);
}

function setCookie(cookieSurvey,value,expiredays){
	var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=cookieSurvey+ "=" +escape(value)+
	((expiredays==null) ? "" : ";expires="+exdate.toGMTString())+";path=/";
}

function getCookie(cookieSurvey){
if (document.cookie.length>0)
  {
  start=document.cookie.indexOf(cookieSurvey + "=");
  if (start!=-1)
    { 
    start=start + cookieSurvey.length+1; 
    end=document.cookie.indexOf(";",start);
    if (end==-1) end=document.cookie.length;
    return unescape(document.cookie.substring(start,end));
    } 
  }
return "";
}