sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function runSlideShow(vX){
	var p = Pic.length
	var currentpix = new Array(p);
	for (cA=0;cA<currentpix.length;cA++){
   	currentpix[cA]=cA;
	}
	for (k=1;k<(vX+1);k++){
	vJ = Math.round(Math.random()*(currentpix.length-1))
	if (vJ>currentpix.length|vJ<1){vJ=0}
	j=currentpix[vJ];
	currentpix.splice(vJ,1);
  		if (document.all){
      		eval("document.images.SlideShow"+k).style.filter="blendTrans(duration=2)"
      		eval("document.images.SlideShow"+k).style.filter="blendTrans(duration=crossFadeDuration)"
      		eval("document.images.SlideShow"+k).filters.blendTrans.Apply()      
   		} 
   		eval("document.images.SlideShow"+k).src = Pic[j]
   		if (document.all){
      	eval("document.images.SlideShow"+k).filters.blendTrans.Play()
   		}
   }
   t = eval("setTimeout('runSlideShow('+vX+')', slideShowSpeed)");
}