function signOutConfirm() { if( confirm( "GoldPass Members: We recommend signing out only if you are currently using a shared or public computer. To remain signed in with access to your GoldPass benefits, hit \"Cancel\". To sign out, hit \"OK\"." )) { setCookie("RNUser", "", 1); document.location.href = "http://realguide.real.com/goldpass"; } } function setCookie( name, value, days ) { var exp = new Date(); //var expDate = exp.getTime() + (days * 24 * 60 * 60 * 1000); //exp.setTime(expDate); document.cookie = name+"="+value +";domain=.real.com;path=/;expires=" + exp.toGMTString(); }