//alert('here');
function popUp(URL) {
	day = new Date();
	var id = "page" + day.getTime();
	eval(id + " = window.open(URL, '" + id + "', 'resizable=1,width=300,height=200,left = 357.5,top = 464.5');");
	id.focus();
}
function openURL(URL) {
	day = new Date();
	var id = "page" + day.getTime();
	eval(id + " = window.open(URL, '" + id + "', 'resizable=1,scrollbars=yes,width=800,height=600,left = 5,top = 5');");
	//id.focus();
}
function clickButton(e, buttonid){
      var bt = document.getElementById(buttonid);
      if (typeof bt == 'object'){
            if(navigator.appName.indexOf("Netscape")>(-1)){
                  if (e.keyCode == 13){
                        bt.click();
                        return false;
                  }
            }
            if (navigator.appName.indexOf("Microsoft Internet Explorer")>(-1)){
                  if (event.keyCode == 13){
                        bt.click();
                        return false;
                  }
            }
      }
}
function showsermon() {	window.open("http://www.dfolland.com/sermons/default.asp", 		"URL", "fullscreen=no,toolbar=no,status=yes,menubar=no,scrollbars=no,resizable=yes,directories=no,location=no,width=600,height=400");}
function showsermon_old() {	window.open("http://www.dfolland.com/sermons/default.aspx", 		"URL", "fullscreen=no,toolbar=no,status=yes,menubar=no,scrollbars=no,resizable=yes,directories=no,location=no,width=600,height=400");}
function showsermon_develop() {	window.open("http://localhost/FollandHomePage/sermons/default.aspx", 		"URL", "fullscreen=no,toolbar=no,status=yes,menubar=no,scrollbars=no,resizable=yes,directories=no,location=no,width=600,height=400");}
function SmallGroupResources()
{
	var width = 650; 
	var height = this.height;

	var p = 'scrollbars=yes,resizable=yes,toolbar=no,' + 
	'menubar=no,status=no,location=no,left=85,top=20,height=' + 
	height + ',width=' + width;

	window.open("http://smallgroups.com","bw",p);
}

function oboutCalendar(O,o,Y,I,A,e,U,Z,z,X,W,w,V,v,T,t,S,R,r,Q,P,N,n,M,m,L,l,K,k,J,j,H,h,G,g,F,f,D,d,C){ this.id=O; this.c="\x32.1.\x30.0"; this.speed=o; this.B=Y; this.o0=I; this.O0=A; this.l0=e; this.i0=U; this.I0=Z.getMonth(); this.o1=Z.getFullYear(); this.O1=z; this.l1=X; this.i1=W; this.I1=w.split("\x2c"); this.o2=V.split(","); this.O2=v.split(","); this.l2=T.split("\x2c"); this.i2=new Array(); this.I2= false; if (t>this.i0){ this.o3=this.i0; }else { this.o3=t; } this.scrollBy=t; this.O3=Q; this.l3=null; this.i3=P; this.I3=null; this.o4=null; this.O4=N; this.offsetLeft=n; this.offsetTop=M; this.l4=m; this.i4=null; this.I4=L; this.o5=l; this.O5=K; this.l5=k; this.i5=J; this.I5= false; this.o6=j; this.O6=null; this.l6=H; this.i6=h; this.I6=G; this.o7=g; this.O7=F; this.l7=f; this.i7=D; this.I7=d; this.o8=C; var i=0; this.O8=new Object(); this.l8=new Object(); for (i=0; i<S.length; i++){ this.O8[S[i].valueOf()]=r[i]; if (R[i]==""){ this.l8[S[i].valueOf()]=this.i7; }else { this.l8[S[i].valueOf()]=R[i]; }} this.i8(); } ; oboutCalendar.prototype.i8= function (){var col,td,tr; this.I2= false; this.I8= false; this.o9=(navigator.userAgent.toLowerCase().indexOf("ms\x69\x65")==-1)? false : true; this.O9=(this.i0*this.B); this.l9=document.getElementById("_"+this.id+"\103\x6fntai\x6eer"); if (this.l9.firstChild.nextSibling){ this.i9=this.l9.firstChild.nextSibling.firstChild; }else { this.i9=this.l9.firstChild.firstChild; } this.l9.style.width=(this.O9+this.O0)+"px"; this.i9.style.margin=(this.O0/2)+"\x70x"; if (this.O4){ this.button=document.getElementById("_"+this.id+"\102\x75tton"); this.iframe=document.getElementById("\x5f"+this.id+"\151\x66rame"); }tr=this.i9.firstChild.firstChild; for (col=0; col<this.i0; col++){td=tr.appendChild(document.createElement("\x74d")); td.style.width=this.B+"px"; td.appendChild(this.I9()); if (this.l0==1){ this.oa(1); }else { this.oa(-(this.i0*this.l0-this.i0-1)); } ; }if (this.l0==1){ this.oa(-1); }else { this.oa(this.i0*this.l0-this.i0-1); } ; if (!this.O4){ this.l9.style.display="block"; }else { this.i4=document.getElementById(this.l4); if (this.i4!=null && this.O3!=null){ this.i4.value=this.Oa(this.O3,this.I4); }} this.O6=document.getElementsByName("h_"+this.id)[0]; } ; oboutCalendar.prototype.I9= function (){var la,ia,Ia,ob; var table=document.createElement("table"); if (this.o9){table.border=0; table.cellSpacing=0; table.cellPadding=0; }else {table.setAttribute("\142\157r\x64er",0); table.setAttribute("\x63ellsp\x61\x63i\x6eg",0); table.setAttribute("cellp\x61dding",0); }ob=table.appendChild(document.createElement("tbo\x64y")); ia=ob.appendChild(document.createElement("\x74r")); for (la=0; la<this.l0; la++){ia=ob.appendChild(document.createElement("tr")); Ia=ia.appendChild(document.createElement("td")); Ia.style.width=this.B+"px"; Ia=Ia.appendChild(document.createElement("div")); Ia.style.height=this.o0+"px"; Ia.style.margin=(this.O0/2)+"p\x78"; Ia.appendChild(this.Ob()); if (this.l0==1){ this.oa(1); }else { this.oa(this.i0); } ; }if (this.l0==1){ this.oa(-1); }else { this.oa(-this.i0); } ; return table; } ; oboutCalendar.prototype.ib= function (){var td; if (this.l0>1 && this.scrollBy>this.o3){ this.oa(this.i0*this.l0-this.i0); }for (var i=0; i<this.o3; i++){ this.oa(-(this.i0*this.l0-this.i0-1)); td=this.i9.firstChild.firstChild.appendChild(document.createElement("\164d")); td.style.width=this.B+"px"; td.appendChild(this.I9()); } this.lb=0; this.Ib=eval("\x77\x69\x6edow\x2esetIn\x74erva\x6c(\042"+this.id+"\x2e"+(("oc"))+"(-\x31)\042\x2c 1)"); } ; oboutCalendar.prototype.lc= function (){var td; if (this.l0>1 && this.scrollBy>this.o3){ this.oa(-2*this.i0*this.l0+this.i0); }else { this.oa(-this.i0*this.l0); }for (var i=0; i<this.o3; i++){td=this.i9.firstChild.firstChild.insertBefore(document.createElement("td"),this.i9.firstChild.firstChild.firstChild); td.style.width=this.B+"px"; this.i9.style.left=(-this.B*(i+1))+"\x70x"; td.appendChild(this.I9()); this.oa(-(this.i0*this.l0-this.i0+1)); } this.oa(this.i0*this.l0); this.lb=-this.B*this.o3; this.Ib=eval("window\x2esetInte\x72val(\x22"+this.id+"\x2e"+(("oc"))+"\050\x31)\042\x2c 1)"); } ; oboutCalendar.prototype.ic= function (Oc,Ic,od){var tr,td; if (this.i9.parentNode.offsetHeight!=0){ this.i9.parentNode.style.height=this.i9.parentNode.offsetHeight+"\x70\x78"; }if (Ic!=null){ this.O3=Ic; } ; if (Oc!=null){ this.I0=Oc.getMonth(); this.o1=Oc.getFullYear(); }if (!od){ this.oa(-this.i0*this.l0+1); }if (this.O6!=null){ this.O6.value=Ic.getFullYear()+"."+(Ic.getMonth()+1)+"."+Ic.getDate()+";"+this.o1+"."+(this.I0+1)+"\x2e1"; }tr=this.i9.firstChild.appendChild(document.createElement("\x74r")); for (col=0; col<this.i0; col++){td=tr.appendChild(document.createElement("\x74d")); td.style.width=this.B+"px"; td.appendChild(this.I9()); if (this.l0==1){ this.oa(1); }else { this.oa(-(this.i0*this.l0-this.i0-1)); } ; }if (this.l0==1){ this.oa(-1); }else { this.oa(this.i0*this.l0-this.i0-1); } ; this.lb=0; this.Ib=eval("w\x69ndow.s\x65\164\x49nt\x65rval\x28\042"+this.id+"."+(("oc"))+"(0)\042, 1)"); } ; oboutCalendar.prototype.oc= function (dir){if (dir<0){ this.lb-=this.speed; if (this.B*this.o3+this.lb>=0){if (this.B*this.o3+this.lb<this.speed){ this.i9.style.left=(-this.B*this.o3)+"px"; }else { this.i9.style.left=this.lb+"px"; }}else {window.clearInterval(this.Ib); var ia=this.i9.firstChild.firstChild; for (var i=0; i<this.o3; i++){ia.removeChild(ia.firstChild); this.i9.style.left=(-this.B*(this.o3-i-1))+"\x70\x78"; } ; ia=null; this.I2= false; this.Od(); }}else if (dir>0){ this.lb+=this.speed; if (this.lb<0){if (this.lb+this.speed>0){ this.i9.style.left="0\x70x"; }else { this.i9.style.left=this.lb+"\x70x"; }}else {window.clearInterval(this.Ib); var ia=this.i9.firstChild.firstChild; for (var i=0; i<this.o3; i++){ia.removeChild(ia.childNodes[ia.childNodes.length-1]); } ; ia=null; this.i9.style.left="\x30px"; this.I2= false; this.Od(); }}else { this.lb-=this.speed; if (this.o0*this.l0+this.lb>=0){if (this.o0*this.l0+this.lb<this.speed){ this.i9.style.top=(-this.o0*this.l0)+"px"; }else { this.i9.style.top=this.lb+"px"; }}else {window.clearInterval(this.Ib); this.i9.firstChild.removeChild(this.i9.firstChild.firstChild); this.i9.style.top="\060px"; this.I2= false; this.Od(); }}} ; oboutCalendar.prototype.Ob= function (){var data=new Date(this.o1,this.I0,1,011,0,0,0); var currentDate=new Date(this.o1,this.I0,1,011,0,0,0); var col=0; var la=0; var table,ob,ld,oe; var Oe=Math.floor((this.B-this.O0)/7); table=document.createElement("\x74\x61\142\x6ce"); table.style.width="100%"; table.style.height="100%"; if (!this.o9){table.style.tableLayout="\x66\x69\x78ed"; } this.le(table,this.i6); ob=table.appendChild(document.createElement("tbody")); ld=ob.appendChild(document.createElement("\x74r")); oe=ld.appendChild(document.createElement("\x74\x64")); if (this.o9){oe.colSpan=7; table.border=0; table.cellSpacing=0; table.cellPadding=0; }else {oe.setAttribute("\x63o\x6c\x73pan",7); table.setAttribute("b\x6frder",0); table.setAttribute("\x63ellspac\x69\x6eg",0); table.setAttribute("\x63ell\x70\141\x64ding",0); }oe.appendChild(document.createTextNode(this.Oa(new Date(this.o1,this.I0,1),this.o5))); this.le(oe,this.I6); ld=ob.appendChild(document.createElement("tr")); for (col=0; col<7; col++){oe=ld.appendChild(document.createElement("t\x64")); oe.appendChild(document.createTextNode(this.l2[(col+this.O5)%7])); oe.setAttribute("widt\x68","14\x2e2%"); this.le(oe,this.o7); }while (currentDate.getDay()!=this.O5){currentDate.setDate(currentDate.getDate()-1); }for (la=0; la<6; la++){ld=ob.appendChild(document.createElement("tr")); for (col=0; col<7; col++){oe=ld.appendChild(document.createElement("t\x64")); if (currentDate.getMonth()==this.I0 || this.l5){oe.appendChild(document.createTextNode(currentDate.getDate())); }else {oe.appendChild(document.createTextNode("\240")); }if (currentDate.getMonth()!=this.I0 || (this.o6!=null && !eval(this.o6))){ this.le(oe,this.l7); }else if (this.ie(currentDate)){ this.l3=oe; this.le(oe,this.o8); if (this.i4!=null){ this.i4.value=this.Oa(currentDate,this.I4); }}else { this.Ie(oe,currentDate); }currentDate.setDate(currentDate.getDate()+1); }}currentDate=null; data=null; oe=null; ld=null; ob=null; return table; } ; oboutCalendar.prototype.of= function (Of,data){if (!this.I5){if (this.i3!=null && this.I3==null){ this.I3=eval("\151f(typeof("+this.i3+"\x29=\x3d\042\x75ndef\x69ned\042\051\x20null\x3b else\x20"+this.i3+"\x3b"); if (this.I3!=null){ this.I3.o4=this ; }}else if (this.o4==null){ this.o4=eval("if\x28typeof\x28"+this.id+"endD\x61\164e\x29==\042\x75nde\x66ined\x22\051\x20null;\x20else "+this.id+"endD\x61te;"); if (this.o4!=null){ this.o4.I3=this ; }} this.I5= true; }if (this.ie(data) && this.i5){ this.Ie(Of,data); this.O3=null; this.l3=null; if (this.i4!=null){ this.i4.value=""; }if (this.O6!=null){ this.O6.value="0"; }}else {if (this.l3!=null){ this.Ie(this.l3,this.O3); } this.le(Of,this.o8); this.O3=data; this.l3=Of; if (this.i4!=null){ this.i4.value=this.Oa(data,this.I4); }if (this.I3!=null){if (this.I3.O3==null || (this.I3.O3!=null && this.If(this.I3.O3,data)>0)){ this.I3.ig(this.I3.id+"."+(("ic"))+"\x28\x6eew Da\x74e("+data.getFullYear()+"\x2c"+data.getMonth()+"\x2c"+data.getDate()+",9,0,0,0\x29, new D\x61te("+data.getFullYear()+"\x2c"+data.getMonth()+","+data.getDate()+",9,0,0,0\x29, false\x29;"); }}else if (this.o4!=null){if (this.o4.O3==null || (this.o4.O3!=null && this.If(this.o4.O3,data)<0)){ this.o4.ig(this.o4.id+"."+(("ic"))+"\x28new\x20\x44at\x65("+data.getFullYear()+"\x2c"+data.getMonth()+"\x2c"+data.getDate()+",9,0,0,0),\x20new Da\x74e("+data.getFullYear()+"\x2c"+data.getMonth()+","+data.getDate()+",9,\x30\054\x30,0)\x2c true);"); }}if (this.O6!=null){ this.oa(-this.l0*this.i0+1); this.O6.value=data.getFullYear()+"\x2e"+(data.getMonth()+1)+"."+data.getDate()+";"+this.o1+"\x2e"+(this.I0+1)+"\x2e1"; this.oa(this.l0*this.i0-1); }}if (this.i4!=null && this.i4.onchange){if (this.i4.fireEvent){ this.i4.fireEvent("\x6fnc\x68\x61ng\x65"); }else {var og=document.createEvent("H\x54MLEvents"); og.initEvent("change", true , false); this.i4.dispatchEvent(og); }}if (this.O4){var Og=null; if (document.createEvent){Og=document.createEvent("HTM\x4cEvents"); Og.initEvent("\x63lick", true , false); } this.Ih(Og); }if (this.onClientDateChanged!=null){ this.onClientDateChanged(this.O3); } ; if (this.l6!=null){eval(this.l6); } ; } ; oboutCalendar.prototype.Ie= function (Of,data){var lg= true; if ((this.O1!=null && this.If(data,this.O1)<0) || (this.l1!=null && this.If(data,this.l1)>0)){ this.le(Of,this.l7); lg= false; }else if (this.Ig(data)){ this.le(Of,this.oh(data)); Of.setAttribute("title",this.Oh(data)); }else if (this.If(this.i1,data)==0){ this.le(Of,this.I7); }else { this.le(Of,this.O7); }if (lg && Of.onclick==null){if (Of.addEventListener){eval((("Of"))+".oncl\x69ck \x3d funct\x69on() {"+this.id+"."+(("of"))+"(\x74his, new\x20Date("+data.getFullYear()+"\x2c"+data.getMonth()+"\x2c"+data.getDate()+"\x2c9,0,0,0\x29\x29;\x7d"); }else {Of.onclick=new Function(this.id+"."+(("of"))+"\050\164h\x69\x73\x2c\040\x6eew Da\x74e("+data.getFullYear()+"\x2c"+data.getMonth()+"\x2c"+data.getDate()+"\x2c9,0,\x30\054\x30))"); }}} ; oboutCalendar.prototype.Ih= function (og){if (!og){og=window.event; } ; og.cancelBubble= true; if (og.stopPropagation){og.stopPropagation(); }if (this.I8){ this.l9.style.display="none"; this.iframe.style.display="none"; this.I8= false; document.oboutOpenCalendar=null; return; }if (document.oboutOpenCalendar!=null){var Og=null; if (document.createEvent){Og=document.createEvent("\x48\x54MLEvents"); Og.initEvent("click", true , false); }document.oboutOpenCalendar.Ih(Og); }if (this.l9.parentNode.nodeName.toLowerCase()!="body"){document.body.appendChild(this.l9.parentNode.removeChild(this.l9)); document.body.appendChild(this.iframe.parentNode.removeChild(this.iframe)); } this.l9.style.position="\x61bsolu\x74\145"; this.l9.style.display="bl\x6fck"; if (this.o9){ this.l9.style.zIndex="\x31000\x31"; this.iframe.style.zIndex="10000"; this.iframe.style.height=this.l9.offsetHeight+"p\x78"; this.iframe.style.width=this.l9.offsetWidth+"px"; this.iframe.style.display="\x62loc\x6b"; }var lb=this.lh(this.button)+this.button.offsetWidth-this.l9.offsetWidth+this.offsetLeft; lb=(lb<0)?0:lb; lb=(lb+this.l9.offsetWidth>document.body.offsetWidth)?document.body.offsetWidth-this.l9.offsetWidth:lb; var ih=this.oi(this.button)+this.button.offsetHeight+this.offsetTop; this.l9.style.top=ih+"\160\x78"; this.l9.style.left=lb+"p\x78"; if (this.o9){ this.iframe.style.top=ih+"px"; this.iframe.style.left=lb+"\x70x"; }document.oboutOpenCalendar=this ; eval("docume\x6et.onclic\x6b = fun\x63tion\x28e){if\x28docum\x65nt.ob\x6fu\x74Ope\x6eCale\x6edar\x29{doc\x75men\x74.ob\x6futO\x70enC\x61l\x65n\x64ar."+(("Ih"))+"(e)\x3b}}"); this.I8= true; } ; oboutCalendar.prototype.oa= function (number){var Ia=this.o1*014+this.I0+number; this.I0=Ia%014; this.o1=Math.floor(Ia/014); } ; oboutCalendar.prototype.le= function (Ia,Oi){if (Ia!=null && Oi!=null){Ia.className=Oi; }} ; oboutCalendar.prototype.ig= function (ii){ this.i2.push(ii); this.Od(); } ; oboutCalendar.prototype.Od= function (){if (!this.I2 && this.i2.length>0){ this.I2= true; eval(this.i2.shift()); }} ; oboutCalendar.prototype.Ig= function (data){data=new Date(data.getFullYear(),data.getMonth(),data.getDate(),0,0,0,0); if (typeof(this.O8[data.valueOf()])!="undef\x69\x6eed"){return true; }data.setYear(-1); if (typeof(this.O8[data.valueOf()])!="\x75ndefined"){return true; }return false; } ; oboutCalendar.prototype.oh= function (data){data=new Date(data.getFullYear(),data.getMonth(),data.getDate(),0,0,0,0); if (typeof(this.l8[data.valueOf()])!="undefined"){return this.l8[data.valueOf()]; }data.setYear(-1); return this.l8[data.valueOf()]; } ; oboutCalendar.prototype.Oh= function (data){data=new Date(data.getFullYear(),data.getMonth(),data.getDate(),0,0,0,0); if (typeof(this.O8[data.valueOf()])!="unde\x66ine\x64"){return this.O8[data.valueOf()]; }data.setYear(-1); return this.O8[data.valueOf()]; } ; oboutCalendar.prototype.If= function (Ii,oj){if (Ii.getYear()<oj.getYear()){return -1; }if (Ii.getYear()>oj.getYear()){return 1; }else {if (Ii.getMonth()<oj.getMonth()){return -1; }if (Ii.getMonth()>oj.getMonth()){return 1; }else {if (Ii.getDate()<oj.getDate()){return -1; }if (Ii.getDate()>oj.getDate()){return 1; }else {return 0; }}}} ; oboutCalendar.prototype.ie= function (data){if (this.O3!=null && this.If(data,this.O3)==0){return true; }return false; } ; oboutCalendar.prototype.lh= function (Of){var Oj=0; if (Of.offsetParent){while (Of.offsetParent){Oj+=Of.offsetLeft-Of.scrollLeft; Of=Of.offsetParent; }}else if (Of.x){Oj+=Of.x; }return Oj; } ; oboutCalendar.prototype.oi= function (Of){var Oj=0; if (Of.offsetParent){while (Of.offsetParent){Oj+=Of.offsetTop-Of.scrollTop; Of=Of.offsetParent; }}else if (Of.y){Oj+=Of.y; }return Oj; } ; oboutCalendar.prototype.Oa= function (data,lj){var Ia=data.getFullYear()%01750%0144; var ij=[]; var Ij=/\x79\x79\x79\x79|\x79\x79|\x79|\x4d\x4d\x4d\x4d|\x4d\x4d\x4d|\x4d\x4d|\x4d|\x64\x64\x64\x64|\x64\x64\x64|\x64\x64|\x64/g; var ok=lj.split("\x27"); for (var i=0; i<ok.length; i++){if ((i+1)%2==0){ij.push(ok[i]); continue; }var Ok=Ij.lastIndex; var lk; while ((lk=Ij.exec(ok[i]))!=null){var ik=lk.index; ij.push(ok[i].slice(Ok,ik)); Ok=Ij.lastIndex; switch (lk[0]){case "\171\x79yy":ij.push(data.getFullYear()); break; case "yy":ij.push(((Ia<012)?"0": "")+Ia); break; case "y":ij.push(Ia); break; case "\x4dMMM":ij.push(this.I1[data.getMonth()]); break; case "MMM":ij.push(this.o2[data.getMonth()]); break; case "\115\x4d":ij.push(((data.getMonth()<011)?"\x30": "")+(data.getMonth()+1)); break; case "\x4d":ij.push((data.getMonth()+1).toString()); break; case "\x64d\x64\x64":ij.push(this.O2[data.getDay()]); break; case "\x64dd":ij.push(this.l2[data.getDay()]); break; case "dd":ij.push(((data.getDate()<012)?"\x30": "")+data.getDate()); break; case "\x64":ij.push(data.getDate()); break; }}ij.push(ok[i].slice(Ok)); }return ij.join(""); } ; oboutCalendar.prototype.onClientDateChanged=null; var oboutCalendarJSLoaded= true;
