 function init_contactinfo()
 {
 	var div      = document.getElementById('contactinfo');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_emailform()
 {
 	var div      = document.getElementById('emailform');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_contactbg()
 {
   var div      = document.getElementById('contactbg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 652, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '652px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(652, 1);
  	           
  	       }
   }
}
 function init_gracesupcomingeventsnoedi()
 {
 	var div      = document.getElementById('gracesupcomingeventsnoedi');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_eventsinfo()
 {
 	var div      = document.getElementById('eventsinfo');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_i1358eventsbg()
 {
   var div      = document.getElementById('i1358eventsbg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 652, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '652px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(652, 1);
  	           
  	       }
   }
}
 function init_calendarxmedia()
 {
   var div      = document.getElementById('calendarxmedia');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 642, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '642px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(642, 1);
  	           
  	       }
   }
}
 function init_i385calendarbg()
 {
   var div      = document.getElementById('i385calendarbg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 652, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '652px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(652, 1);
  	           
  	       }
   }
}
 function init_medialeftcolumn()
 {
 	var div      = document.getElementById('medialeftcolumn');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_mediarightcolumn()
 {
 	var div      = document.getElementById('mediarightcolumn');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_i384mediabg()
 {
   var div      = document.getElementById('i384mediabg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 652, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '652px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(652, 1);
  	           
  	       }
   }
}
 function init_ministriesleftcolumn()
 {
 	var div      = document.getElementById('ministriesleftcolumn');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_ministriesmiddlecolumn()
 {
 	var div      = document.getElementById('ministriesmiddlecolumn');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_ministriesrightcolumn()
 {
 	var div      = document.getElementById('ministriesrightcolumn');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_i383ministriesbg()
 {
   var div      = document.getElementById('i383ministriesbg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 652, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '652px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(652, 1);
  	           
  	       }
   }
}
 function init_wednesdayservicetime()
 {
 	var div      = document.getElementById('wednesdayservicetime');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_sundayservicetimes()
 {
 	var div      = document.getElementById('sundayservicetimes');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_churchaddress()
 {
 	var div      = document.getElementById('churchaddress');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_googlemaps()
 {
 	var div      = document.getElementById('googlemaps');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_whenwhereimage()
 {
   var div      = document.getElementById('whenwhereimage');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 651, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '651px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(651, 1);
  	           
  	       }
   }
}
 function init_i382whenwherebg()
 {
   var div      = document.getElementById('i382whenwherebg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 652, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '652px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(652, 1);
  	           
  	       }
   }
}
 function init_aboutgraceleftcolumn()
 {
 	var div      = document.getElementById('aboutgraceleftcolumn');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_aboutgracerightcolumn()
 {
 	var div      = document.getElementById('aboutgracerightcolumn');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1);
  	             }
        }
 }
 function init_aboutgracebg()
 {
   var div      = document.getElementById('aboutgracebg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 652, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '652px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(652, 1);
  	           
  	       }
   }
}

function init_tweens()
{
 init_aboutgracebg();
 init_aboutgracerightcolumn();
 init_aboutgraceleftcolumn();
 init_i382whenwherebg();
 init_whenwhereimage();
 init_googlemaps();
 init_churchaddress();
 init_sundayservicetimes();
 init_wednesdayservicetime();
 init_i383ministriesbg();
 init_ministriesrightcolumn();
 init_ministriesmiddlecolumn();
 init_ministriesleftcolumn();
 init_i384mediabg();
 init_mediarightcolumn();
 init_medialeftcolumn();
 init_i385calendarbg();
 init_calendarxmedia();
 init_i1358eventsbg();
 init_eventsinfo();
 init_gracesupcomingeventsnoedi();
 init_contactbg();
 init_emailform();
 init_contactinfo();
}
