// Include script cookie.js

//setHalfAf - initializes values for display of half african page - halfaf.htm
//
// name - string -- registered name of half african
// color - string -- color of half af - 1 = rw 2 = tri 3 = bw 4 = bri
// pictures - string -- name of picture files for half african, if more 
//                      than one, then they are seperated by caret.
//                      (i.e. "picture1.jpg^picture2.jpg")
// text - string -- [this is an optional parameter] text to display for each picture, 
//                  seperated by caret
//
// setHalfAf("name","1","picture.jpg^picture.jpg","text^text");

//setThreeFourthAf - initializes values for display of 3/4 african page - halfaf.htm
//
// name - string -- registered name of 3/4 african
// color - string -- color of half af - 1 = rw 2 = tri 3 = bw 4 = bri
// pictures - string -- name of picture files for 3/4 african, if more 
//                      than one, then they are seperated by caret.
//                      (i.e. "picture1.jpg^picture2.jpg")
// text - string -- [this is an optional parameter] text to display for each picture, 
//                  seperated by caret
//
// setThreeFourthAf("name","1","picture.jpg^picture.jpg","text^text");

//setFiveEighthAf - initializes values for display of 5/8 african page - halfaf.htm
//
// name - string -- registered name of 5/8 african
// color - string -- color of half af - 1 = rw 2 = tri 3 = bw 4 = bri
// pictures - string -- name of picture files for 5/8 african, if more 
//                      than one, then they are seperated by caret.
//                      (i.e. "picture1.jpg^picture2.jpg")
// [text] - string -- optional text to display for each picture, 
//                  seperated by caret
//
// setFiveEighthAf("name","1","picture.jpg^picture.jpg");

function setHalfAf(name, color, pictures, text) {
    setCookie('HalfAfrican', name+'^Half African^'+color+'^'+document.title+'^'+document.location+'^'+pictures);
    setCookie('HalfAfText', text);

}

function setThreeFourthAf(name, color, pictures, text) {
    setCookie('HalfAfrican', name+'^Three Fourth African^'+color+'^'+document.title+'^'+document.location+'^'+pictures);
    setCookie('HalfAfText', text);

}

function setFiveEighthAf(name, color, pictures, text) {
    setCookie('HalfAfrican', name+'^Five Eighth African^'+color+'^'+document.title+'^'+document.location+'^'+pictures);
    setCookie('HalfAfText', text);

}