function setTabs() {
currentTab = 2; /* starting tabindex */
/*set the tab order for the breadCrumb*/
if (document.getElementById("breadCrumb")) {
	navRoot = document.getElementById("breadCrumb");
	alltags = navRoot.getElementsByTagName("a");
	for (i=0; i<alltags.length; i++) {
	      var attr=document.createAttribute('tabindex');
		  attr.value = currentTab;
		  ++currentTab;
		  alltags[i].attributes.setNamedItem(attr);
		}
	}
/*set the tab order for anchor tags in body*/
if (document.getElementById("body")) {
	navRoot = document.getElementById("body");
	alltags = navRoot.getElementsByTagName("a");
	for (i=0; i<alltags.length; i++) {
	      var attr=document.createAttribute('tabindex');
		  attr.value = currentTab;
		  ++currentTab;
		  alltags[i].attributes.setNamedItem(attr);
		}
	}

/*set the tab order for the sub menu items of open menus*/
if (document.getElementById("navleft")) {
	navRoot = document.getElementById("navleft");
	alltags = navRoot.getElementsByTagName("ul");
	for (i=1; i<alltags.length; i++) {
      if (alltags[i].currentStyle)
	     var topStyle = alltags[i].currentStyle.top ;
      else if (document.defaultView)
	  {
	     var topStyle = document.defaultView.getComputedStyle( alltags[i], null).getPropertyValue('top');
		 if (topStyle != "-850px") topStyle = "auto";
	  }

	   if (topStyle == "auto") {
            if (alltags[i].getAttribute("id") != 'otherResources')
             {
		    leftnavRoot = document.getElementById(alltags[i].getAttribute("id"));
			leftalltags = leftnavRoot.getElementsByTagName("a");
			for (ii=0; ii<leftalltags.length; ii++) {
 			      var attr=document.createAttribute('tabindex');
				  attr.value = currentTab;
				  ++currentTab;
				  leftalltags[ii].attributes.setNamedItem(attr);
				}
			}
              }
		}
	}

}