topMenu = new Menus(new Menu('quicklinks-menu'),new Menu('search-menu'),new Menu('resources-menu'),new Menu('news-menu'),new Menu('work-menu'),new Menu('about-menu'),new Menu('alumni-menu'),new Menu('info-menu'),new Menu('parents-menu'),new Menu('churches-menu'),new Menu('news-menu'),new Menu('offices-menu'));topMenu.name = 'topMenu';sidenav = new SideNav();function initHome() {    scNews = new Scroller('scNewsContainer',                          'scNewsContent',                          50);}function clearBox(){  var query = document.search.q.value;  if(query.toString() == "Search GFU") {    document.search.q.value = "";  }}function randomPhotos(max, count, path, prefix, ext, w, h) {   var photos = new Array();   var i = 0;   while (i < count) {      var photoid = Math.round(Math.random()*(max-1))+1;      var found = false;      for (var j=0;j < photos.length;j++) {         if (photos[j] == photoid) {            found = true;         }      }      if (!found) {         photos[i] = photoid;         i++;      }   }/*   for (var i=0;i < photos.length;i++) {       document.writeln('<img src="'+path+'/'+prefix+ photos[i]+'.'+ext+'" width="'+w+'" height="'+h+'" border="0" alt="" />');   }*/   for (var i=0;i < photos.length;i++) {       if (i == 0) {          document.writeln('<img src="'+path+'/'+prefix+ photos[i]+'.'+ext+'" width="'+w+'" height="'+h+'" border="0" vspace="10" alt="" />');       }       if (i == 1) {          document.writeln('<img src="'+path+'/'+prefix+ photos[i]+'.'+ext+'" width="'+w+'" height="'+h+'" border="0" alt="" />');       }       if (i == 2) {          document.writeln('<img src="'+path+'/'+prefix+ photos[i]+'.'+ext+'" width="'+w+'" height="'+h+'" border="0" vspace="15" alt="" />');       }   }}