/*********************************************** * Ultimate Fade-In Slideshow (v1.51): ý Dynamic Drive (http://www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for this script and 100s more. ***********************************************/ var fadeimages=new Array() //SET IMAGE PATHS. Extend or contract array as needed fadeimages[0]=["images/homepage_images/main_image.jpg", "As a fully integrated division of West Virginia University, Potomac State College offers students many academic options including traditional two-year transfer programs, two-year fast track programs to get started sooner in a career and four-year degrees in business management and criminal justice.", ""] fadeimages[1]=["images/homepage_images/bowling.jpg", "Students are encouraged to participate in activities such as ballistic bowling, intramurals, movie nights, club nights, spring break trips, and volunteer opportunities including Habitat for Humanity to name a few.", ""] fadeimages[2]=["images/homepage_images/riding_arena_silhouette.jpg", "A new indoor riding arena totaling 27,500 square feet is the newest addition to the agriculture facilities. The College's Equine Management and Production Program gives students the education, hands-on experience and confidence they need to pursue an exciting career in the horse industry.", ""] fadeimages[3]=["images/homepage_images/baseball_bunting.jpg", "Potomac State's baseball program is traditionally ranked as one of the best two-year programs in the country, producing many professional players.Our winning record includes numerous regional championships, six World Series appearances, and a national championship in 1995.", ""] fadeimages[4]=["images/homepage_images/womens_bb_champs.jpg", "Our Lady Cats clinched the 2008 WPCC Women's Basketball Championship.", ""] fadeimages[5]=["images/homepage_images/golf_champs.jpg", "The 2007-2008 Golf Team brought home honors as the Western Pennsylvania Collegiate Conference Champions, Pennsylvania Collegiate Athletic Association State Champions, and the Region XX Champions. The team finished 12th in the nation.", ""] fadeimages[6]=["images/homepage_images/one_on_one.jpg", "At Potomac State College, students get plenty of one-on-one interaction with professors in small classes.", ""] fadeimages[7]=["images/homepage_images/university_place.jpg", "The focal point of our 18-acre campus is a new $19 million residential complex, University Place, which complements our other three existing residence halls.", ""] fadeimages[8]=["images/homepage_images/science_hall_doorway.jpg", "The performance and accomplishments of PROMISE Scholars are a reflection of the quality of our academic programs and faculty. The PROMISE scholarship program provides in-state tuition to high-achieving West Virginia graduates.", ""] fadeimages[9]=["images/homepage_images/Multi-Cultural Day.jpg", " A Multi-Cultural Day Luncheon offered students, faculty and staff the opportunity to try dishes from other parts of the world. Phillip Szabo, a freshman in the Hospitality Program, pictured right, serves a European cuisine to Freshmen Cole Roomsburg and Noel Baker. This event was sponsored by Social Justice, Dining Services and Student Affairs. To view more photographs from the Multi-Cultural Day event, visit the Campus Photo Gallery under News.", ""] fadeimages[10]=["images/homepage_images/Library Rededication.jpg", "A crowd of PSC friends, alumni, employees and donors gathered at the Mary F. Shipper Library during Homecoming Weekend for a rededication of the facility following a completed renovation of the building's interior and furnishings. Funding was made available through an appropriations bill sponsored by U.S. Senator Robert C. Byrd and through private donors.", ""] fadeimages[11]=["images/homepage_images/Homecoming_2008_Ivy_Guiler.jpg", " Ivy (Smith) Guiler, Class of 2003, seated center, is pictured with Professor Jacoby's journalism class after telling them about her travels to Vietnam to cover the 30th anniversary of the Fall of Saigon. She was awarded the Young Alumni Award during the Homecoming 2008 banquet.", ""] fadeimages[12]=["images/homepage_images/Donnie Marple.jpg", "Potomac State Alumnus and Guitar Center's 2007 Drum-Off National Champion Donnie Marple returned to his hometown of Keyser with other members of 'The Elmwood Band.' The group performed at the Church-McKee Arts Center with half the proceeds going to the Alumni Association. Marple competed against more than 6,000 other contestants nationwide before earning the title.", ""] var fadebgcolor="transparent" ////NO need to edit beyond here///////////// var fadearray=new Array() //array to cache fadeshow instances var fadeclear=new Array() //array to cache corresponding clearinterval pointers var dom=(document.getElementById) //modern dom browsers var iebrowser=document.all function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){ this.pausecheck=pause this.mouseovercheck=0 this.delay=delay this.degree=10 //initial opacity degree (10%) this.curimageindex=0 this.nextimageindex=1 fadearray[fadearray.length]=this this.slideshowid=fadearray.length-1 this.canvasbase="canvas"+this.slideshowid this.curcanvas=this.canvasbase+"_0" if (typeof displayorder!="undefined") theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :) this.theimages=theimages this.imageborder=parseInt(borderwidth) this.postimages=new Array() //preload images for (p=0;p
') else document.write('
') if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox this.startit() else{ this.curimageindex++ setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay) } } function fadepic(obj){ if (obj.degree<100){ obj.degree+=10 if (obj.tempobj.filters&&obj.tempobj.filters[0]){ if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+ obj.tempobj.filters[0].opacity=obj.degree else //else if IE5.5- obj.tempobj.style.filter="alpha(opacity="+obj.degree+")" } else if (obj.tempobj.style.MozOpacity) obj.tempobj.style.MozOpacity=obj.degree/101 else if (obj.tempobj.style.KhtmlOpacity) obj.tempobj.style.KhtmlOpacity=obj.degree/100 else if (obj.tempobj.style.opacity&&!obj.tempobj.filters) obj.tempobj.style.opacity=obj.degree/101 } else{ clearInterval(fadeclear[obj.slideshowid]) obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1" obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas) obj.populateslide(obj.tempobj, obj.nextimageindex) obj.nextimageindex=(obj.nextimageindex'; slideHTML+=''; slideHTML+=this.theimages[picindex][1]; slideHTML+=''; slideHTML+=""; if (this.theimages[picindex][1]!="") //if associated link exists for image slideHTML+='' picobj.innerHTML=slideHTML } fadeshow.prototype.rotateimage=function(){ if (this.pausecheck==1) //if pause onMouseover enabled, cache object var cacheobj=this if (this.mouseovercheck==1) setTimeout(function(){cacheobj.rotateimage()}, 100) else if (iebrowser&&dom||dom){ this.resetit() var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas) crossobj.style.zIndex++ fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50) this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0" } else{ var ns4imgobj=document.images['defaultslide'+this.slideshowid] ns4imgobj.src=this.postimages[this.curimageindex].src } this.curimageindex=(this.curimageindex