function newitem(str)
{


   endDate = new Date(str);
   if (Date.parse(Date()) < Date.parse(endDate))
   {
       document.write('New!&nbsp;');
   }
}


function tierMenu(objMenu,objImage)
{
   if (objMenu.style.display == "none")
   {
       objMenu.style.display = "";
       objImage.src = "http://www.kids-in-mind.com/images/minus.jpg";
   }
   else
   {
       objMenu.style.display = "none";
       objImage.src = "http://www.kids-in-mind.com/images/plus.jpg";
   }
}

function fnPrint()
{
   if(oBD.majorVer >= 4)
   {
      try
      {
         if(oBD.browser == "MSIE")
         {
            for(i = 1;i < 4;i++)
            {
               var sSpanID = "menu" + i;
               var sCheck = eval(sSpanID).style.display;

               if(sCheck == 'none')
               {
                  var sImageID = "img" + i;
                  tierMenu(eval(sSpanID),eval(sImageID));
               }
            }
         }
         window.print();
      }
      catch(e)
      {
         alert('The attempt to print failed. Please use your browsers default print services.');
      }
   }
   else
   {
      alert("You are using a browser that is not supported by the Print button on this page. You can print this page by right-clicking within the article and selecting Print from the menu that appears.");
   }

} //end fnPrint