if (document.images) { OnishiTxt_F1 = new Image(109,39); OnishiTxt_F1.src = "OnishiTxt.gif"; OnishiTxt_F2 = new Image(109,39); OnishiTxt_F2.src = "OnishiTxt_F2.gif"; bestbtxt_F1 = new Image(92,39); bestbtxt_F1.src = "bestbtxt.gif"; bestbtxt_F2 = new Image(92,39); bestbtxt_F2.src = "bestbtxt_F2.gif"; SemipTxt_F1 = new Image(109,37); SemipTxt_F1.src = "SemipTxt.gif"; SemipTxt_F2 = new Image(109,37); SemipTxt_F2.src = "SemipTxt_F2.gif"; mwiretxt_F1 = new Image(92,37); mwiretxt_F1.src = "mwiretxt.gif"; mwiretxt_F2 = new Image(92,37); mwiretxt_F2.src = "mwiretxt_F2.gif"; pearlstxt_F1 = new Image(109,41); pearlstxt_F1.src = "pearlstxt.gif"; pearlstxt_F2 = new Image(109,41); pearlstxt_F2.src = "pearlstxt_F2.gif"; newflowerstxt_F1 = new Image(92,41); newflowerstxt_F1.src = "newflowerstxt.gif"; newflowerstxt_F2 = new Image(92,41); newflowerstxt_F2.src = "newflowerstxt_F2.gif"; Pavetxt_F1 = new Image(109,44); Pavetxt_F1.src = "Pavetxt.gif"; Pavetxt_F2 = new Image(109,44); Pavetxt_F2.src = "Pavetxt_F2.gif"; europeantxt_F1 = new Image(92,44); europeantxt_F1.src = "europeantxt.gif"; europeantxt_F2 = new Image(92,44); europeantxt_F2.src = "europeantxt_F2.gif"; whitegtxt_F1 = new Image(109,43); whitegtxt_F1.src = "whitegtxt.gif"; whitegtxt_F2 = new Image(109,43); whitegtxt_F2.src = "whitegtxt_F2.gif"; onishibtxt_F1 = new Image(92,36); onishibtxt_F1.src = "onishibtxt.gif"; onishibtxt_F2 = new Image(92,36); onishibtxt_F2.src = "onishibtxt_F2.gif"; } /* Function that swaps images. */ function di20(id, newSrc) { var theImage = FWFindImage(document, id, 0); if (theImage) { theImage.src = newSrc; } } /* Functions that track and set toggle group button states. */ function FWFindImage(doc, name, j) { var theImage = false; if (doc.images) { theImage = doc.images[name]; } if (theImage) { return theImage; } if (doc.layers) { for (j = 0; j < doc.layers.length; j++) { theImage = FWFindImage(doc.layers[j].document, name, 0); if (theImage) { return (theImage); } } } return (false); }