// JavaScript Document

      var link = ["acrc/default.html",
				  "distancelearning/default.html",
                  "multimedia/default.html",
                  "mediaservices/default.html",
                  "multimedia/default.html",
                  "onecard/default.html",
                  "profdev/default.html",
                  "coyoteradio/default.html",
                  "selfinstructionlabs/default.html",
                  "mediaservices/smart_classrooms.html",
                  "stsc/default.html",
                  "videoproduction/default.html",
                  "webaccessibility/default.html",
                  "webdev/default.html",
                  "stp/default.html",
                  "photography/default.html",
				  "marketing/default.html"];   
                  
      var altT =["ACM Services include... ACRC: assistive computer applications, adaptive work stations, Braille printing.  Learn more...",
				 "ACM Services include... Distance Learning: web-based instruction, classrooms & computer labs, blackboard support. Learn more...",
                 "ACM Services include... Graphic Design: web page design, interactive and video graphics, print and publication design.  Learn more...",
                 "ACM Services include... Media Services: classroom equipment, special event systems, micro-teaching rooms.  Learn more...",
                 "ACM Services include... Multimedia Production: video projectors, classroom computers, DVD/VCR & sound amplification.  Learn more...",
                 "ACM Services include... Coyote OneCard: fitness access card, meal plan card, library card and more!  Learn more...",
                 "ACM Services include... Professional Development: core competency classes, internet classes, schedule of classes.  Learn more...",
                 "ACM Services include... Coyote Radio: Live Streaming Music, FREE Give-aways!, Radio Schedule. Learn more...",
                 "ACM Services include... Self Instructional Computer Labs: windows and mac workstations, black & white, and color printing, and wireless internet access.  Learn more...",
                 "ACM Services include... Smart Classrooms: video projectors, classroom computers, DVD/VCR & sound amplification.  Learn more...",
                 "ACM Services include... Student Technology Support Center: FREE workshops, individualized support, training lab.  Learn more...",
                 "ACM Services include... Video Production: Live WebCast, video archive, promotional!  Learn more...",
                 "ACM Services include... Web Accessibility: 508 compliance help, web accessibility workshops, detailed evaluations.  Learn more...",
                 "ACM Services include... Web Development: from designing to hosting, templates, database development.  Learn more...",
                 "ACM Services include... Student Technician Program: student employment, earn technical work experience, on the job training.  Learn more...",
                 "ACM Services include... Photography: photographic support, promotional images, archival images.  Learn more...",
				 "ACM Services include... Regional exposure, Dynamic advertising, Professional marketing. Learn more..."]; 
    
      var imgL =["lm_ACM_home_image-ACRC.jpg",
				 "lm_ACM_home_image-DLEARN.jpg",
                 "lm_ACM_home_image-GRAPH.jpg",
                 "lm_ACM_home_image-MEDIA.jpg",
                 "lm_ACM_home_image-MULTIPRO.jpg",
                 "lm_ACM_home_image-ONECARD.jpg",
                 "lm_ACM_home_image-PRODEV.jpg",
                 "lm_ACM_home_image-RADIO.jpg",
                 "lm_ACM_home_image-SICL.jpg",
                 "lm_ACM_home_image-SMARTC.jpg",
                 "lm_ACM_home_image-STSCE.jpg",
                 "lm_ACM_home_image-VIDEO.jpg",
                 "lm_ACM_home_image-WEBACESS.jpg",
                 "lm_ACM_home_image-WEBDEV.jpg",
                 "lm_ACM_home_image_STP.jpg",
                 "lm_ACM_home_image-PHOTO.jpg",
				 "lm_ACM_home_image-MARKETING.jpg"];    
    
      var n = Math.floor(Math.random()*17); //number 0-15
      var p = document.getElementById("picHolder");
      var l = document.createElement("a");
      var h = document.createAttribute("href");
      var i = document.createElement("img");
      var s = document.createAttribute("src");
      var a = document.createAttribute("alt");

      s.nodeValue = "images/" + imgL[n];
      a.nodeValue = altT[n];

      i.setAttributeNode(s);
      i.setAttributeNode(a);
      
      h.nodeValue = link[n];
      l.setAttributeNode(h);
      
      l.appendChild(i);
      p.appendChild(l);















