function general_alert( name, valueof )
{

   alert(name + " = " + valueof );

}

   var menualerts = 0;
   var e;
   var menuNum;
   var mname;
   var objname;
   var id;
   var xx;

      var isNavPC;
      var isNavMac;
      var isIEMac;
      var isIEPC;
      var isNav6;

      var isLayers;
      var isDivs;
      var isOther;

      var isIEMac5;
      var isIEMac4;

      var coll = "";
      var stylo = "";

      var x, y;
      var changeY = 143;
      var baseY = changeY;
      var startY = changeY;
      if (isIEMac5) { startY -= 127; }
      var yy = 0;

      mName = new Array();
      menuX1 = new Array();
      menuY1 = new Array();
      menuX2 = new Array();
      menuY2 = new Array();
      menuX3 = new Array();
      menuY3 = new Array();

      mName[1] = "mservices";
      menuX1[1] = 168;
      menuY1[1] = 107;
      menuX2[1] = 351;
      menuY2[1] = 230;

      menuX3[1] = 300;
      menuY3[1] = 128;

   if (window.homepage)
      {
      menuY1[1] = 123;
      menuY2[1] = 246;
      menuY3[1] = 143;
      }

      mName[2] = "msiteguide";
      menuX1[2] = 299;
      menuY1[2] = 107;
      menuX2[2] = 484;
      menuY2[2] = 305;

      menuX3[2] = 388;
      menuY3[2] = 128;

   if (window.homepage)
      {
      menuY1[2] = 107;
      menuY2[2] = 321;
      menuY3[2] = 143;
      }

      mName[0] = "mindex";
      menuX1[0] = 88;
      menuY1[0] = 107;
      menuX2[0] = 601;
      menuY2[0] = 144;
      menuX3[0] = 601;
      menuY3[0] = 88;

      var mflag = false;
      var mNum = -1;

function articlerollovers() {

   out=new Image;
   over=new Image;

   out.src='/images/content_bullet_out.gif';
   over.src='/images/content_bullet_over.gif';

   popout=new Image;
   popover=new Image;

   popout.src='/images/sidenav_arrow_out.gif';
   popover.src='/images/sidenav_arrow_over.gif';

   var highlightvalue="blue";

   }

function setbrowser() {

   if (parseInt(navigator.appVersion) >= 4) {
      isNav6 = ((parseInt(navigator.appVersion) >= 5) && (navigator.appName == "Netscape"));
      isNavMac = ((navigator.appName == "Netscape") && (navigator.platform.indexOf("Mac") != -1) && (!isNav6));
      isNavPC = ((navigator.appName == "Netscape") && (navigator.platform.indexOf("Win") != -1) && (!isNav6));
      isIEMac = ((navigator.appName.indexOf("Microsoft") != -1) && (navigator.platform.indexOf("Mac") != -1));
      isIEPC = ((navigator.appName.indexOf("Microsoft") != -1) && (navigator.platform.indexOf("Win") != -1));

   isLayers = ((isNavPC) || (isNavMac));
   isDivs = ((isIEPC) || (isIEMac));
   isOther = ((!isLayers) && (!isDivs));

   isIEMac5 = ((isIEMac) && (navigator.userAgent.indexOf("5.0") != -1));
   isIEMac4 = ((isIEMac) && (!isIEMac5));

   if (isDivs) {
      coll = "all.";
      stylo = ".style";
      }
   }

      if (isNavPC) { document.write('<LINK REL="stylesheet" HREF="/css/navpc.css" TYPE="text/css">'); }

      else { document.write('<LINK REL="stylesheet" HREF="/css/notnavpc.css" TYPE="text/css">'); }

   }

function init() {
   mflag = true;

	if (!isOther) {
      if (isLayers) { document.captureEvents(Event.MOUSEMOVE); }
         document.onmousemove = whereami;
      if (!window.homepage && !isIEMac4) { setInterval("floater()", 200); }

	}
   }

function floater() {
	if (isLayers) { y = self.pageYOffset; }

	if (isDivs) {
      if (document.body.scrollTop) y = document.body.scrollTop
      else y=0;
   }

	if (y != yy) {
      changeY = Math.max(baseY-y,10);
      moveobj("floater",17,y+changeY);
      yy = y;
	}

   }

function floatalert() {
	alert(
      "function floater()\n" +
      "yy = " + yy + "\n" +
      "y+changeY = " + y+changeY + "\n" +
      "y = " + y + "\n" +
      "this is function floatalert()" );
   }

function whereami(e) {
   if (mNum == -1) { return; }

   if (isLayers) { x = e.pageX; y = e.pageY;}

   if (isDivs) {
      x = event.clientX + document.body.scrollLeft;
      y = event.clientY + document.body.scrollTop;
   }

   if ((( x > menuX3[mNum]) && ( y < menuY3[mNum])) || ((x < menuX1[mNum]) || (x > menuX2[mNum]) || (y < menuY1[mNum]) || (y > menuY2[mNum])))
   {
      hidez(mName[0]);
      hidez(mName[1]);
      hidez(mName[2]);
      mNum = -1;
	}

   }

function menuOn(menuNum) {
   if (!mflag) return;

   for (i=0; i<3; i++) {
      if (i != menuNum) { hidez(mName[i]); }
	}

   showz(mName[menuNum]);

   }

function showz(mname) {
   var obj = makeobj(mname);

	if (isLayers) { obj.visibility = "show"; }
   else if (isDivs) { obj.visibility = "visible"; }
   return false;

   }

function hidez(mname) {

	var obj = makeobj(mname);
	if (isLayers) { obj.visibility = "hide"; }
   else if (isDivs) { obj.visibility = "hidden"; }

   if (menualerts==1) alert("obj.visibility = " + obj.visibility)

   }

function makeobj(objname) {
   var newobj;

   if (typeof objname == "string")
      { newobj = eval("document." + coll + objname + stylo); }
   else
      { newobj = objname; }

	return newobj;

   }

function moveobj(objname,xx,yy) {
   var newobj = makeobj(objname);

	if (isLayers) { newobj.pageX = xx; newobj.pageY = yy; }
   else { newobj.left = xx; newobj.top = yy; }

   }

function overoutimages() {
   if (!isOther) {

      var newSrc;

         sitemap_OVER = new Image();
         sitemap_OVER.src = "/images/menu_bar_map_over.gif";

         classifieds_OVER = new Image();
         classifieds_OVER.src = "/images/menu_bar_classifieds_over.gif";

         pharm_OVER = new Image();
         pharm_OVER.src = "/images/menu_sub_subscr_over.gif";

         past_OVER = new Image();
         past_OVER.src = "/images/menu_top_past_iss_over.gif";

         search_OVER = new Image();
         search_OVER.src = "/images/menu_top_search_over.gif";

         acponline_OVER = new Image();
         acponline_OVER.src = "/images/acp_asim_online_over.gif";

         acppns_OVER = new Image();
         acppns_OVER.src = "/images/acp_asim_ps_over.gif";

         toc_OVER = new Image();
         toc_OVER.src = "/images/menu_top_crnt_toc_over.gif";

         cbullet_OVER = new Image();
         cbullet_OVER.src = "/images/content_bullet_over.gif";

         abullet_OVER = new Image();
         abullet_OVER.src = "/images/menuarrow_over.gif";

         lbullet_OVER = new Image();
         lbullet_OVER.src = "/images/sidenav_arrow_over.gif";

         ftbulle_OVER = new Image();
         ftbulle_OVER.src = "/images/fulltext_over.gif";

         subscribe_OVER = new Image();
         subscribe_OVER.src = "/images/menu_top_subscribe_over.gif";

         tbullet_OVER = new Image();
         tbullet_OVER.src = "/images/arrow_left_over.gif";

         figtablist_OVER = new Image();
         figtablist_OVER.src = "/images/ft_list_over.gif";

         fulltext_OVER = new Image();
         fulltext_OVER.src = "/images/ft_fulltext_over.gif";

         winprint_OVER = new Image();
         winprint_OVER.src = "/images/ft_print_over.gif";

         bbullet_OVER = new Image();
         bbullet_OVER.src = "/images/content_bullet_2_over.gif";

         bigsubscribe_OVER = new Image();
         bigsubscribe_OVER.src = "/images/menu_topb_subscribe_over.gif";

         bigtoc_OVER = new Image();
         bigtoc_OVER.src = "/images/menu_topb_curr_toc_over.gif";

         bigpast_OVER= new Image();
         bigpast_OVER.src = "/images/menu_topb_past_iss_over.gif";

         bigsearch_OVER = new Image();
         bigsearch_OVER.src = "/images/menu_topb_search_over.gif";

      sitemap_OUT = new Image();
      sitemap_OUT.src = "/images/menu_bar_map_out.gif";

      classifieds_OUT = new Image();
      classifieds_OUT.src = "/images/menu_bar_classifieds_out.gif";

      pharm_OUT = new Image();
      pharm_OUT.src = "/images/menu_sub_subscr_out.gif";

      past_OUT = new Image();
      past_OUT.src = "/images/menu_top_past_iss_out.gif";

      search_OUT = new Image();
      search_OUT.src = "/images/menu_top_search_out.gif";

      acponline_OUT = new Image();
      acponline_OUT.src = "/images/acp_asim_online_out.gif";

      acppns_OUT = new Image();
      acppns_OUT.src = "/images/acp_asim_ps_out.gif";

      toc_OUT = new Image();
      toc_OUT.src = "/images/menu_top_crnt_toc_out.gif";

      cbullet_OUT = new Image();
      cbullet_OUT.src = "/images/content_bullet_out.gif";

      abullet_OUT = new Image();
      abullet_OUT.src = "/images/menuarrow_out.gif";

      lbullet_OUT = new Image();
      lbullet_OUT.src = "/images/sidenav_arrow_out.gif";

      ftbulle_OUT = new Image();
      ftbulle_OUT.src = "/images/fulltext_out.gif";

      subscribe_OUT = new Image();
      subscribe_OUT.src = "/images/menu_top_subscribe_out.gif";

      tbullet_OUT = new Image();
      tbullet_OUT.src = "/images/arrow_left_out.gif";

      figtablist_OUT = new Image();
      figtablist_OUT.src = "/images/ft_list_out.gif";

      fulltext_OUT = new Image();
      fulltext_OUT.src = "/images/ft_fulltext_out.gif";

      winprint_OUT = new Image();
      winprint_OUT.src = "/images/ft_print_out.gif";

      bbullet_OUT = new Image();
      bbullet_OUT.src = "/images/content_bullet_2_out.gif";

      bigsubscribe_OUT = new Image();
      bigsubscribe_OUT.src = "/images/menu_topb_subscribe_out.gif";

      bigtoc_OUT = new Image();
      bigtoc_OUT.src = "/images/menu_topb_curr_toc_out.gif";

      bigpast_OUT = new Image();
      bigpast_OUT.src = "/images/menu_topb_past_iss_out.gif";

      bigsearch_OUT = new Image();
      bigsearch_OUT.src = "/images/menu_topb_search_out.gif";

      }

   }

function ImageOver(id) {
	if (!isOther) {
      if (id.indexOf('bullet') != -1)
         { newSrc = id.substring(0,7); }
      else { newSrc = id; }
      document[id].src = eval(newSrc + '_OVER.src');
	}

   if (menualerts==1) alert ("function ImageOver(id)\n  The value of id is: " + id + "\n  The value of newSrc is: " +newSrc + "\n  The value of id.indexOf('bullet') is " + id.indexOf('bullet'));
   }

function ImageOut(id) {
	if (!isOther) {
		if (id.indexOf('bullet') != -1)
         { newSrc = id.substring(0,7); }
      else { newSrc = id; }
		document[id].src = eval(newSrc + '_OUT.src');
	}
   }

   function Redraw() {
      if (!window.saveInnerWidth) {
         window.onresize = resize;
         window.saveInnerWidth = window.innerWidth;
         window.saveInnerHeight = window.innerHeight;
      }
   }

   function resize() {
      if (saveInnerWidth != window.innerWidth || saveInnerHeight != window.innerHeight)
         { window.history.go(0); }
      }

function floatingnavmenu() {
   var completefilepath = document.URL;
   var lastslash = completefilepath.lastIndexOf("/");
   var lastpound = completefilepath.lastIndexOf("#");
   var lastperiod = completefilepath.lastIndexOf(".");
   var extension = completefilepath.lastIndexOf(".htm");
   var just_the_file_name = completefilepath.substring(lastslash+1);
   var file_name_no_ext = completefilepath.substring(lastslash+1,extension);

   var floater_menu="";
   var filepath = document.URL;
   var iscontent = filepath.indexOf("Content")
   var tablefig_floater = "";
   var pdf_floater = "";
   var related_floater = "";
   var editorial_floater = "";
   var indent_shim = "";
   var iseditorial = "";

   if (filepath.indexOf("editorials")!= -1)
      { iseditorial="1" }

   if (filepath.indexOf("Content")!= -1 && filepath.indexOf("editorials")== -1) {
      editorial_floater += '<img src="/images/menu_flt_line.gif" width="93" height="9" border="0"><br>';

      editorial_floater += '<a href="/index.htm" onMouseOut="ImageOut(&#039;lbullet_101&#039;)"  onMouseOver="ImageOver(&#039;lbullet_101&#039;)"><img name="lbullet_101" src="/images/sidenav_arrow_out.gif" alt="Journal Club Home Page" width="15" height="9" border="0" vspace="3"></a><a href="/index.htm" onMouseOut="ImageOut(&#039;lbullet_101&#039;)" onMouseOver="ImageOver(&#039;lbullet_101&#039;)"><img src="/images/menu_flt_hand_home.gif" alt="Journal Club Home Page" width="26" height="9" border="0" vspace="3"></a><br>';

      editorial_floater += '<a href="/Content/editorials/index.htm" onMouseOut="ImageOut(&#039;lbullet_98&#039;)"  onMouseOver="ImageOver(&#039;lbullet_98&#039;)"><img name="lbullet_98" src="/images/sidenav_arrow_out.gif" alt="Editorials" width="15" height="9" border="0" vspace="3"></a><a href="/Content/editorials/index.htm" onMouseOut="ImageOut(&#039;lbullet_98&#039;)" onMouseOver="ImageOver(&#039;lbullet_98&#039;)"><img src="/images/menu_flt_hand_editorials.gif" alt="Editorials" width="44" height="9" border="0" vspace="3"></a><br>';

      editorial_floater += '<a href="/Content/editorials/index.htm#reso" onMouseOut="ImageOut(&#039;lbullet_99&#039;)"  onMouseOver="ImageOver(&#039;lbullet_99&#039;)"><img name="lbullet_99" src="/images/sidenav_arrow_out.gif" alt="Resource Corner" width="15" height="9" border="0" vspace="3"></a><a href="/Content/editorials/index.htm#reso" onMouseOut="ImageOut(&#039;lbullet_99&#039;)" onMouseOver="ImageOver(&#039;lbullet_99&#039;)"><img src="/images/menu_flt_hand_rescorner.gif" alt="Resource Corner" width="78" height="9" border="0" vspace="3"></a><br>';

      editorial_floater += '<a href="/shared/glossary.htm" onMouseOut="ImageOut(&#039;lbullet_100&#039;)"  onMouseOver="ImageOver(&#039;lbullet_100&#039;)"><img name="lbullet_100" src="/images/sidenav_arrow_out.gif" alt="Glossary" width="15" height="9" border="0" vspace="3"></a><a href="/shared/glossary.htm" onMouseOut="ImageOut(&#039;lbullet_100&#039;)" onMouseOver="ImageOver(&#039;lbullet_100&#039;)"><img src="/images/menu_flt_hand_glossary.gif" alt="Glossary" width="41" height="9" border="0" vspace="3"></a><br>';

   }

     if (window.related && related!="") {

     editorial_floater += '<a href="' + file_name_no_ext + '-rc.html" onMouseOut="ImageOut(&#039;lbullet_9999&#039;)"  onMouseOver="ImageOver(&#039;lbullet_9999&#039;)"><img name="lbullet_9999" src="/images/sidenav_arrow_out.gif" alt="Related ACP Content" width="15" height="9" border="0" vspace="3"></a><a href="' + file_name_no_ext + '-rc.html" onMouseOut="ImageOut(&#039;lbullet_9999&#039;)" onMouseOver="ImageOver(&#039;lbullet_9999&#039;)"><img src="/images/menu_flt_hand_related.gif" alt="Related ACP Content" width="98" height="9" border="0" vspace="3"></a><br>';

     }

   if (window.tablefig && tablefig!="") {

      tablefig_floater += '<a href="#" onClick=tablefigpop(\'' + tablefig + '\',0)  onMouseOut="ImageOut(&#039;lbullet_999&#039;)"  onMouseOver="ImageOver(&#039;lbullet_999&#039;)"><img name="lbullet_999" src="/images/sidenav_arrow_out.gif" alt="Figures/Tables List" width="15" height="9" border="0" vspace="3"></a><a href="#" onClick=tablefigpop(\'' + tablefig + '\',0) onMouseOut="ImageOut(&#039;lbullet_999&#039;)" onMouseOver="ImageOver(&#039;lbullet_999&#039;)"><img src="/images/menu_flt_figs_tables.gif" alt="Figures/Tables List" width="95" height="9" border="0" vspace="3"></a><br>';

   }

   if (window.pdf && pdf!="") {

   pdf_floater += '<a href="/Content/pdf/' + file_name_no_ext + '.pdf"' + ' onMouseOut="ImageOut(&#039;lbullet_9999&#039;)"  onMouseOver="ImageOver(&#039;lbullet_9999&#039;)"><img name="lbullet_9999" src="/images/sidenav_arrow_out.gif" alt="PDF" width="15" height="9" border="0" vspace="3"></a><a href="/Content/pdf/' + file_name_no_ext + '.pdf"' + ' onMouseOut="ImageOut(&#039;lbullet_9999&#039;)" onMouseOver="ImageOver(&#039;lbullet_9999&#039;)"><img src="/images/menu_flt_art_pdf.gif" alt="PDF" width="21" height="9" border="0" vspace="3"></a><br>';

   }

   for (count = 1 ; count<floatitems.length+1 ; count++) {

      menu_graphic = ""
      menu_graphic_width = ""

   if (floatitems[count-1] == "Therapeutics") {
      menu_graphic = "menu_flt_toc_ther_pagetop.gif";
      menu_graphic_width = "112";
      floatitems[count-1] = "Start"
      }

   else if (floatitems[count-1] == "Diagnosis")
   {
      menu_graphic = "menu_flt_toc_diag.gif";
      menu_graphic_width = "40";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Etiology")
   {
      menu_graphic = "menu_flt_toc_etio.gif";
      menu_graphic_width = "35";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Resource Corner")
   {
      menu_graphic = "menu_flt_toc_reso.gif";
      menu_graphic_width = "75";
      indent_shim = "";
    }

   else if (floatitems[count-1] == "Start")
   {
      menu_graphic = "menu_flt_art_start.gif";
      menu_graphic_width = "40";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Commentary")
   {
      menu_graphic = "menu_flt_art_commentary.gif";
      menu_graphic_width = "55";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "References")
   {
      menu_graphic = "menu_flt_art_references.gif";
      menu_graphic_width = "50";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Table")
   {
      menu_graphic = "menu_flt_art_table.gif";
      menu_graphic_width = "23";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Clinical Prediction Guide")
   {
      menu_graphic = "menu_flt_toc_clinpred.gif";
      menu_graphic_width = "102";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Differential Diagnosis")
   {
      menu_graphic = "menu_flt_toc_diffdiag.gif";
      menu_graphic_width = "92";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Economics")
   {
      menu_graphic = "menu_flt_toc_econ.gif";
      menu_graphic_width = "46";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Health Economics")
   {
      menu_graphic = "menu_flt_toc_healecon.gif";
      menu_graphic_width = "76";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Letter")
   {
      menu_graphic = "menu_flt_toc_lett.gif";
      menu_graphic_width = "25";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Letters")
   {
      menu_graphic = "menu_flt_toc_letts.gif";
      menu_graphic_width = "30";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Prognosis")
   {
      menu_graphic = "menu_flt_toc_prog.gif";
      menu_graphic_width = "42";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Quality Assurance")
   {
      menu_graphic = "menu_flt_toc_qualassu.gif";
      menu_graphic_width = "78";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Quality Improvement")
   {
      menu_graphic = "menu_flt_toc_qualimpr.gif";
      menu_graphic_width = "90";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "using")
   {
      menu_graphic = "menu_flt_hand_using.gif";
      menu_graphic_width = "85";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "searching")
   {
      menu_graphic = "menu_flt_hand_searching.gif";
      menu_graphic_width = "41";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "access")
   {
      menu_graphic = "menu_flt_hand_access.gif";
      menu_graphic_width = "101";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "therapeuticshand")
   {
      menu_graphic = "menu_flt_hand_ther.gif";
      menu_graphic_width = "55";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "diagnosishand")
   {
      menu_graphic = "menu_flt_hand_diag.gif";
      menu_graphic_width = "40";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "etiologyhand")
   {
      menu_graphic = "menu_flt_hand_etiology.gif";
      menu_graphic_width = "35";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "computersearchhand")
   {
      menu_graphic = "menu_flt_hand_compsrch.gif";
      menu_graphic_width = "73";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "A-C")
   {
      menu_graphic = "menu_flt_hand_a2c.gif";
      menu_graphic_width = "17";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "E-L")
   {
      menu_graphic = "menu_flt_hand_e2l.gif";
      menu_graphic_width = "17";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "P-Z")
   {
      menu_graphic = "menu_flt_hand_p2z.gif";
      menu_graphic_width = "17";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2010")
   {
      menu_graphic = "menu_flt_hand_2010.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2009")
   {
      menu_graphic = "menu_flt_hand_2009.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2008")
   {
      menu_graphic = "menu_flt_hand_2008.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2007")
   {
      menu_graphic = "menu_flt_hand_2007.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2006")
   {
      menu_graphic = "menu_flt_hand_2006.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2005")
   {
      menu_graphic = "menu_flt_hand_2005.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2004")
   {
      menu_graphic = "menu_flt_hand_2004.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2003")
   {
      menu_graphic = "menu_flt_hand_2003.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2002")
   {
      menu_graphic = "menu_flt_hand_2002.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2001")
   {
      menu_graphic = "menu_flt_hand_2001.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "2000")
   {
      menu_graphic = "menu_flt_hand_2000.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "1999")
   {
      menu_graphic = "menu_flt_hand_1999.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "1998")
   {
      menu_graphic = "menu_flt_hand_1998.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "1997")
   {
      menu_graphic = "menu_flt_hand_1997.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "1996")
   {
      menu_graphic = "menu_flt_hand_1996.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "1995")
   {
      menu_graphic = "menu_flt_hand_1995.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "1994")
   {
      menu_graphic = "menu_flt_hand_1994.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "1993")
   {
      menu_graphic = "menu_flt_hand_1993.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "1992")
   {
      menu_graphic = "menu_flt_hand_1992.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "1991")
   {
      menu_graphic = "menu_flt_hand_1991.gif";
      menu_graphic_width = "20";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "Editorial")
   {
      menu_graphic = "menu_flt_toc_editorials.gif";
      menu_graphic_width = "44";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "lted")
   {
      menu_graphic = "menu_flt_latest_editorial.gif";
      menu_graphic_width = "115";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "ltrc")
   {
      menu_graphic = "menu_flt_latest_resource_corners.gif";
      menu_graphic_width = "115";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "pteditorials")
   {
      menu_graphic = "menu_flt_past_editorials.gif";
      menu_graphic_width = "69";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "ptrcorner")
   {
      menu_graphic = "menu_flt_past_resource_corners.gif";
      menu_graphic_width = "108";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "lteditorials")
   {
      menu_graphic = "menu_flt_latest_editorial.gif";
      menu_graphic_width = "115";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "ltresourcecorner")
   {
      menu_graphic = "menu_flt_latest_rescorner.gif";
      menu_graphic_width = "102";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "jcabout")
   {
      menu_graphic = "menu_flt_aboutacpjc.gif";
      menu_graphic_width = "104";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "ebmabout")
   {
      menu_graphic = "menu_flt_nature.gif";
      menu_graphic_width = "103";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "inmemoriam")
   {
      menu_graphic = "menu_flt_memoriam.gif";
      menu_graphic_width = "103";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "resabout")
   {
      menu_graphic = "menu_flt_research_methods.gif";
      menu_graphic_width = "80";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "anaabout")
   {
      menu_graphic = "menu_flt_analysis.gif";
      menu_graphic_width = "98";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "traabout")
   {
      menu_graphic = "menu_flt_transfer.gif";
      menu_graphic_width = "92";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "eduabout")
   {
      menu_graphic = "menu_flt_education.gif";
      menu_graphic_width = "91";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "eviabout")
   {
      menu_graphic = "menu_flt_inforesources.gif";
      menu_graphic_width = "97";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "decabout")
   {
      menu_graphic = "menu_flt_decision.gif";
      menu_graphic_width = "69";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "past_resource_corner")
   {
      menu_graphic = "menu_flt_past_rescorners.gif";
      menu_graphic_width = "98";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "smpt")
   {
      menu_graphic = "menu_flt_sitemap-top.gif";
      menu_graphic_width = "92";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "directlinks")
   {
      menu_graphic = "menu_flt_directlinks.gif";
      menu_graphic_width = "56";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "jcabout")
   {
      menu_graphic = "menu_flt_aboutacpjc.gif";
      menu_graphic_width = "104";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "reachus")
   {
      menu_graphic = "menu_flt_reachus.gif";
      menu_graphic_width = "50";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "help")
   {
      menu_graphic = "menu_flt_help.gif";
      menu_graphic_width = "21";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "tech")
   {
      menu_graphic = "menu_flt_technical.gif";
      menu_graphic_width = "43";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "content")
   {
      menu_graphic = "menu_flt_edit-cont.gif";
      menu_graphic_width = "78";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "acce")
   {
      menu_graphic = "menu_flt_subs-adv.gif";
      menu_graphic_width = "90";
      indent_shim = "<img src=\"/images/float_indent_shim.gif\">";
   }

   else if (floatitems[count-1] == "Annals")
   {
      menu_graphic = "menu_flt_art_related-annals.gif";
      menu_graphic_width = "71";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "JournalClub")
   {
      menu_graphic = "menu_flt_art_related-jc.gif";
      menu_graphic_width = "97";
      indent_shim = "";
   }

   else if (floatitems[count-1] == "PIER")
   {
      menu_graphic = "menu_flt_art_related-pier.gif";
      menu_graphic_width = "63";
      indent_shim = "";
   }

  else if (floatitems[count-1] == "MKSAP")
   {
      menu_graphic = "menu_flt_art_related-mksap.gif";
      menu_graphic_width = "74";
      indent_shim = "";
   }

   if (menu_graphic!="" && menu_graphic_width!="") {

   floater_menu += indent_shim + '<a href="#' + floatitems[count-1].substring(0,4) + '" onMouseOut="ImageOut(&#039;lbullet_' + count + '&#039;)" onMouseOver="ImageOver(&#039;lbullet_' + count + '&#039;)"><img name="lbullet_' + count + '" src="/images/sidenav_arrow_out.gif" alt="' + floatitems[count-1] + '" width="15" height="9" border="0" vspace="3"></a><a href="#' + floatitems[count-1].substring(0,4) + '" onMouseOut="ImageOut(&#039;lbullet_' + count + '&#039;)" onMouseOver="ImageOver(&#039;lbullet_' + count + '&#039;)"><img src="/images/' + menu_graphic + '" alt="' + floatitems[count-1] + '" width="' + menu_graphic_width + '" height="9" border="0" vspace="3"></a><br>';

   }

   }

   if (isLayers) { document.write('<layer name="floater" left=17 top=143 z-index=15 visibility="visible">' + floater_menu + tablefig_floater + pdf_floater + related_floater + editorial_floater + '</layer>'); } else if (isDivs && !isIEMac4) { document.write('<div id="floater" style="position:absolute; left:17; top:143; z-index:15; visibility:visible">' + floater_menu + tablefig_floater + pdf_floater +  related_floater + editorial_floater + '</div>'); } else { document.write(floater_menu + tablefig_floater + pdf_floater +  related_floater + editorial_floater); }

   }

function servicesmenu() {
      if (!isOther) {
         var services_menu = '';

         services_menu += '<img src="/images/menu_bar_about_acp_over.gif" width="132" height="21" border="0" alt="About ACP Journal Club" hspace="12">';

         services_menu += '<table cellpadding=0 cellspacing=0 border=0 width=206><tr>';

         services_menu += '<td width=12 bgcolor="#ffffff"><img src="/images/shim.gif" alt="" width="12" height="1" hspace="0" vspace="0" border="0"></td>';

         services_menu += '<td width=182><img src="/images/dot_153255226.gif" width=182 height=1 alt="" border="0"><br>';

         services_menu += '<a href="/shared/purpose_and_procedure.htm" onMouseOut="ImageOut(&#039;abullet_00&#039;);"  onMouseOver="ImageOver(&#039;abullet_00&#039;);"><img name="abullet_00" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_welcome.gif" width="168" height="18" border="0" alt="Welcome"></a><br>';

         services_menu += '<a href="/shared/about_stars.htm" onMouseOut="ImageOut(&#039;abullet_89&#039;);"  onMouseOver="ImageOver(&#039;abullet_89&#039;);"><img name="abullet_89" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_stars.gif" width="168" height="18" border="0" alt="About Star Ratings"></a><br>';

         services_menu += '<a href="/shared/editorial_staff.htm" onMouseOut="ImageOut(&#039;abullet_19&#039;);"  onMouseOver="ImageOver(&#039;abullet_19&#039;);"><img name="abullet_19" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_editorial_publish.gif" width="168" height="18" border="0" alt="Editorial and Publishing Staff"></a>';

         services_menu += '<a href="/shared/editorial_policy.htm" onMouseOut="ImageOut(&#039;abullet_12&#039;);"  onMouseOver="ImageOver(&#039;abullet_12&#039;);"><img name="abullet_12" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_copyright.gif" width="168" height="18" border="0" alt="Copyrights and Disclaimers"></a><br>';

         services_menu += '<a href="/shared/notices_and_corrections.htm" onMouseOut="ImageOut(&#039;abullet_16&#039;);"  onMouseOver="ImageOver(&#039;abullet_16&#039;);"><img name="abullet_16" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_notices.gif" width="168" height="18" border="0" alt="Notices and Corrections"></a><br>';

         services_menu += '<a href="/shared/how_to_cite.htm" onMouseOut="ImageOut(&#039;abullet_18&#039;);"  onMouseOver="ImageOver(&#039;abullet_18&#039;);"><img name="abullet_18" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_cite.gif" width="168" height="18" border="0" alt="How to Cite ACP Journal Club"></a>';

         services_menu += '<td width=12 bgcolor="#ffffff"><img src="/images/shim.gif" alt="" width="12" height="1" hspace="0" vspace="0" border="0"></td></tr>';

         services_menu += '<tr><td colspan=3 width=203 height=15 bgcolor="#ffffff"><img src="/images/shim.gif" alt="" width="1" height="15" hspace="0" vspace="0" border="0"></td></tr></table>';

         if (window.homepage)
            { services_menu_top="121"; }

         else
            { services_menu_top="105"; }

         if (isLayers)
            { document.write('<layer name="mservices" left=156 top=' + services_menu_top +  'z-index=15 visibility="hidden">' + services_menu + '</layer>'); }

         else if (isDivs) { document.write('<div id="mservices" style="position:absolute; left:156px; top:' + services_menu_top + 'px; z-index:15; visibility:hidden">' + services_menu + '</div>'); }

      }

   }

function siteguidemenu() {
   if (!isOther) {
      var siteguide_menu = '';

      siteguide_menu += '<img src="/images/menu_bar_contact_over.gif" width="87" height="21" border="0" alt="Contact Us" hspace="12" name="contactus">';

      siteguide_menu += '<table border="0" cellspacing="0" cellpadding="0" width="209"><tr><td width=12 bgcolor="#ffffff"><img src="/images/shim.gif" alt="" width="12" height="1" hspace="0" vspace="0" border="0"></td>';

      siteguide_menu += '<td align="left" bgcolor="#FFFFFF" width=200><img src="/images/dot_153255226.gif" width=175 height=1 alt="" border="0"><br>';

      siteguide_menu += '<a href="mailto:bhaynes@mcmaster.ca" onMouseOut="ImageOut(&#039;abullet_21&#039;);" onMouseOver="ImageOver(&#039;abullet_21&#039;);"><img name="abullet_21" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_letter_editor.gif" width="168" height="18" border="0" alt="Send Letter to Editor"></a><br>';

      siteguide_menu += '<a href="http://www.acponline.org/cgi-bin/feedback?dest=annals" onMouseOut="ImageOut(&#039;abullet_222&#039;);" onMouseOver="ImageOver(&#039;abullet_222&#039;);"><img name="abullet_222" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_contact.gif" width="168" height="18" border="0" alt="Contact Technical Staff"></a><br>';

      siteguide_menu += '<a href="/shared/commentator.htm" onMouseOut="ImageOut(&#039;abullet_22&#039;);" onMouseOver="ImageOver(&#039;abullet_22&#039;);"><img name="abullet_22" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_commentator.gif" width="168" height="18" border="0" alt="Become a Commentator"></a><br>';

      siteguide_menu += '<a href="http://www.acponline.org/catalog/journals/subs.html" onMouseOut="ImageOut(&#039;abullet_23&#039;);" onMouseOver="ImageOver(&#039;abullet_23&#039;);"><img name="abullet_23" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_subscribe.gif" width="168" height="18" border="0" alt="Subscribe to ACP Journal Club"></a><br>';

      siteguide_menu += '<a href="/shared/reprints.html" onMouseOut="ImageOut(&#039;abullet_25&#039;);" onMouseOver="ImageOver(&#039;abullet_25&#039;);"><img name="abullet_25" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_bulk_reprints.gif" width="168" height="18" border="0" alt="Order Bulk Reprints"></a><br>';

      siteguide_menu += '<a href="/shared/reproduce.html" onMouseOut="ImageOut(&#039;abullet_26&#039;);" onMouseOver="ImageOver(&#039;abullet_26&#039;);"><img name="abullet_26" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_repro_content.gif" width="168" height="18" border="0" alt="Reproduce/Republish Content"></a><br>';

      siteguide_menu += '<a href="http://www.acponline.org/journals/advert/index.html" onMouseOut="ImageOut(&#039;abullet_27&#039;);" onMouseOver="ImageOver(&#039;abullet_27&#039;);"><img name="abullet_27" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_prod_ad.gif" width="168" height="18" border="0" alt="Pharmaceutical Advertising"></a><br>';

      siteguide_menu += '<a href="http://www.acponline.org/careers/recruit/index.html#acpjc" onMouseOut="ImageOut(&#039;abullet_28&#039;);" onMouseOver="ImageOver(&#039;abullet_28&#039;);"><img name="abullet_28" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_recruit_ad.gif" width="168" height="18" border="0" alt="Non-Pharmaceutical Advertising"></a><br>';

      siteguide_menu += '<a href="/shared/other_services.htm" onMouseOut="ImageOut(&#039;abullet_29&#039;);" onMouseOver="ImageOver(&#039;abullet_29&#039;);"><img name="abullet_29" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_sub_other.gif" width="168" height="18" border="0" alt="Other Services"></a><br>';

      siteguide_menu += '</td><td width=12 bgcolor="#ffffff"><img src="/images/shim.gif" alt="" width="12" height="1" hspace="0" vspace="0" border="0"></td></tr>';

      siteguide_menu += '<tr><td colspan=3 width=176 height=15 bgcolor="#ffffff"><img src="/images/shim.gif" alt="" width="1" height="15" hspace="0" vspace="0" border="0"></td></tr></table>';

      if (window.homepage && homepage==1)
         { siteguidemenu_top="121"; }

      else
         { siteguidemenu_top="105"; }

      if (isLayers)
         { document.write('<layer name="msiteguide" left=288 top=' + siteguidemenu_top + ' z-index=15 visibility="hidden">' + siteguide_menu + '</layer>'); }

      else if (isDivs) { document.write('<div id="msiteguide" style="position:absolute; left:288px; top:' + siteguidemenu_top +'px; z-index:15; visibility:hidden">' + siteguide_menu + '</div>'); }
      }

   }

function indexmenu() {
      if (!isOther) {
      var index_menu = '';

      index_menu += '<img src="/images/menu_top_subscribe_over.gif" width=144 height=17 border=0 alt="Index" hspace=12>';

      index_menu += '<table cellpadding=0 cellspacing=0 border=0 width=168><tr><td width=12 bgcolor="#ffffff"><img src="/images/dot_255255255.gif" alt="" width=12 height=1 border=0></td>';

      index_menu += '<td width=156><img src="/images/dot_153255226.gif" width=144 height=1 alt="" border="0"><br>';

      index_menu += '<a href="/ai/ai.html" onMouseOut="ImageOut(&#039;abullet_1&#039;);"  onMouseOver="ImageOver(&#039;abullet_1&#039;)"><img name="abullet_1" src="/images/menuarrow_out.gif" width="14" height="18" border="0" alt=""><img src="/images/menu_top_auth_index.gif" width="130" height="18" border="0" alt="Author Index"></a></td></tr>';

      index_menu += '<tr><td colspan=2 bgcolor="#ffffff" width=168 height=15><img src="/images/dot_255255255.gif" alt="" width=1 height=15 border=0></td></tr></table>';

      if (isLayers)
         { document.write('<layer name="mindex" left=444 top=88 z-index=15 visibility="hidden">' + index_menu + '</layer>'); }

      else if (isDivs)
      { document.write('<div id="mindex" style="position:absolute; left:444px; top:88px; z-index:15; visibility:hidden">' + index_menu + '</div>'); }
      }
   }

function prevnext() {
   if (window.homepage && homepage==1)
      { document.write("<img src=\"/images/homepage_datecell_spacer.gif\" width=\"156\" height=\"1\" border=\"0\" alt=\"\"><br><font size=\"1\" color=\"#00000\" face=\"arial, sans-serif\" class=\"homepagedateline\">" + dateline + "</font>"); }

   else if (prev=="")
      document.write("<img src=\"/images/prevnext_none.gif\" alt=\"\" width=\"156\" height=\"21\" border=\"0\">");

   else { prevnext2(); }

   }

function prevnext2() {
   var completefilepath = document.URL;
   var lastslash = completefilepath.lastIndexOf("/");
   var just_the_file_name = completefilepath.substring(lastslash+1);

   var prev_last_slash = prev.lastIndexOf("/");
   var prev_is_index = prev.substring(prev_last_slash+1)

   var next_last_slash = next.lastIndexOf("/");
   var next_is_index = next.substring(next_last_slash+1)

   var index_page = 0
   var slash = ""

   if (prev_is_index == "index.htm" || next_is_index == "index.htm")
      {
         index_page = 1;
         slash = "/";
      }

   if (prev.substring(0,7)=="content" || next.substring(0,7)=="content")
      { slash = "/" ;}

   if (prev!="0.htm")
      document.write("<a href=\"" + slash + prev + "\"><img src=\"/images/prev_on.gif\" alt=\"Prev\" width=\"38\" height=\"21\" border=\"0\"></a>");
   else {
      document.write("<img src=\"/images/prev_off.gif\" alt=\"\" width=\"38\" height=\"21\" border=\"0\"></a>");
    }

   if (index_page!=1)
      document.write("<img src=\"/images/item_article.gif\" alt=\"Issue\" width=\"69\" height=\"21\" border=\"0\">");
   else {
      document.write("<img src=\"/images/item_issue.gif\" alt=\"Issue\" width=\"69\" height=\"21\" border=\"0\">");
   }

   if (next!="0.htm" && next!="")

      document.write("<a href=\"" + slash + next + "\"><img src=\"/images/next_on.gif\" alt=\"Next\" width=\"49\" height=\"21\" border=\"0\"></a>");
   else {
      document.write("<img src=\"/images/next_off.gif\" alt=\"\" width=\"49\" height=\"21\" border=\"0\"></a>");
   }

   }

function gotoc() {
   var completefilepath = document.URL;
   var lastslash = completefilepath.lastIndexOf("/");
   var lastpound = completefilepath.lastIndexOf("#");

   if (lastpound==-1)
      { lastpound=completefilepath.length; }

   var just_the_file_name = completefilepath.substring(lastslash+1,lastpound);

   if (window.obsolete && obsolete=="1")
      { document.write('<img src="/images/tagline.gif" width="305" height="16">'); }

   else if (just_the_file_name!="INDEX.HTM" && just_the_file_name!="index.htm" && just_the_file_name!="early_index.htm" && completefilepath.indexOf("shared")==-1 && completefilepath.indexOf("-A")==-1 && completefilepath.indexOf("related")==-1 && !window.errorpage)

   document.write('<img src="/images/shim.gif" alt="" width="60" height="1" border="0"><A href="index.htm" onMouseOut="ImageOut(&#039;tbullet&#039;);" onMouseOver="ImageOver(&#039;tbullet&#039;);"><img src="/images/toc_markertop.gif" alt="Table of Contents" width="86" height="9" border="0"><img name="tbullet" SRC="/images/arrow_left_out.gif" alt="" width="6" height="9" border="0"></A>' + "&nbsp;&nbsp;<b>" + dateline + "</b>");

   else if (completefilepath.indexOf("-A")!=-1 || document.URL.indexOf("editorials")!=-1)
      { document.write('<img src="/images/tagline.gif" width="305" height="16">'); }

   else if (document.URL.indexOf("shared")!=-1)
      { document.write('<img src="/images/tagline.gif" width="305" height="16">'); }

  else if (document.URL.indexOf("related")!=-1)
      { document.write('<img src="/images/tagline.gif" width="305" height="16">'); }

   else if (just_the_file_name=="INDEX.HTM" || just_the_file_name=="index.htm" || just_the_file_name=="early_index.htm")
      { document.write('<img src="/images/shim.gif" alt="" width="158" height="1" border="0">' + "<b>" + dateline + "</b>"); }

   }

function BACKUP_OF_gotoc() {
   var completefilepath = document.URL;
   var lastslash = completefilepath.lastIndexOf("/");
   var just_the_file_name = completefilepath.substring(lastslash+1);

   if (just_the_file_name!="INDEX.HTM" && just_the_file_name!="index.htm" && completefilepath.indexOf("shared")==-1)

       document.write('<img src="/images/shim.gif" alt="" width="60" height="1" border="0"><A href="index.html" onMouseOut="ImageOut(&#039;tbullet&#039;);" onMouseOver="ImageOver(&#039;tbullet&#039;);"><IMG src="/images/toc_markertop.gif" alt="Table of Contents" width="86" height="9" border="0"><IMG name="tbullet" SRC="/images/arrow_left_out.gif" ALT="" WIDTH="6" HEIGHT="9" BORDER="0"></A>' + "&nbsp;&nbsp;<b>" + dateline + "</b>");

       else {
           document.write('<img src="/images/shim.gif" alt="" width="158" height="1" border="0">' + "<b>" + dateline + "</b>");
       }

   }

function tablefigpop(url,evnt) {
   displayPopup(1,url,'jcpop',700,650,evnt);

   }

var version4 = (navigator.appVersion.charAt(0) == "4");
var popupHandle;

function closePopup() {
   if(popupHandle != null && !popupHandle.closed) popupHandle.close();
   }

function displayPopup(position,url,name,height,width,evnt) {

   var properties = "toolbar=no,location=no,height=" + height;
   properties = properties + ",width=" + width;
   var leftprop, topprop, screenX, screenY, cursorX, cursorY, padAmt;

   if(navigator.appName == "Microsoft Internet Explorer") {
      screenY = document.body.offsetHeight;
      screenX = window.screen.availWidth;
	}

   else {
      screenY = window.outerHeight
      screenX = window.outerWidth
	}

   if(position == 1)	{
      if(evnt != null){
         cursorX = evnt.screenX;
         cursorY = evnt.screenY;
		}

   else {
      cursorX = 10;
      cursorY = 10;
   }

   padAmtX = 2;
   padAmtY = 2;

   if( (cursorY + height + padAmtY) > screenY) {

      padAmtY = (-30) + (height * -1);

      }

   if( (cursorX + width + padAmtX) > screenX)	{
      padAmtX = (-30) + (width * -1);

      }

   if(navigator.appName == "Microsoft Internet Explorer") {
      leftprop = cursorX + padAmtX;
      topprop = cursorY + padAmtY;
      }

   else {
      leftprop = (cursorX - pageXOffset + padAmtX);
      topprop = (cursorY - pageYOffset + padAmtY);
      }
	}

   else {
      leftvar = (screenX - width) / 2;
      rightvar = (screenY - height) / 2;

      if(navigator.appName == "Microsoft Internet Explorer") {
         leftprop = leftvar;
         topprop = rightvar;
		}

   else {
      leftprop = (leftvar - pageXOffset);
      topprop = (rightvar - pageYOffset);
      }
	}

   properties = properties + ",left=" + leftprop;
   properties = properties + ",top=" + topprop;
   properties = properties + ",scrollbars=yes";
   properties = properties + ",resizable=yes";

   closePopup();
	popupHandle = open(url,name,properties).focus();

   }

function printwindow() {
   window.print()
   }

function popup_buttons() {

   if (document.URL.indexOf("_FT")!=-1) {
      document.write('<img src="/images/shim.gif" alt="" width="13" height="18" border="0"><a href="javascript:top.window.close()" onMouseOut="ImageOut(\'fulltext\');" onMouseOver="ImageOver(\'fulltext\');"><img name="fulltext" SRC="/images/ft_fulltext_out.gif" alt="Full Text" width="58" height="14" border="0"></a>')
   }

   else if (document.URL.indexOf("_FT")==-1 && list.indexOf("_FT")=="-1") {
      document.write('<img src="/images/shim.gif" alt="" width="13" height="18" border="0"><a href="javascript:top.window.close()" onMouseOut="ImageOut(\'fulltext\');" onMouseOver="ImageOver(\'fulltext\');"><img name="fulltext" SRC="/images/ft_fulltext_out.gif" alt="Full Text" width="58" height="14" border="0"></a><a href="#" onClick="printwindow()" onMouseOut="ImageOut(\'winprint\');" onMouseOver="ImageOver(\'winprint\');"><img name="winprint" src="/images/ft_print_out.gif" alt="Print" width="40" height="14" border="0"></a>')
   }

   else if (document.URL.indexOf("_FT")==-1 && list.indexOf("_FT")!="-1") {
      document.write('<img src="/images/shim.gif" alt="" width="13" height="18" border="0"><a href="javascript:top.window.close()" onMouseOut="ImageOut(\'fulltext\');" onMouseOver="ImageOver(\'fulltext\');"><img name="fulltext" src="/images/ft_fulltext_out.gif" alt="Full Text" width="58" height="14" border="0"></a><a href="' + list + '" onMouseOut="ImageOut(\'figtablist\');" onMouseOver="ImageOver(\'figtablist\');"><img name="figtablist" src="/images/ft_list_out.gif" alt="Figures/Tables List" width="124" height="14" border="0"></a> <a href="#" onClick="printwindow()" onMouseOut="ImageOut(\'winprint\');" onMouseOver="ImageOver(\'winprint\');"><img name="winprint" src="/images/ft_print_out.gif" alt="Print" width="40" height="14" border="0"></a>')
   }

   }

function tocinsert() {
   if (window.current && document.URL.indexOf("editorials")== -1)
      document.write("CURRENT TABLE OF CONTENTS")

   else if (document.URL.indexOf("editorials")== -1)
      document.write("TABLE OF CONTENTS")

   else
      document.write("EDITORIALS AND RESOURCE CORNER TABLE OF CONTENTS")

   }

function writecaption() {
   if (window.caption && caption!="") {
      var period=caption.indexOf(".");
      var beginning=caption.substring(0,period+1);
      var therest=caption.substring(period+1,caption.length);

      document.write("<font class=\"heading4blk\"><b>" + beginning + "</b></font>" + "<font class=\"textblack\">" + therest + "</font>");

   }

}


