//
//ShouldInvite: True
//MultipleInvites: False
//Already invited: False
//Site: 
//SiteExpiration: -1
//CampaignID: 155
//BannerID: 2265
//SiteID: 
//CreativeID: 
//Creative Counts: 
//BannerCount: 1
//Total bannerCount: 14
//Total controlCount: 0
//Total acceptCount: 0
//Last Hit: 11/24/2004 10:21:46 AM
//Min BannerInviteCount: 1
//Min CampaignInviteCount: 0
//Intercept rate: 50
//CampaignCount: 1
//ShouldInvite: True
//InviteReason: Invite Allowed, counts met; 
//Min minutes between invites: 120
//LastInvite: Null
//Referer: 
function setCookie(name, value, expire) 	{		document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : ("; expires=" + expire.toGMTString()));	}
function getCookieVal (offset) 
{ 
var endstr = document.cookie.indexOf (";", offset); 
if (endstr == -1) endstr = document.cookie.length; 
return unescape(document.cookie.substring(offset, endstr)); 
} 
   function GetCookie (name) { 
var arg = name + "="; 
var alen = arg.length; 
var clen = document.cookie.length; 
if( (document.cookie == null) || (document.cookie.length == null)) 
return null; 
var i = 0; 
while (i < clen) 
{ 
var j = i + alen; 
if (document.cookie.substring(i, j) == arg) return getCookieVal (j); 
i = document.cookie.indexOf(" ", i) + 1; 
if (i == 0) break;  
} 
return null; 
}       
//SurveyURL=http://www.insightexpress.com/ix/ShowSurvey.asp?id=77331&accessCode=6823787619&banner=2265&cell=test&bc=1&cc=1&nc=0&lastHit=11%2f24%2f2004+10%3a21%3a46+AM&freq=2265-1%2c
var url='http://ad.insightexpress.com/adServer/acceptInvite.aspx?BannerID=2265&redir=http%3a%2f%2fwww.insightexpress.com%2fix%2fShowSurvey.asp%3fid%3d77331%26accessCode%3d6823787619%26banner%3d2265%26cell%3dtest%26bc%3d1%26cc%3d1%26nc%3d0%26lastHit%3d11%252f24%252f2004%2b10%253a21%253a46%2bAM%26freq%3d2265-1%252c'
var SurveyURL=url;
function adServerInvite() {
setCookie('AICookieTest', 'test', null);
if (GetCookie('AICookieTest') == null) return;
url = 'http://ad.insightexpress.com/adServer/showInvite.aspx?uninvite=0&branding=0&SiteID=&BannerID=2265&CampaignID=155&redir='+escape(url);
var win2 = window.open(url,'new_window','width=250,height=250,resizable=yes,scrollbars=yes');
//go to survey
}  
adServerInvite(); 
//