/* Floating Slide Show Script C.2004 by CodeLifter.com */
// Set slideShowSpeed (milliseconds):
var slideShowSpeed = 5000
// Duration of crossfade (seconds) for IE:
var crossFadeDuration = 3
var whereX = 1;
var whereY = 2;
// Specify the image files:
var Pic = new Array() // don't touch this!
Pic[0] = 'images/b001.gif'
Pic[1] = 'images/b002.gif'
Pic[2] = 'images/longlivetheking2left.gif'
Pic[3] = 'images/longlivethekingleft.gif'
Pic[4] = 'images/iloveyoumomleft.gif'
var nn=(navigator.appName.indexOf("Netscape")!=-1);
var t;var j=0;var pl=Pic.length;var preLoad=new Array();
for (i=0;i<pl;i++){preLoad[i]=new Image();preLoad[i].src = Pic[i];}
function runSlideShow()
{
	if (document.all)
	{
		document.images.SlideShow.style.filter="blendTrans(duration=2)";
		document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
		document.images.SlideShow.filters.blendTrans.Apply();
	}
	if (document.all || document.getElementById)
	{document.images.SlideShow.src = preLoad[j].src;}
	else{document.FloatSlideShow.document.images["SlideShow"].src = preLoad[j].src;}
	if (document.all){document.images.SlideShow.filters.blendTrans.Play();}
	j=j+1;if (j>(pl-1))j=0;t=setTimeout('runSlideShow()', slideShowSpeed);
}
var dD=document,dH=dD.html,dB=dD.body,px=dD.layers?'':'px';
function floatSS(iX,iY,id)
{
	var L=dD.getElementById?dD.getElementById(id):dD.all?dD.all[id]:dD.layers[id];		
	this[id+'O']=L;if(dD.layers)L.style=L;L.nX=L.iX=iX;L.nY=L.iY=iY;
	L.P=function(x,y){this.style.left=x+px;this.style.top=y+px;};
	L.Fss=function()
	{
		var pX, pY;	
		pX=(this.iX >=0)?0:nn?innerWidth:nn&&dH.clientWidth?dH.clientWidth:dB.clientWidth;	
		pY=nn?pageYOffset:nn&&dH.scrollTop?dH.scrollTop:dB.scrollTop;	
		if(this.iY<0)pY+=nn?innerHeight:nn&&dH.clientHeight?dH.clientHeight:dB.clientHeight;	
		this.nX+=.1*(pX+this.iX-this.nX);this.nY+=.1*(pY+this.iY-this.nY);this.P(this.nX,this.nY);
		setTimeout(this.id+'O.Fss()',33);
	};return L;
}
floatSS(whereX,whereY,'FloatSlideShow').Fss();