var x=1; //initialize the first variablevar y=5; //initialize the variable used to reset the buttons on mouse outvar nmfl; //   , .      frmsch55_3linx = new Array()linx[1] = new Array(); //2 set of Links for next top level categorylinx[1][1] = "news/school/index";linx[1][2] = "news/server/index";linx[1][3] = "news/chields/index";linx[1][4] = "news/schoolspaper/index";linx[1][5] = "news/others/index";linx[2] = new Array(); //1 set of links for the top level categorylinx[2][1] = "about/summary/index";linx[2][2] = "about/fromhistory/index";linx[2][3] = "about/staffschool/index";linx[2][4] = "about/descriptionofclasses/index";linx[2][5] = "about/listevents/index";linx[3] = new Array(); //3 set of Links for the last top level categorylinx[3][1] = "Successes/teachers/index";linx[3][2] = "Successes/chields/index";linx[3][3] = "Successes/grants/index";linx[3][4] = "Successes/school/index";linx[3][5] = "Successes/friends/index";linx[4] = new Array(); //4 set of Links for the last top level categorylinx[4][1] = "ProjectReleased/school/index";linx[4][2] = "ProjectReleased/teachers/index";linx[4][3] = "ProjectReleased/chields/index";linx[4][4] = "ProjectReleased/chields2/index";linx[4][5] = "undo";linx[5] = new Array(); //5 set of Links for the last top level categorylinx[5][1] = "undo";linx[5][2] = "Tests/Others/index";linx[5][3] = "undo";linx[5][4] = "undo";linx[5][5] = "undo";linx[6] = new Array(); //6 set of Links for the last top level categorylinx[6][1] = "Samples/SamplesOfHTML/index";linx[6][2] = "Samples/SamplesOfJavaScript/index";linx[6][3] = "Samples/SamplesOfCSS/index";linx[6][4] = "Samples/SamplesOfPascal/index";linx[6][5] = "undo";linx[7] = new Array(); //7 set of Links for the last top level categorylinx[7][1] = "LowsDocuments/federation/index";linx[7][2] = "LowsDocuments/region/index";linx[7][3] = "LowsDocuments/town/index";linx[7][4] = "LowsDocuments/director/index";linx[7][5] = "LowsDocuments/HeadsSchDep/index";linx[8] = new Array(); //8 set of Links for the last top level categorylinx[8][1] = "undo";linx[8][2] = "undo";linx[8][3] = "undo";linx[8][4] = "undo";linx[8][5] = "OthersDocs/BKolesov/index";/*linx[9] = new Array(); //9 set of Links for the last top level categorylinx[9][1] = "Services/index";linx[9][2] = "undo";linx[9][3] = "undo";linx[9][4] = "undo";linx[9][5] = "undo";*///Function populates the second set of buttons ...function rollover1() {document.menu2.nav1.value = "";document.menu2.nav2.value = "";document.menu2.nav3.value = "";document.menu2.nav4.value = " ";document.menu2.nav5.value = "";document.menu2.dummy.value = 1;x = document.menu2.dummy.value;return(x);}//This is the function populates the first set of buttons ...function rollover2() {document.menu2.nav1.value = " ";document.menu2.nav2.value = " ";document.menu2.nav3.value = " ";document.menu2.nav4.value = " ";document.menu2.nav5.value = " ";document.menu2.dummy.value = 2;x = document.menu2.dummy.value;return(x);}//Function populates the third set of buttons ...function rollover3() {document.menu2.nav1.value = "";document.menu2.nav2.value = "";document.menu2.nav3.value = "";document.menu2.nav4.value = "";document.menu2.nav5.value = "";document.menu2.dummy.value = 3;x = document.menu2.dummy.value;return(x);}//Function populates the forth set of buttons ...function rollover4() {document.menu2.nav1.value = " ";document.menu2.nav2.value = " ";document.menu2.nav3.value = " ";document.menu2.nav4.value = " ";document.menu2.nav5.value = ".";document.menu2.dummy.value = 4;x = document.menu2.dummy.value;return(x);}//Function populates the fives set of buttons ...function rollover5() {document.menu2.nav1.value = "";document.menu2.nav2.value = "";document.menu2.nav3.value = ".";document.menu2.nav4.value = ".";document.menu2.nav5.value = ".";document.menu2.dummy.value = 5;x = document.menu2.dummy.value;return(x);}//Function populates the sixes set of buttons ...function rollover6() {document.menu2.nav1.value = "html";document.menu2.nav2.value = "javascript";document.menu2.nav3.value = "css";document.menu2.nav4.value = "pascal";document.menu2.nav5.value = "logo";document.menu2.dummy.value = 6;x = document.menu2.dummy.value;return(x);}//Function populates the sevens set of buttons ...function rollover7() {document.menu2.nav1.value = " ";document.menu2.nav2.value = " ";document.menu2.nav3.value = " ";document.menu2.nav4.value = "";document.menu2.nav5.value = "  .";document.menu2.dummy.value = 7;x = document.menu2.dummy.value;return(x);}//Function populates the 8 set of buttons ...function rollover8() {document.menu2.nav1.value = " ";document.menu2.nav2.value = ".";document.menu2.nav3.value = ".";document.menu2.nav4.value = ".";document.menu2.nav5.value = " . ";document.menu2.dummy.value = 8;x = document.menu2.dummy.value;return(x);}/*//Function populates the 9 set of buttons ...function rollover9() {document.menu2.nav1.value = "";document.menu2.nav2.value = ".";document.menu2.nav3.value = ".";document.menu2.nav4.value = ".";document.menu2.nav5.value = ".";document.menu2.dummy.value = 9;x = document.menu2.dummy.value;return(x);}*///This sendsfunction go2url(hlink) {// set temporary variable temp1 to the value of the dummy hidden fieldvar temp1 = document.menu2.dummy.value;// alert(temp1)// set the temporary variable temp2 to link arrayvar temp2 = (linx[temp1][hlink]);var temp3=temp2+".html";nmfl = temp3;var temp4a="Microsoft Internet Explorer";var temp4=navigator.appName;var temp5 = "help.html";if (temp2 != "undo"){if (temp4 == temp4a) {  parent.frames.frmsch55_2.location.href=temp3;//  if (parent.frames.frmsch55_3.location.href != temp5) /* 26012006 *///     parent.frames.frmsch55_3.location.href=temp5; /* 31012006 */  } else  {  parent.frames["frmsch55_2"].location.href=temp3; // if (parent.frames["frmsch55_3"].location.href != temp5) /* 26012006 */ //    parent.frames["frmsch55_3"].location.href=temp5; /* 31012006 */ }}else {alertm();}}// 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.menu2.elements[j].value = " ";}}function alertm() // 25122005{alert('   !');}function startm() { rollover1(); go2url(1); }fg = new Array();  fg[1] = 0; fg[2] = 0;st = new Array();   st[1] = 0;  st[2] = 0;fgf = new Array(); fgf[1] = 0;fgf[2] = 0;function setbgv(el,n){if (fgf[n] == 0) {st[n] = el; fgf[n] = 1;}//if (el[n].style.backgroundColor != 'yeloow'){fg[n] = 0;el.style.backgroundColor = '#e5e5e5';}}function setbgt(el,n){if (fg[n] == 0)el.style.backgroundColor = '#ccc';else el.style.backgroundColor = 'yellow';}function setbgc(el,n){if (st[n] != el) st[n].style.backgroundColor = '#ccc';el.style.backgroundColor = 'yellow';st[n] = el;fg[n] = 1;if ((n == 1) && (fgf[2] !=0)){st[2].style.backgroundColor = '#ccc';}}// 14.12.2005, 25122005, 13012006, 19012006// 25012006 -     // 26012006 -    "help.html"// 29012006 -  : setbgv, setbgt  setbgc// 31012006 -   3-    help.html// 02022006 -    nmfl -    , //                     frmsch55_3// 02022006 -     /  .// 07022006 -    "" : //                     ;   // 13042006 -   " "// 19092006 -     . 