Set_Cookie( 'test', 'none', '', '/', '', '' ); // if Get_Cookie succeeds, cookies are enabled, since //the cookie was successfully created. if ( Get_Cookie( 'test' ) ) { // cookies are enabled // alert("brand = "); // top.location = "NoCookies.asp?brand="; } // if the Get_Cookie test fails, cookies //are not enabled for this session. else { //alert("URL = www.raspberrycapital.com/scripts/cookieCheck.asp"); alert("Your browser doesn't support cookies, or they're currently disabled. Cookies must be enabled "+ "to use this site."); top.location = "NoCookies.asp?brand=default"; }