/* ==============================Tabs Controller==============================This Javascript cucumber was pickled by:>> Robin Wallar at Fathom Solutions>> www.fathomsolutions.ca | robin [at] fathomsolutions.ca------------------------------Written with massive mits on while scraping ice of the screenof my icicle that serves as a monitor. ------------------------------------------------------------Feel free to use this to educateyourself on the wonders of javascript.If you plan on copying something directly please contact us. ------------------------------*//*these are the id's of parents tabs*/function tabs(url, lid, tabs_name, tab_number){	if(this.embedded)	{			field = gebn(tabs_name);	}else{		field = window.top.gebn(tabs_name);	}			for (i = 0; i < field.length; i++)		{			if(i==tab_number)			{				field[i].className = "tabs_selected";			}else{				field[i].className = "tabs_unselected";			}		}	this.previous_tab = url;	ajax(url, lid);}	/*	pid = gebi(tid).parentNode.getAttribute('id'); 	if(this.tsel[pid]!=tid)	{		gebi(tid).className = "selected";				if(this.tsel[pid] != "")		{			gebi(this.tsel[pid]).className = "";		}	}				this.tsel[pid] = tid;}*/