rem: if(document.getElementById(this.HTMLtabselectorID)) 
add:  if(document.getElementById(this.HTMLtabselectorID) && this.HTMLtabselectorID != '') 
context:   function init()   {    var tab = 0;    var regexp = new RegExp('(^|&)' + this.tabPageKey + '=[0-9]{1,2}');    var urlparams = window.location.search;    var urlparamstart = urlparams.search(regexp);       // getting the active tab from the tabPageKey (url/get-var) if set    if (this.tabPageKey && urlparamstart > -1)     {       urlparamstart = urlparamstart + ((urlparams[urlparamstart] == '&') ? 1 : 0);       var urlparam = urlparams.substr(urlparamstart,urlparams.length - urlparamstart);       var pos = urlparam.indexOf("&");       if (pos > -1)        {         urlparam = urlparam.substr(0,pos);        }       pos = urlparam.indexOf("=");       if (pos > -1)        {         var urlparamvalue = urlparam.substr(pos + 1,urlparam.length - (pos + 1));         tab = urlparamvalue;        }     }    else     {      // getting the active tab from the selector if set      if(document.getElementById(this.HTMLtabselectorID))       tab = document.getElementById(this.HTMLtabselectorID).selectedIndex+1;      else       tab = 1;     }    if ((tab <= 0) || (tab > this.nrTabs))     {      tab = 1;     }    this.display(tab);   }
meta: 7119	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7119/e30d095e712a049d07a6f5927cc1ac96d4935dac/tabs.js/clean/phpgwapi/js/tabs/tabs.js