/********************************************
 * Kaosweaver Expert Images                 *
 * by Kaosweaver http://www.kaosweaver.com  * 
 * Copyright 2003, 2005 all rights reserved *
 ********************************************/
function kw_ei_img (i,w,h,t,u,d) {this.i=i;this.w=w;this.h=h;this.t=unescape(t);this.u=unescape(u);this.d=unescape(d)}
function kw_ei (n,t) {  // Expert Images - Copyright Kaosweaver, All Rights Reserved.
	this.n=n;this.t=t;this.s=new Array();this.p=0;this.gp=function(a){if(!a)a=0;j=this.p+a;if(j<0)
	j=this.s.length+j;if (j>this.s.length-1) j=(j-this.s.length);this.p=j;return this.s[j];};this.h="";
	this.ai=function(a){this.s[this.s.length]=a;};this.gn=function(){if (this.p==this.s.length-1) 
	this.p=-1;return this.s[++this.p];};this.gl=function(){if (this.p==0) this.p=this.s.length; 
	return this.s[--this.p];};this.gr=function(){j=parseInt(Math.random()*this.s.length);j=(isNaN(j))?0:j;
	this.p=j;return this.s[j];};this.c=function(){if (this.h!="") clearTimeout(this.h);};this.o=n+"Object";
	this.gd=function(){d=new Date();j=(parseInt(d.getTime()/86400000))%this.s.length;j=(isNaN(j))?0:j; 
	this.p=j; return this.s[j];};eval(this.o+"=this");this.gm=function(){dt=new Date();this.p=dt.getDate();
	return this.s[--this.p];};this.gw=function(){dt=new Date();this.p=dt.getDay();return this.s[this.p];}
	this.gc= function(){tc=document;c=tc.cookie;m=c.indexOf("kwei_"+this.n+"=");j=-1;if (m!=-1){
	p=c.indexOf("=",m)+1;p2=c.indexOf(";",m);p2=(p2==-1)?c.length:p2;j=c.substring(p,p2);j=(isNaN(j))?0:j;
	}j++;if (j>this.s.length-1)j=0;this.p=j;d=new Date();d.setTime(d.getTime()+(2592000000));
	ep = "; expires="+d.toGMTString()+"; path=/"; tc.cookie="kwei_"+this.n+"="+j+ep+";";return this.s[j];}
	this.ge=function(){return this.s.length-1;};this.gg=function(){dt=new Date();this.p=dt.getMonth();
	return this.s[this.p];};this.stt=function(a){this.t=a;}
}
function kwsetx(x,o){x.src=o.i;if (o.h)x.height=o.h; if (o.w)x.width=o.w; if (o.t){x.alt=o.t;x.title=o.t}}
function kwsetu(a,b,m,tn,tl){x=eval("document."+a);z=-1;y=-1;for(var i=0;i<kwei.length;i++)if(kwei[i].n==b) z=i;
	if (z!=-1)for(var i=0;i<kwei[z].s.length;i++)if (x.src.indexOf(kwei[z].s[i].i)!=-1) y=i;if (y!=-1)
	if (kwei[z].s[y].u!="") {if (m==1)window.location=kwei[z].s[y].u; else window.open(kwei[z].s[y].u,tn,tl);}}
function kweisi(n,a,m,q){dc=document;dc.getElementById(q).style.backgroundImage="";obj=dc.getElementById(a).style;obj.opacity=100;
	obj['-moz-opacity']=100;kwsetx(eval("document."+a),eval("n.g"+m+"()"));
	n.h=setTimeout("kweisi("+n.o+",'"+a+"','"+m+"','"+q+"')",n.t);kweisd(n,a)}
function kweifs(n,a,m,f) {if (document.all) {eval(a+".style.filter=\"blendTrans(duration=.5)\"");
	eval(a+".filters.blendTrans.apply()");kwsetx(eval("document."+a),eval("n.g"+m+"()"))
	eval(a+".filters.blendTrans.play()");} else {KW_eifadeOut(eval("n.g"+m+"()"),100,f,a);}
	n.h=setTimeout("kweifs("+n.o+",'"+a+"','"+m+"','"+f+"')",n.t);kweisd(n,a)}
function kweicnt(n,c,a){kwsetx(eval("document."+a),n.gp(c));}
function kweicto(n){n.c();}
function kweistt(n,a){n.stt(a);}
function kweici(n,a,m){kwsetx(eval("document."+a),eval("n.g"+m+"()"));kweisd(n,a)}
function kweipi(n,a,m){eval("n.g"+m+"()");kweiwi(n,a);}
function kweiwi(n,a) {s="";if (n.gp().u!="")s="<a href=\""+n.gp().u+"\">";s+="<img src=\""+n.gp().i+"\" "
	s+="width=\""+n.gp().w+"\" height=\""+n.gp().h+"\" alt=\""+n.gp().t+"\" title=\""+n.gp().t+"\" name=\""
	s+=a+"\" border=0>";if (n.gp().u!="")s+="</"+"a>";document.write(s);kweisd(n,a)}
function kweiwss(n,a,b,m,p){n.p=n.ge();s="<div style=\"background-image: url("+n.gp().i+"); background-repeat: no-repeat; width: "+n.gp().w+"px; height: "+n.gp().h+"px;\" id=\""+p+"\"><a href=\"#\" onClick=\"kwsetu('"+a+"','"+b+"',"+m+",'','')\"><img src=\""
	s+=n.gp().i+"\" width=\""+n.gp().w+"\" height=\""+n.gp().h+"\" alt=\""+n.gp().t+"\" title=\""+n.gp().t
	s+="\" id=\""+a+"\" name=\""+a+"\" border=0 style=\"filter:blendTrans(duration=3); width: "+n.gp().w+"px; height:  "+n.gp().h+"px; border: 0 none; filter: alpha(opacity=0); -moz-opacity: 0; opacity: 0;\"></a></div>";document.write(s);}
function KW_eiqf(a,oP,i,w,h) {obj=document.getElementById(a);if (oP>=5) {KW_eisetO(obj,oP);	oP=oP-5;
	window.setTimeout("KW_eiqf('"+a+"',"+oP+",'"+i+"',"+w+","+h+")", 20);} else {obj.src=i;obj.height=h;obj.width=w;
	KW_eifadeIn(0,a)}}
function KW_eifadeOut(nI,oP,f,a) {
	document.getElementById(f).style.backgroundImage="url("+ document.getElementById(a).src+")";
	KW_eiqf(a,oP,nI.i,nI.w,nI.h)}
function KW_eifadeIn(oP,a) {obj=document.getElementById(a);if (oP<=100) {KW_eisetO(obj, oP);oP += 5;
	window.setTimeout("KW_eifadeIn("+oP+",'"+a+"')", 50);}}
function KW_eisetO(obj, oP) {oP=(oP==100)?99.999:oP;obj.style.KHTMLopacity = oP/100;
	obj.style.MozOpacity = oP/100;obj.style.opacity = oP/100;}
function kweiwd(n,a) {document.write("<span id=\"kwei_"+a+"\">"+n.gp().d+"</span>")}
function kweisd(n,a) {obj=document.getElementById("kwei_"+a);if (obj) obj.innerHTML=n.gp().d;}
function kweibw(n,m,b) {eval("n.g"+m+"()");s='<style type="text/css"> body { background-image: url('+n.gp().i+');\n'+b+'}\n</style>';
	document.write(s);}

kwimg=new Array();
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/Waterloo-First.jpg",400,300,'','','%281%29%20Waterloo%20First%20Wesleyan%20Church');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/Second-&-Walnut.jpg",400,300,'','','%282%29%20First%20Wesleyan%20Church%20of%20Cedar%20Falls');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/twc00.jpg",400,300,'','','%283%29%20Corner%20of%20South%20Main%20and%20Orchard%20Drive%20-%20mid%201960%27s');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/twc01.jpg",400,300,'','','%284%29%20Trinity%20Wesleyan%20Church');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/TBC.jpg",400,300,'','','%285%29%20Trinity%20Bible%20Church%20%282006%29');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/Stoesz.jpg",400,300,'','','Stoesz%20Family%20%281968-1978%29');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/Mason-Family.jpg",400,300,'','','Mason%20Family%20%281978%20-%201984%29');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/Mason-Family2.jpg",400,300,'','','Mason%20Family');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/Parks.jpg",400,300,'','','Parks%20%281984%20-%201987%29');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/Packer-Family.jpg",400,300,'','','Packer%20Family%20%281987%20-%201994%29');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/Calhoun.jpg",400,300,'','','Don%20and%20Hazel%20Calhoun%20%281994%20-%201995%29');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/Miller-Family.jpg",400,300,'','','Miller%20Family%20%281995%20-%20Present%29');
kwimg[kwimg.length]=new kw_ei_img("/imgs/History/Cedar-Falls-Faith.jpg",400,300,'','','Cedar%20Falls%20Faith%20Wesleyan');
kwimg[kwimg.length]=new kw_ei_img("/imgs/DaVinci01.jpg",250,59,'Get%20Ready%20to%20Engage%20the%20DaVini%20Code','index.php%3Fpage%3DtoolBoxDaVinci.php','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/DaVinci02.jpg",250,59,'Get%20Ready%20to%20Engage%20the%20DaVini%20Code','index.php%3Fpage%3DtoolBoxDaVinci.php','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set01-1.jpg",250,225,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set01-2.jpg",250,225,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set01-3.jpg",250,225,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set01-4.jpg",250,225,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set02-01.jpg",300,200,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set02-02.jpg",300,200,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set02-03.jpg",300,200,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set02-04.jpg",300,200,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set02-05.jpg",300,200,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set02-06.jpg",300,200,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set02-07.jpg",300,200,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set03-01.jpg",190,240,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set03-02.jpg",190,240,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/FbPics/Set03-03.jpg",190,240,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/EaglesABF/Eagles2006a.jpg",350,250,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/EaglesABF/Eagles2006b.jpg",350,250,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/EaglesABF/Eagles2006c.jpg",350,250,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/EaglesABF/Eagles2006d.jpg",350,250,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/EaglesABF/Eagles2006e.jpg",350,250,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren07.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren08.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren09.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren10.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren11.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren12.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren13.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren14.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren15.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren01.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren02.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren03.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren04.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren05.jpg",300,300,'','','');
kwimg[kwimg.length]=new kw_ei_img("/imgs/TrinChildren/TrinChildren06.jpg",300,300,'','','');

kwei = new Array();
kwei[0]=new kw_ei("Children01",4000);
kwei[1]=new kw_ei("ChildrenNursery",4000);
kwei[2]=new kw_ei("ChildrenFWF",4000);
kwei[3]=new kw_ei("ChildrenChristmas",4000);
kwei[4]=new kw_ei("History",6000);
kwei[4].ai(kwimg[0]);
kwei[4].ai(kwimg[1]);
kwei[4].ai(kwimg[2]);
kwei[4].ai(kwimg[3]);
kwei[4].ai(kwimg[4]);
kwei[4].ai(kwimg[5]);
kwei[4].ai(kwimg[6]);
kwei[4].ai(kwimg[8]);
kwei[4].ai(kwimg[9]);
kwei[4].ai(kwimg[10]);
kwei[4].ai(kwimg[11]);
kwei[5]=new kw_ei("DaVinciHomeBody",4000);
kwei[5].ai(kwimg[13]);
kwei[5].ai(kwimg[14]);
kwei[6]=new kw_ei("FaithBuilders01",4000);
kwei[6].ai(kwimg[15]);
kwei[6].ai(kwimg[16]);
kwei[6].ai(kwimg[17]);
kwei[6].ai(kwimg[18]);
kwei[7]=new kw_ei("FaithBuilders02",5000);
kwei[7].ai(kwimg[19]);
kwei[7].ai(kwimg[20]);
kwei[7].ai(kwimg[21]);
kwei[7].ai(kwimg[22]);
kwei[7].ai(kwimg[23]);
kwei[7].ai(kwimg[24]);
kwei[7].ai(kwimg[25]);
kwei[8]=new kw_ei("FaithBuilders03",5000);
kwei[8].ai(kwimg[26]);
kwei[8].ai(kwimg[27]);
kwei[8].ai(kwimg[28]);
kwei[9]=new kw_ei("Eagles1",4000);
kwei[9].ai(kwimg[29]);
kwei[9].ai(kwimg[30]);
kwei[9].ai(kwimg[31]);
kwei[9].ai(kwimg[32]);
kwei[9].ai(kwimg[33]);
kwei[10]=new kw_ei("Eagles2",4000);
kwei[11]=new kw_ei("Children",4000);
kwei[11].ai(kwimg[34]);
kwei[11].ai(kwimg[35]);
kwei[11].ai(kwimg[36]);
kwei[11].ai(kwimg[37]);
kwei[11].ai(kwimg[38]);
kwei[11].ai(kwimg[39]);
kwei[11].ai(kwimg[40]);
kwei[11].ai(kwimg[41]);
kwei[11].ai(kwimg[42]);
kwei[11].ai(kwimg[43]);
kwei[11].ai(kwimg[44]);
kwei[11].ai(kwimg[45]);
kwei[11].ai(kwimg[46]);
kwei[11].ai(kwimg[47]);
kwei[11].ai(kwimg[48]);
