tim = {
    /*
    * @return void
    * @param e - is the id tag for the <a id='tab(x)' href> which is one of the
    * <li> tags which are one of the tabs.
    * @param n='tab_block' which is main div's className;
    */
	la: function(e,n){
		//e.blur();
        var f = document.getElementById(e); //f is the object for <a id='tab(x)' href> which is one of the <li> tags which are one of the tabs.
		var ul = f.parentNode.parentNode;
		var tc = f.parentNode.className; //tc is the <li> className which is clicked.
		var tn = document.getElementById(n); //n='tab_block' which is main div's className. This parent div tag contains all the divs for the tab info.
		tim.gc(ul.className,tn,"div")[0].style.display="none";
		tim.gc(tc,tn,"div")[0].style.display="";
		ul.className = tc; //change the <ul class=''> to match the <li class=''> that was just clicked.
	},
    /*********
    * @return array
    * @param sC - is, initially, the <ul> className or the <li> className
    * @param n - is the parent div tag which contains all the divs 
    * for the tab info;
    * @param t - always "div"
    * @access public
    * var els[] - div.tab1, div.tab2, div.tab3, etc.
    * Corresponding <li> classname and <div> classname must be the same.
    *********/
	gc: function(sC,n,t){
		if(n==null)n=document;			
		if(t==null)t='*';
		var cE=new Array();
		var els=n.getElementsByTagName(t); //t='div' passed as a parameter into function gc(); n is the parent <div> tag that contains all the other divs; thus, els is an array containing all the element <div> tags within the parent <div class='tab_block'>
		var elsLen=els.length;
		var p=new RegExp("(^|\\s)"+sC+"(\\s|$)");
		for(i=0,j=0;i<elsLen;i++){
            if(p.test(els[i].className)){ //p.test will test for matches of the classNames for <ul class=''> or <li class=''> with the classNames for the <div class=''> which are within the parent <div class='tab_block'>
                cE[j]=els[i]; //With the first tim.gc function call, the className of <div class=''> that matches with the className of <ul> will no longer be displayed. Then with the second tim.gc function call, the className of <div class=''> that matches with the className of <li> (that was just clicked) will be displayed.
                j++; //If there is more than one matching className of <div class=''> with className <ul class=''> or <li class=''>
            }
        }
		return cE;
	}	
};

