my cookie is:
cookieString = 'photo1:Think Pink Calculator - Pink=link1&' + 'photo2:This is photograph two=link2&' + 'photo3:This is photograph three=link3&' + 'photo4:This is photograph four=link4'
function setCookie(name, value) {
document.cookie = name + "=" + escape(value);
}
setCookie('photos', cookieString);
What I am trying to do is split this cookie into the four sections (one for each photo), and then each section into three: the photograph, the name, and the link (where photo1 is photo1.jpg, the text remains text, and the link1 is link1.htm) only I don't know how to do it. I have my images and links stored in arrays, and I know I have to split the cookie 4 times, but I can't get them to split the way I want them to so that I can display like this:
Can some one help?


