// Rollover script - version 02.11

browsern = navigator.appName;
browserv = parseFloat(navigator.appVersion);
if (browsern == "Netscape" && browserv >= 3.0) { browser = 'true'; } 
else if (browsern == "Microsoft Internet Explorer" && browserv >= 3.0) { browser = 'true'; }
else { browser = 'false'; }

var div_id_ifany = ""
// div_id_ifany will correctly add a layer name into js objects that are used 
// in the rollover and search related functions


        if ( browser == 'true') {
                normal = new MakeArray(20)
                over = new MakeArray(20)
                                
               normal[1].src = "/images/01_aboutint.gif"
               normal[2].src = "/images/02_serviceint.gif"
               normal[3].src = "/images/03_researchint.gif"
               normal[4].src = "/images/04_newsletterint.gif"
               normal[5].src = "/images/05_ascsgnewsint.gif"
               normal[6].src = "/images/06_skindisorderint.gif"
               normal[7].src = "/images/07_findusint.gif"
               normal[8].src = "/images/08_sitemapint.gif"

    
               over[1].src = "/images/01_aboutint-over.gif"
               over[2].src = "/images/02_serviceint-over.gif"
               over[3].src = "/images/03_researchint-over.gif"
               over[4].src = "/images/04_newsletterint-over.gif"
               over[5].src = "/images/05_ascsgnewsint-over.gif"
               over[6].src = "/images/06_skindisorderint-over.gif"
               over[7].src = "/images/07_findusint-over.gif"
               over[8].src = "/images/08_sitemapint-over.gif"
                            
                }
                
      function MakeArray(n) {
              this.length = n
              for (var i = 1; i<=n; i++) {
                      this[i] = new Image()
                      }
              return this
      }

        function msover(num,div_id_ifany) {
        	if ( browser == 'true') { 
        		if ((document.layers) && (div_id_ifany != null)) {
        			document.layers[div_id_ifany].document.images["but"+num].src = over[num].src;
        		}
        		else {
        		document.images["but"+num].src = over[num].src;
        		}
        	}
        }

        function msout(num,div_id_ifany) {
        	if ( browser == 'true') {
        		if ((document.layers) && (div_id_ifany != null)) {
        			document.layers[div_id_ifany].document.images["but"+num].src = normal[num].src;
        		}
        		else {
        		document.images["but"+num].src = normal[num].src;
        		}
        	}
        }


// end rollover script