// lazy shortcut d=document; // set up rollovers sections = new Array("course","bookbag","past"); for (x=0;x<=sections.length-1;x++){ setup = sections[x]+'on = new Image();'+sections[x]+'on.src = "http://wcicpd.frontrange.edu/continuingEd/resources/img/nav/'+sections[x]+'_on.gif";'+sections[x]+'off = new Image();'+sections[x]+'off.src = "http://wcicpd.frontrange.edu/continuingEd/resources/img/nav/'+sections[x]+'_off.gif";'; eval(setup); } // rollover functions function on(which) { if (d.images) { document[which].src = eval(which+"on.src"); //d.tag.src="http://wcicpd.frontrange.edu/continuingEd/resources/img/nav/tag_"+which+".gif"; } } function off(which) { if (d.images) { document[which].src = eval(which+"off.src"); //d.tag.src="http://wcicpd.frontrange.edu/continuingEd/resources/img/uni/clear.gif"; } } // 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'); }