<!--var total=1;var db = new Array();
// -- Enter Values Here --// 
Format: dbAdd(parent[true|false] , description, URL [blank for nohref], level , TARGET [blank for "content"], new? [1=yes])
dbAdd( false , "Home" , "index.htm" , 0 , "" , 0)
dbAdd( false , "News" , "news.htm" , 0 , "" , 0)
dbAdd( false , "Products" , "products.htm" , 0 , "" , 0)
dbAdd( false , "Prices" , "prices.htm" , 0 , "" , 0)
dbAdd( true , "Modules" , "" , 0 , "" , 0) 
dbAdd( false , "Automotive" , "module6.htm" , 1 , "" , 0) 
dbAdd( true , "Railway" , "module2.htm" , 1 , "" , 0)  
dbAdd( false , "Tools" , "tools.htm" , 2 , "" , 0)  
dbAdd( false , "Locomotive library" , "locobase.htm" , 2 , "" , 0)  
dbAdd( false , "Vehicle models" , "models.htm" , 2 , "" , 0)  
dbAdd( false , "Freight wagon" , "wagon.htm" , 2 , "" , 0) 
dbAdd( false , "Train" , "module8.htm" , 1 , "" , 0)   	
dbAdd( false , "Caterpillar" , "module11.htm" , 1 , "" , 0)   
dbAdd( false , "Flexible bodies" , "module5.htm" , 1 , "" , 0) 
dbAdd( false , "CAD interfaces" , "module9.htm" , 1 , "" , 0) 
dbAdd( false , "Optimization" , "module3.htm" , 1 , "" , 0) 
dbAdd( false , "Matlab/Simulink" , "module7.htm" , 1 , "" , 0) 
dbAdd( false , "Linear analysis" , "module1.htm" , 1 , "" , 0) 
dbAdd( false , "Subsystems" , "module4.htm" , 1 , "" , 0)
dbAdd( false , "Fatigue analysis" , "module10.htm" , 1 , "" , 0) 
dbAdd( false , "Granular media" , "granular.htm" , 1 , "" , 0) 
dbAdd( false , "3D Contact" , "3dcontact.htm" , 1 , "" , 0)

dbAdd( false, "Demonstrations" , "demo.htm" , 0 , "" , 0)
dbAdd( false, "Contacts" , "contacts.htm" , 0 , "" , 0)
dbAdd( false, "Download" , "download.htm" , 0 , "" , 0)
dbAdd( false, "Papers" , "publ.htm" , 0 , "" , 0)
dbAdd( false, "Forum" , "#" , 0 , "" , 0)
dbAdd( false, "Banners and advertising" , "banner.htm" , 0 , "" , 0)
dbAdd( false, "News subscription" , "subscription.htm" , 0 , "" , 0)
// dbAdd( false , "" , "" , 0 , "" , 0)
// -- End modifications --// 
Get current cookie settingvar 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 databasefunction dbAdd(mother,display,URL,indent,top,newitem) {  db[total] = new Object;  db[total].mother = mother  db[total].display = display  db[total].URL = URL  db[total].indent = indent  db[total].top = top  db[total].newitem = newitem  total++  }// Record current settings in cookiefunction setCurrState(setting) {  var expire = new Date();  expire.setTime(expire.getTime() + ( 7*24*60*60*1000 ) ); // expire in 1 week  document.cookie = "currState=" + escape(setting) + "; expires=" + expire.toGMTString();  }// toggles an outline mother entry, storing new value in the cookiefunction 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 indentingfunction pad(n) {  var result = ""  for (var i = 1; i <= n; i++) { result += "&nbsp;&nbsp;&nbsp;&nbsp;" }  return result}// Expand everythingfunction explode() {  current = "";  initState="";  for (var i = 1; i < db.length; i++) {    initState += "1"    current += "1"    }  setCurrState(initState);  history.go(0);  }// Collapse everythingfunction contract() {  current = "";  initState="";  for (var i = 1; i < db.length; i++) {    initState += "0"    current += "0"    }  setCurrState(initState);  history.go(0);  }function tree_close() {  window.parent.location = window.parent.content.location;  }// end -->