<!--
//function dbAdd(imagenum[random number must != any other number of items],hide[to show item = false],level[must = 0],image1[onLoad image],image2[onMouseOver Image],image3[when selected  onLoad image],image4[when selected onHover image],imageh[],imagew[],URL[URL],top[target],end[<BR> = break before image])
  // -- Enter Values Here --
    // Home level = 0 [1]
      dbAdd( "2" ,false,0, "home1.gif" , "home2.gif", "home3.gif", "home4.gif" , "18" , "145", "default.asp" ,"", "" )
    // About RDA Menu Parrent level = 0 [2]
      dbAdd( "3" ,false,0, "aboutrda1.gif" , "aboutrda2.gif", "aboutrda3.gif" , "aboutrda4.gif" , "18" , "145" , "aboutrda.asp" , "" , "<BR>" )
    // Products And Services Parrent Level = 0 [3]
      dbAdd( "8" ,false,0, "prod1.gif" , "prod2.gif", "prod3.gif" , "prod4.gif" , "18" , "145" , "products.asp" , "" , "<BR>" )
    // Industry Experience Parrent Level = 0 [4]
      dbAdd( "13" ,false,0, "indexp1.gif" , "indexp2.gif", "indexp3.gif" , "indexp4.gif" , "18" , "145" , "indexp.asp" , "" , "<BR>" )
    // Global Markets Parrent Level = 0 [5]
      dbAdd( "17" ,false,0, "globmar1.gif" , "globmar2.gif", "globmar3.gif" , "globmar4.gif" , "18" , "145" , "global_operations.asp" , "" , "<BR>" )
    // Focus Group Facilities Parrent Level = 0 [6]
      dbAdd( "22" ,false,0, "focgroup1.gif" , "focgroup2.gif", "focgroup3.gif" , "focgroup4.gif" , "18" , "145" , "focus.asp" , "" , "<BR>" )
    // Portfolio of Satisfied Customers
      dbAdd( "25" ,false,0, "posc1.gif" , "posc2.gif", "posc3.gif" , "posc4.gif" , "18" , "145" , "ar_portfolio.asp" , "" , "<BR>" )
    // Researchers Toolbox Parrent Level = 0 [7]
      dbAdd( "27" ,false,0, "toolbox1.gif" , "toolbox2.gif", "toolbox3.gif" , "toolbox4.gif" , "18" , "145" , "researchers_toolbox.asp" , "" , "<BR>" )
    // Careers Parrent Level = 0 [8]
      dbAdd( "29" ,false,0, "careers1.gif" , "careers2.gif", "careers3.gif" , "careers4.gif" , "18" , "145" , "careers.asp" , "" , "<BR>" )
    // Contact RDA Parrent Level = 0 [9]
      dbAdd( "32" ,false,0, "contact1.gif" , "contact2.gif", "contact3.gif" , "contact4.gif" , "18" , "145" , "contact.asp" , "" , "<BR>" )
    // Site Map Parrent Level = 0 [10]
      dbAdd( "33" ,false,0, "sitemap1.gif" , "sitemap2.gif", "sitemap3.gif" , "sitemap4.gif" , "18" , "145" , "sitemap.asp" , "" , "<BR>" )
    // Client Extranet Parrent Level = 0 [12]
      // dbAdd( "35" ,false,0, "client1.gif" , "client2.gif", "client3.gif" , "client4.gif" , "18" , "145" , "Extranet/login.asp" , "" , "<BR>" )
    // Email Parrent Level = 0 [13]
      // dbAdd( "36" ,false,0, "email1.gif" , "email2.gif", "email3.gif" , "email4.gif" , "18" , "145" , "email_frm.htm" , "_top" , "<BR>" )
  // -- End Modifications --
// Get current cookie setting
var current=getCurrState()
function getCurrState() {
  var label = "currState="
  var labelLen = label.length
  var cLen = document.cookie.length
  var i = 0
  while (i < cLen) {
    var j = i + labelLen
    if (document.cookie.substring(i,j) == label) {
      var cEnd = document.cookie.indexOf(";",j)
      if (cEnd == -1) { cEnd = document.cookie.length }
      return unescape(document.cookie.substring(j,cEnd))
    }
    i++
  }
  return ""
}
// Add an entry to the database
function dbAdd(imagenum,parent,indent,image1,image2,image3,image4,imageh,imagew,URL,target,end) {
  db[total] = new Object;
  db[total].imagenum = imagenum
  db[total].parent = parent
  db[total].indent = indent
  db[total].image1 = image1
  db[total].image2 = image2
  db[total].image3 = image3
  db[total].image4 = image4
  db[total].imageh = imageh
  db[total].imagew = imagew
  db[total].URL = URL
  db[total].target = target
  db[total].end = end
  total++
  }
// toggles an outline parent entry, storing new value in the cookie
function toggle(n) {
  if (n != 0) {
    var newString = ""
    var expanded = current.substring(n-1,n) // of clicked item
    newString += current.substring(0,n-1)
    newString += expanded ^ 1 // Bitwise XOR clicked item
    newString += current.substring(n,current.length)
    setCurrState(newString) // write new state back to cookie
  }
}
// returns padded spaces (in mulTIPles of 2) for indenting
function pad(n) {
  var result = ""
  return result
}
// end -->
