
// f gets the absolute x position of an object
function getX(t)
{return (t.tagName=="BODY")?0:(t.offsetLeft + getX(t.offsetParent));}

// f gets the absolute y position of an object
function getY(t)
{return (t.tagName=="BODY")?0:(t.offsetTop + getY(t.offsetParent));}

function run_SlideShow1(){
   if (document.all){
      document.images.SlideShow1.style.filter="blendTrans(duration=2)"
      document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow1.filters.blendTrans.Apply()      
   }
   document.images.SlideShow1.src = preLoad1[j].src
   if (document.all){
      document.images.SlideShow1.filters.blendTrans.Play()
   }
   
	j = j + 1
   if (j > (p1-1)) j=0
	t = setTimeout('run_SlideShow1()', slideShowSpeed)
}
