<!--
function reidfunction()
{
	// cookie expiry
	var g_dateExp = new Date();
	g_dateExp.setTime(g_dateExp.getTime() + (2 * 24 * 60 * 60 * 1000));

	// get cookie
	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 GetCookieVal(j);    
			i = document.cookie.indexOf(" ", i) + 1;    
			if (i == 0)
				break;   
		}  
		return null;
	}

	// get cookie value
	function GetCookieVal(offset)
	{  
		var endstr = document.cookie.indexOf(";", offset);  
		if (endstr == -1)    
			endstr = document.cookie.length;  
		return unescape(document.cookie.substring(offset, endstr));
	}

	// set cookie value
	function SetCookie(name, value, expires)
	{
		document.cookie = name + "=" + escape(value) + "; expires=" + expires.toGMTString();
	}	

	// get our cookie
	ourcookie = GetCookie("reidcookie");
	if (ourcookie == null)
	{
		popup = window.open("http://www.reidepot.com/contact/subscribe.html","reidname","channelmode=no,directories=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,titlebar=no,toolbar=no,fullscreen=no,width=600,height=400");
		popup.moveTo((window.screen.availWidth - 600) / 2, (window.screen.availHeight - 400) / 2);
		popup.blur();
		focus();
		SetCookie("reidcookie", "Expiry", g_dateExp);	
	}
}
// -->
