 function init_closebutton()
 {
   var div      = document.getElementById('closebutton');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -9, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-9px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-9, .5);
  	           
  	       }
   }
}
 function init_enquiryformform()
 {
   var div      = document.getElementById('enquiryformform');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -332, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-332px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-332, .5);
  	           
  	       }
   }
}
 function init_bgform()
 {
   var div      = document.getElementById('bgform');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -483, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-483px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-483, .5);
  	           
  	       }
   }
}
 function init_productsmenu()
 {
   var div      = document.getElementById('productsmenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -261, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-261px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-261, .5);
  	           
  	       }
   }
}
 function init_tableclothsmenu()
 {
   var div      = document.getElementById('tableclothsmenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -195, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-195px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-195, .5);
  	           
  	       }
   }
}
 function init_tableclothsbg()
 {
   var div      = document.getElementById('tableclothsbg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -211, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-211px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-211, .5);
  	           
  	       }
   }
}
 function init_napkinsmenu()
 {
   var div      = document.getElementById('napkinsmenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -241, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-241px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-241, .5);
  	           
  	       }
   }
}
 function init_napkinsbg()
 {
   var div      = document.getElementById('napkinsbg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -268, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-268px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-268, .5);
  	           
  	       }
   }
}
 function init_aprontypesmenu()
 {
   var div      = document.getElementById('aprontypesmenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -149, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-149px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-149, .5);
  	           
  	       }
   }
}
 function init_apronsbg()
 {
   var div      = document.getElementById('apronsbg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -182, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-182px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-182, .5);
  	           
  	       }
   }
}
 function init_chefsgearmenu()
 {
   var div      = document.getElementById('chefsgearmenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -138, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-138px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-138, .5);
  	           
  	       }
   }
}
 function init_chefsbg()
 {
   var div      = document.getElementById('chefsbg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -175, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-175px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-175, .5);
  	           
  	       }
   }
}
 function init_sachabrandsmenu()
 {
   var div      = document.getElementById('sachabrandsmenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -161, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-161px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-161, .5);
  	           
  	       }
   }
}
 function init_sachabg()
 {
   var div      = document.getElementById('sachabg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -192, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-192px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-192, .5);
  	           
  	       }
   }
}
 function init_prodbg()
 {
   var div      = document.getElementById('prodbg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -208, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-208px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-208, .5);
  	           
  	       }
   }
}

function init_tweens()
{
 init_prodbg();
 init_sachabg();
 init_sachabrandsmenu();
 init_chefsbg();
 init_chefsgearmenu();
 init_apronsbg();
 init_aprontypesmenu();
 init_napkinsbg();
 init_napkinsmenu();
 init_tableclothsbg();
 init_tableclothsmenu();
 init_productsmenu();
 init_bgform();
 init_enquiryformform();
 init_closebutton();
}
