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 = "../images/ok_asagi.gif";
   }
   else
   {
       objMenu.style.display = "none";
       objImage.src = "../images/OKTEK.gif";
   }
}

/////////////////////////////////////////////////////////////////////////////
///
/// <function>
/// <name>fnPrint</name>
/// <summary>
/// Added 9/5/01 to accomodate Print Friendly fix.  Used to expand
/// any collapsed content and then print the page.
/// </summary>
/// </function>
///
/////////////////////////////////////////////////////////////////////////////

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