
<!-- Original:  John Soul (john@cjsi.com) -->
<!-- Web Site:  http://www.cjsi.com/ -->

<!-- Voor de leukste scripts gaat u naar...-->
<!-- Sentinelli's Javascript! The source for all your Javascript and PHP -->


<!-- Begin
// Initiate a new array containing all the navigation hyperlinks that loads on startup
// The 'htm' extension for the link is added by the script

//initialize the variables for indexing data
x=1; //initialize the first variable
y=5; //initialize the variable used to reset the buttons on mouse out
linx = new Array()
linx[1] = new Array(); //First set of links for the top level category
linx[1][1] = "gifts1";
linx[1][2] = "gifts2";
linx[1][3] = "foryou";
linx[1][4] = "poems";
linx[1][5] = "links";

linx[2] = new Array(); //Second set of Links for next top level cateogry
linx[2][1] = "award01";
linx[2][2] = "award02";
linx[2][3] = "award03";
linx[2][4] = "award04";
linx[2][5] = "award05";

linx[3] = new Array(); //Third set of Links for the last top level cateogry
linx[3][1] = "award06";
linx[3][2] = "award07";
linx[3][3] = "award08";
linx[3][4] = "award09";
linx[3][5] = "award10";

linx[4] = new Array(); //Fourd set of Links for the last top level cateogry
linx[4][1] = "award11";
linx[4][2] = "award12";
linx[4][3] = "award13";
linx[4][4] = "award14";
linx[4][5] = "award15";

//This is the function populates the first set of buttons ...
function rollover1() {
document.menu.nav1.value = "Gifts1";
document.menu.nav2.value = "Gifts2";
document.menu.nav3.value = "ForYou";
document.menu.nav4.value = "Poems";
document.menu.nav5.value = "Links";
document.menu.dummy.value = 1;
x = document.menu.dummy.value;
return(x);
}
//Function populates the second set of buttons ...
function rollover2() {
document.menu.nav1.value = "Awards01";
document.menu.nav2.value = "Awards02";
document.menu.nav3.value = "Awards03";
document.menu.nav4.value = "Awards04";
document.menu.nav5.value = "Awards05";
document.menu.dummy.value = 2;
x = document.menu.dummy.value;
return(x);
}
//Function populates the third set of buttons ...
function rollover3() {
document.menu.nav1.value = "Awards06";
document.menu.nav2.value = "Awards07";
document.menu.nav3.value = "Awards08";
document.menu.nav4.value = "Awards09";
document.menu.nav5.value = "Awards10";
document.menu.dummy.value = 3;
x = document.menu.dummy.value;
return(x);
}

//Function populates the fourd set of buttons ...
function rollover4() {
document.menu.nav1.value = "Awards11";
document.menu.nav2.value = "Awards12";
document.menu.nav3.value = "Awards13";
document.menu.nav4.value = "Awards14";
document.menu.nav5.value = "Awards15";
document.menu.dummy.value = 4;
x = document.menu.dummy.value;
return(x);
}

//This sends 
function go2url(hlink) {
// set temporary variable temp1 to the value of the dummy hidden field
var temp1 = document.menu.dummy.value;
// set the temporary variable temp2 to link array
var temp2 = (linx[temp1][hlink]);
// Construct the url for the link to point to
window.location = ""+temp2+".htm";
}

//If there are no lower tier navigation buttons, this function closes the buttons as the mouse moves off the prevoius link to this.
function rollout() {
//
for (var j=0; j<y; j++) {
document.menu.elements[j].value = "            ";
   }
}
//  End -->



