0 else liUid = gsCookieUID end if if gsCookieUsername = "" then gsCookieUsername = "Fool" end if if gbCookieIsRegistered = "" then gbCookieIsRegistered = false end if productList = Array() bHasProductListCookie = Request.Cookies( gsProductListCookie ) <> "" 'Response.Write bHasProductListCookie if bHasProductListCookie and gbLoggedIn then gbOwnsProtectedProducts = false giNumberOfOwnedProducts = 0 iProductCount = Request.Cookies( gsProductListCookie )( "C" ) 'Response.Write "count: " & iProductCount & "<BR>" if iProductCount <> "" and IsNumeric(iProductCount) then giNumberOfOwnedProducts = cInt(iProductCount) 'Response.Write giNumberOfOwnedProducts if giNumberOfOwnedProducts > 0 then REDIM PRESERVE productList(giNumberOfOwnedProducts) gbOwnsProtectedProducts = true iIndex = 0 for each key in Request.Cookies( gsProductListCookie ) if key <> "C" then ' Skip the count value productList(iIndex) = key 'Response.Write gRProductList(iIndex) iIndex = cint(iIndex) + 1 end if next end if ' cInt(iProductCount) end if ' IsNumeric(iProductCount) end if 'bHasProductListCookie tookieValue = Request.Cookies( "Tookie" )( "T" ) Response.Write "<script type=""text/javascrip