function slide1sl()
{
	slide1fademi=1;
	imgarr=new Array();
	imgstr=new Array();
	linkstr=new Array();
	clslinkstr=new Array();
	
	/*  starts where images are loaded  */
	
	imgarr[0]=new Image();
	imgarr[0].src='images/schaumburg_cutout_technology.jpg';
	imgstr[0]='images/schaumburg_cutout_technology.jpg';
	linkstr[0]='<a href="../projects/individual/schaumburg.html" target="_self">';
	clslinkstr[0]='</a>';
	
	imgarr[1]=new Image();
	imgarr[1].src='images/bus_shelter_technology.jpg';
	imgstr[1]='images/bus_shelter_technology.jpg';
	linkstr[1]='<a href="../projects/individual/bus_shelter.html" target="_self">';
	clslinkstr[1]='</a>';
	
	imgarr[2]=new Image();
	imgarr[2].src='images/waukegan_technology.jpg';
	imgstr[2]='images/waukegan_technology.jpg';
	linkstr[2]='<a href="../projects/individual/waukegan.html" target="_self">';
	clslinkstr[2]='</a>';
	
	imgarr[3]=new Image();
	imgarr[3].src='images/bloomingdales_multilevel_technology.jpg';
	imgstr[3]='images/bloomingdales_multilevel_technology.jpg';
	linkstr[3]='<a href="../projects/individual/medinah_temple.html" target="_self">';
	clslinkstr[3]='</a>';
	
	imgarr[4]=new Image();
	imgarr[4].src='images/state_lake_technology.jpg';
	imgstr[4]='images/state_lake_technology.jpg';
	linkstr[4]='<a href="../projects/individual/state_lake.html" target="_self">';
	clslinkstr[4]='</a>';
	
	/* copy of above block to add more pictures....  change the number to the next one for the array */
	
	/*  ends where images are loaded  */
	
	slide1vcurr=0;
	slide1vnext=0;
	slide1vssdiv=null;
	stepc=20*(2000/1000);  /*  Change the #1 to reflect transition time ( #1 / #2 ) */
	slide1dif=0.00;
	slide1op=1.00;
	slide1dif=(1.00/stepc);
	uagent = window.navigator.userAgent.toLowerCase();
	IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;
	if(scompat != "BackCompat")
	{}
	dstr1='<div id="';
	dstr2='" style="position:absolute;text-align:'+"center"+';width:'+449+'px;height:'+449+'px;visibility:hidden;left:0px;top:0px;padding:0px;margin:0px;overflow:hidden;">';
	dstr3='<img id="slide1img';
	dstr4='" src="';
	dstr5='" style="position:relative;left:0px;top:0px;padding:0px;margin:0px;border:0px;" border="0"></img>';
	dstr6='</div>';
	this.slide1dotrans=slide1dotrans;
	this.slide1initte=slide1initte;
	this.slide1initte2=slide1initte2;
	this.slide1beftrans=slide1beftrans;
	this.slide1dotransff=slide1dotransff;
}
function slide1dotrans()
{	
	if(IEB==true){slide1vssdiv.filters[0].apply();
}	
	slide1objc=document.getElementById('slide1d'+slide1vcurr);
	slide1objn=document.getElementById('slide1d'+slide1vnext);
	slide1objc.style.visibility="hidden";
	slide1objn.style.visibility="visible";
	if(IEB==true){slide1vssdiv.filters[0].play();
}		
	slide1vcurr=slide1vnext;
	slide1vnext=slide1vnext+1;
	if(slide1vnext>=5)	{		/* if(slide1vnext>=#) make the # into the number of images you are going to use*/
	slide1vnext=0;
}			
	setTimeout('slide1dotrans()',(2000+2000));  /*  ( #1 / #2 ) #1 is transition time.  #2 is delay time. makes transition time  1000*number of seconds desired  */  /*  makes transition time  1000*number of seconds desired  */
}
function slide1dotransff(){	
	slide1op=slide1op-slide1dif;
	slide1objc=document.getElementById('slide1d'+slide1vcurr);
	slide1objn=document.getElementById('slide1d'+slide1vnext);
	if(slide1op<(0.00)
)
	{
	slide1op=0.00;
	}	
	slide1objc.style.opacity = slide1op;
	slide1objn.style.opacity = 1.00;
	if(slide1op>(0.00))	
{		
	setTimeout('slide1dotransff()',50);
}	
	else	{
	slide1objc.style.zIndex=2;
	slide1objn.style.zIndex=3;		setTimeout('slide1beftrans()',1500);  /*  makes transition time  1000*number of seconds desired  */
	}
}
function slide1beftrans(){	
	slide1vcurr=slide1vnext;
	slide1vnext=slide1vnext+1;
	if(slide1vnext>=5)	        /* if(slide1vnext>=#) make the # into the number of images you are going to use*/
	{		
	slide1vnext=0;
}	
	slide1op=1.00;
	slide1objc=document.getElementById('slide1d'+slide1vcurr);
	slide1objn=document.getElementById('slide1d'+slide1vnext);
	slide1objc.style.visibility="visible";
	slide1objn.style.visibility="visible";
	slide1objc.style.zIndex=3;
	slide1objn.style.zIndex=2;
	slide1objc.style.opacity = 1.00;
	slide1objn.style.opacity = 1.00;
	slide1dotransff();
}
function slide1initte2(){	
	slide1vssdiv=document.getElementById("slide1dv");
	if(5>0)	                     /* if(#>0)	{ make the # into the number of images you are going to use*/    
	{		
	slide1objc=document.getElementById('slide1d'+0);
	slide1objc.style.visibility="visible";		
}	
	if(5>1)	{		             /* if(#>1)	{ make the # into the number of images you are going to use*/
	if((IEB==true)||(slide1fademi==0))		
	{			
	slide1vcurr=0;
	slide1vnext=1;
	setTimeout('slide1dotrans()',1500); /*  makes transition time  1000*number of seconds desired  */
}		
	else		
	{			
	slide1vcurr=0;
	slide1vnext=0;
	setTimeout('slide1beftrans()',1500); /*  makes transition time  1000*number of seconds desired  */
	}	
}
}
function slide1initte(){	
	i=0;
	innertxt="";
	for(i=0;i<5;i++)	{		/* for(i=0;i<#;i++) make the # into the number of images you are going to use*/
	innertxt=innertxt+dstr1+"slide1d"+i+dstr2+linkstr[i]+dstr3+i+dstr4+imgstr[i]+dstr5+clslinkstr[i]+dstr6;
	}	
	spage=document.getElementById('slide1dv');
	spage.innerHTML=""+innertxt;
	setTimeout('slide1initte2()',200);  /* No Need To Change */
}
	slide1s=new slide1sl();
	slide1s.slide1initte();
