   function LoadImages()
   {
      image1 = new Image();
      image1.src = "images/menu-logo-glow.gif";

      image2 = new Image();
      image2.src = "images/menu-collection-glow.gif";

      image3 = new Image();
      image3.src = "images/menu-wholesale-glow.gif";

      image4 = new Image();
      image4.src = "images/menu-press-glow.gif";

      image5 = new Image();
      image5.src = "images/menu-contact-glow.gif";

      image6 = new Image();
      image6.src = "images/menu-about-glow.gif";

      image7 = new Image();
      image7.src = "images/menu-mascot-glow.gif";

      image8 = new Image();
      image8.src = "images/menu-search-glow.gif";
   }

   var newwindow;
   function poptastic(obj)
   {
      var full = obj.src;
      full = full.replace("/_", "/");
      newwindow=window.open (full, 'chat', 'height=350, width=500, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no')
      if (window.focus) {newwindow.focus()}
   }

   function popup(obj)
   {
      var full = obj.src;
      full = full.replace("/tn_", "/");
      newwindow=window.open (full, 'chat', 'height=350, width=500, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no')
      if (window.focus) {newwindow.focus()}
   }

   function loadMainImages()
   {
      img1on = new Image();
      img1on.src = "images/main-collection.jpg";
      img1off = new Image();
      img1off.src = "images/main-collection-faded.jpg";
      img1centeron= new Image();
      img1centeron.src ="images/main-collection-text.gif";
      imgcenteroff = new Image();
      imgcenteroff.src = "images/main-logo-black.gif";

      img2on = new Image();
      img2on.src = "images/main-wholesale.jpg";
      img2off = new Image();
      img2off.src = "images/main-wholesale-faded.jpg";
      img2centeron= new Image();
      img2centeron.src ="images/main-wholesale-text.gif";

      img3on = new Image();
      img3on.src = "images/main-press.jpg";
      img3off = new Image();
      img3off.src = "images/main-press-faded.jpg";
      img3centeron= new Image();
      img3centeron.src ="images/main-press-text.gif";

      img4on = new Image();
      img4on.src = "images/main-contact.jpg";
      img4off = new Image();
      img4off.src = "images/main-contact-faded.jpg";
      img4centeron= new Image();
      img4centeron.src ="images/main-contact-text.gif";

      img5on = new Image();
      img5on.src = "images/main-about.jpg";
      img5off = new Image();
      img5off.src = "images/main-about-faded.jpg";
      img5centeron= new Image();
      img5centeron.src ="images/main-about-text.gif";

      img6on = new Image();
      img6on.src = "images/main-mascot.jpg";
      img6off = new Image();
      img6off.src = "images/main-mascot-faded.jpg";
      img6centeron= new Image();
      img6centeron.src ="images/main-mascot-text.gif";

      img7on = new Image();
      img7on.src = "images/main-search.jpg";
      img7off = new Image();
      img7off.src = "images/main-search-faded.jpg";
      img7centeron= new Image();
      img7centeron.src ="images/main-search-text.gif";
   }

   function imgOn(imgName) 
   {
      if (document.images) 
      {
         document[imgName].src = eval(imgName + "on.src");
      }
   }

   function imgOff(imgName) 
   {
      if (document.images) 
      {
         document[imgName].src = eval(imgName + "off.src");
      }
   }

   function imgCenterOn(imgName) 
   {
      if (document.images) 
      {
         document['centerimage'].src = eval(imgName + "centeron.src");
      }
   }

   function imgCenterOff(imgName)
   {
      if (document.images) 
      {
         document['centerimage'].src = "images/main-logo-text.gif";
      }
   }

   function populateCategoryOrder() 
   {
      document.getElementById('rank').value = Sortable.serialize('categoryOrder');
      return true;
   }
      
   function populateItemOrder() 
   {
      document.getElementById('rank').value = Sortable.serialize('itemOrder');
      return true;
   }
       
   function populateOrder(target) 
   {
      document.getElementById('rank').value = Sortable.serialize(target);
      return true;
   }
      
   function toggle(elemId) 
   {
      if (document.getElementById("elemId").style.backgroundColor=='#ccccff')
      {
         document.getElementById("elemId").style.backgroundColor = '#ffffff';
      } else
      {
         document.getElementById("elemId").style.backgroundColor = '#ccccff';
      }
   }

