') dObj.writeln('') dObj.writeln('') dObj.writeln('
') dObj.writeln('') dObj.writeln('
') //Print each button. Start at property index i. for(var i = this.startIndex; this.length > i; i++) { if(eval(this[i].condition)) { dObj.write('') dObj.write(''+this[i].alt+'') dObj.write('') // Add space if specified. spaceInt = 0 + this[i].spacer if(spaceInt != 0) { dObj.write('') } } } dObj.writeln('
') dObj.writeln('
') dObj.writeln('') dObj.close() this.isBusy = false}function clear() { /* * Description: Method of buttonSet object. Used to reset any global * variables on which any buttons in the buttonSet rely * on for their condition statements. * Arguments: None. */ gIsRunning=false}function addBtn(name,file,alt,spacer,condition,command) { file, alt, "javascript:parent."+this.name+"["+i+"]"+".click()", spacer, condition, command) this.length++}function buttonSet(name) { /* * Description: button object constructor. * Arguments: name - The variable name of the buttonSet. */ // Properties this.name = name this.startIndex = 7 this.length = 7 this.isBusy = false // Methods this.addBtn = addBtn this.print = print this.clear = clear return this}// Custom slide object.function slide(textURL,imageURL) { /* * Description: slide object constructor. * Arguments: textURL - URL of the description page for this slide. * imageURL - URL of the image page for this slide. */ this.textURL = textURL this.imageURL = imageURL return this}function startAuto() { /* * Description: Start a "slideshow". * Arguments: None. */ changeSlide("forward") gTimer = setTimeout("startAuto()",1500)}function changeSlide(command) { /* * Description: Used to move through the array of slides. * Arguments: command - An action to take against the array of slides. */ if(Toolbar.isBusy) { return } if(command == "first") { frames[0].location.href = slideArray[0].textURL frames[1].location.href = slideArray[0].imageURL currentSlide = 0 } . spaceInt = 0 + this[i].spacer if(spaceInt != 0) { dObj.write('') } } } dObj.writeln('') dObj.writeln('') dObj.writeln('') dObj.close() this.isBusy = false}function clear() { /* * Description: Method of buttonSet object. Used to reset any global * variables on which any buttons in the buttonSet rely * on for their condition statements. * Arguments: None. */ gIsRunning=false}function addBtn(name,file,alt,spacer,condition,command) {if(command == "back") { if(currentSlide == 0) { currentSlide = slideArray.length } frames[0].location.href = slideArray[currentSlide-1].textURL frames[1].location.href = slideArray[currentSlide-1].imageURL currentSlide-- } if(command == "forward") { if(currentSlide == slideArray.length-1) { currentSlide = -1 } frames[0].location.href = slideArray[currentSlide+1].textURL frames[1].location.href = slideArray[currentSlide+1].imageURL currentSlide++ } if(command == "last") { frames[0].location.href = slideArray[slideArray.length-1].textURL frames[1].location.href = slideArray[slideArray.length-1].imageURLde. * imageURL - URL of the image page for this slide. */ this.textURL = textURL this.imageURL = imageURL return this}function startAuto() { /* * Description: Start a "slideshow". * Arguments: None. */ changeSlide("forward") gTimer = setTimeout("startAuto()",1500)}function changeSlide(command) { /* * Description: Used to move through the array of slides. * Arguments: command - An action to take against the array of slides. */ if(Toolbar.isBusy) { return } if(command == "first") { frames[0].location.href = slideArray[0].textURL frames[1].location.href = slideArray[0].imageURL currentSlide = 0 } . spaceInt = 0 + this[i].spacer if(spaceInt != 0) { dObj.write('') } } } dObj.writeln('') dObj.writeln('') dObj.writeln('') dObj.close() this.isBusy = false}function clear() { /* * Description: Method of buttonSet object. Used to reset any global * variables on which any buttons in the buttonSet rely * on for their condition statements. * Arguments: None. */ gIsRunning=false}function addBtn(name,file,alt,spacer,condition,command) { currentSlide = slideArray.length-1 } if(command == "start") { gIsRunning = true Toolbar.print(window.frames[2].document) gTimer = window.setTimeout("startAuto()",1500) } if(command == "stop") { window.clearTimeout(gTimer) gIsRunning = false Toolbar.print(window.frames[2].document) }}/* * MAIN *///Create an array of slidesvar slideArrayslideArray = new array(16)slideArray[0] = new slide("g1bio.htm","g1.htm")slideArray[1] = new slide("g2bio.htm","g2.htm")slideArray[2] = new slide("g3bio.htm","g3.htm")slideArray[3] = new slide("g4bio.htm","g4.htm")slideArray[4] = new slide("g5bio.htm","g5.htm")slideArray[5] = new slide("g6bio.htmde. * imageURL - URL of the image page for this slide. */ this.textURL = textURL this.imageURL = imageURL return this}function startAuto() { /* * Description: Start a "slideshow". * Arguments: None. */ changeSlide("forward") gTimer = setTimeout("startAuto()",1500)}function changeSlide(command) { /* * Description: Used to move through the array of slides. * Arguments: command - An action to take against the array of slides. */ if(Toolbar.isBusy) { return } if(command == "first") { frames[0].location.href = slideArray[0].textURL frames[1].location.href = slideArray[0].imageURL currentSlide = 0 } . spaceInt = 0 + this[i].spacer if(spaceInt != 0) { dObj.write('') } } } dObj.writeln('') dObj.writeln('') dObj.writeln('') dObj.close() this.isBusy = false}function clear() { /* * Description: Method of buttonSet object. Used to reset any global * variables on which any buttons in the buttonSet rely * on for their condition statements. * Arguments: None. */ gIsRunning=false}function addBtn(name,file,alt,spacer,condition,command) {","g6.htm")slideArray[6] = new slide("g7bio.htm","g7.htm")slideArray[7] = new slide("g8bio.htm","g8.htm")slideArray[8] = new slide("g9bio.htm","g9.htm")slideArray[9] = new slide("g10bio.htm","g10.htm")slideArray[10] = new slide("g11bio.htm","g11.htm")slideArray[11] = new slide("g12bio.htm","g12.htm")slideArray[12] = new slide("g13bio.htm","g13.htm")slideArray[13] = new slide("g14bio.htm","g14.htm")slideArray[14] = new slide("g15bio.htm","g15.htm")slideArray[15] = new slide("g16bio.htm","g16.htm")var currentSlide = 0//Create a new buttonSet for use in the lower frame.Toolbar = new buttonSet("Toolbar")Toolbar.clear()//Add each button to ToolbarToolbar.addBtn("First","first.gif","First Pide. * imageURL - URL of the image page for this slide. */ this.textURL = textURL this.imageURL = imageURL return this}function startAuto() { /* * Description: Start a "slideshow". * Arguments: None. */ changeSlide("forward") gTimer = setTimeout("startAuto()",1500)}function changeSlide(command) { /* * Description: Used to move through the array of slides. * Arguments: command - An action to take against the array of slides. */ if(Toolbar.isBusy) { return } if(command == "first") { frames[0].location.href = slideArray[0].textURL frames[1].location.href = slideArray[0].imageURL currentSlide = 0 } . spaceInt = 0 + this[i].spacer if(spaceInt != 0) { dObj.write('') } } } dObj.writeln('') dObj.writeln('') dObj.writeln('') dObj.close() this.isBusy = false}function clear() { /* * Description: Method of buttonSet object. Used to reset any global * variables on which any buttons in the buttonSet rely * on for their condition statements. * Arguments: None. */ gIsRunning=false}function addBtn(name,file,alt,spacer,condition,command) {cture",0,"true","changeSlide('first')")Toolbar.addBtn("Previous","back.gif","Previous Picture",0,"true","changeSlide('back')")Toolbar.addBtn("Next","forward.gif","Next Picture",0,"true","changeSlide('forward')")Toolbar.addBtn("Last","last.gif","Last Picture",0,"true","changeSlide('last')")Toolbar.addBtn("Start","auto.gif","Start Slideshow",0,"gIsRunning==false","changeSlide('start')")Toolbar.addBtn("StartGrey","autoGrey.gif","Start Slideshow",0,"gIsRunning==true","")Toolbar.addBtn("Stop","stop.gif","Stop Slideshow",0,"gIsRunning==true","changeSlide('stop')")Toolbar.addBtn("StopGrey","stopGrey.gif","Stop Slideshow",0,"gIsRunning==false","")//--> * Arguments: command - An action to take against the array of slides. */ if(Toolbar.isBusy) { return } if(command == "first") { frames[0].location.href = slideArray[0].textURL frames[1].location.href = slideArray[0].imageURL currentSlide = 0 } . spaceInt = 0 + this[i].spacer if(spaceInt != 0) { dObj.write('') } } } dObj.writeln('') dObj.writeln('') dObj.writeln('') dObj.close() this.isBusy = false}function clear() { /* * Description: Method of buttonSet object. Used to reset any global * variables on which any buttons in the buttonSet rely * on for their condition statements. * Arguments: None. */ gIsRunning=false}function addBtn(name,file,alt,spacer,condition,command) {