 function init_materialsmenuhovershow()
 {
   var div      = document.getElementById('materialsmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -293, 0, .3, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-293px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-293, .3);
  	           
  	       }
   }
}
 function init_tilemenuhovershow()
 {
   var div      = document.getElementById('tilemenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -293, 0, .3, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-293px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-293, .3);
  	           
  	       }
   }
}
 function init_servicesmenuhovershow()
 {
   var div      = document.getElementById('servicesmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -293, 0, .3, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-293px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-293, .3);
  	           
  	       }
   }
}
 function init_ourgalleriesmenuhovershow()
 {
   var div      = document.getElementById('ourgalleriesmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -293, 0, .3, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-293px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-293, .3);
  	           
  	       }
   }
}
 function init_commercialmenuhovershow()
 {
   var div      = document.getElementById('commercialmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -293, 0, .3, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-293px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-293, .3);
  	           
  	       }
   }
}

function init_tweens()
{
 init_commercialmenuhovershow();
 init_ourgalleriesmenuhovershow();
 init_servicesmenuhovershow();
 init_tilemenuhovershow();
 init_materialsmenuhovershow();
}
