//
shouldInvite: True
//multipleInvites: False
//already invited: False
//campaignID: 59
//bannerID: 429
//bannerCount: 2
//total bannerCount: 432
//total acceptCount: 2
//last hit: 2/2/2004 5:50:35 PM
//min BannerInviteCount: 1
//min CampaignInviteCount: 0
//intercept rate: 50
//campaignCount: 2
//shouldInvite: True
//min minutes between invites: 120
//minutes since last invite: 1053522350.58954
//Recently Invited: False
//lastInvite: 12:00:00 AM
//referer: LATimes
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; 
}       
var url='http://www.insightexpress.com/ix/ShowSurvey.asp?id=66524&accessCode=8084806467&banner=429&cell=test&bc=2&cc=2&lastHit=2%2f2%2f2004+5%3a50%3a35+PM&freq=422-0,423-0,424-0,425-0,426-0,427-0,428-0,429-2,430-0,431-0,432-0,433-0,434-0,435-0,436-0,492-0,498-0,499-0,500-0,501-0,502-0,503-0,504-0,505-0,506-0,507-0,508-0,509-0,510-0,559-0,560-0,561-0,562-0,563-0,564-0,565-0,566-0,567-0,568-0,569-0,570-0,571-0,&referrer=LATimes'
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&bannerID=429&campaignID=59&redir='+escape(url);
var win2 = window.open(url,'new_window','width=250,height=250,resizable=yes,scrollbars=yes');
//go to survey
}  
adServerInvite(); 
//