onload function based on cookie
I want to know how to do <body onload="xxxx.xxxxxxxxx(true)"> based on a cookie. Basically if the cookie is not present complete this function. Or the opposite if the cookie is present do not do it. Any help is appreciated