// lazy shortcut d=document; // set up rollovers sections = new Array("home","about","membership","news","event","links","careers","member"); for (x=0;x<=sections.length-1;x++){ setup = sections[x]+'on = new Image();'+sections[x]+'on.src = "http://www.sroa.org/resources/img/nav/'+sections[x]+'_on.gif";'+sections[x]+'off = new Image();'+sections[x]+'off.src = "http://www.sroa.org/resources/img/nav/'+sections[x]+'_off.gif";'; eval(setup); } // rollover functions function on(which) {if (d.images) {document[which].src = eval(which+"on.src");}} function off(which) {if (d.images) {document[which].src = eval(which+"off.src");}} // status bar set window.status=d.title; // window popper function popwin(url,width,height){ window.open(url,'popup','width='+width+',height='+height+',location=0,address=0,scrollbars=0,status=0,noresize'); }